- Python Home
- About
- News
- Documentation
- Downloads
- Community
- Foundation
- Developer's Guide
- Issue Tracker
- Issues
- Summaries
- User
- Administration
- Help
➜
This issue tracker has been migrated to GitHub,
and is currently read-only.
For more information,
see the GitHub FAQs in the Python's Developer Guide.
| Author | Zé Vinícius |
|---|---|
| Recipients | Zé Vinícius, r.david.murray |
| Date | 2017-09-27.00:40:57 |
| SpamBayes Score | -1.0 |
| Marked as misclassified | Yes |
| Message-id | <CAB6kXFyyuPZWwin9o4BPswm688RbLpmyLWOd9vP3O1e3-FzdNg@mail.gmail.com> |
| In-reply-to | <1506472558.22.0.661875040323.issue31599@psf.upfronthosting.co.za> |
| Content |
|---|
Hi R. David Murray, doctest compares strings, so "-0.0" is not the same as "0.0" to doctest Thank you. That explains why "-0.0 == 0.0" is True to Python, but False to doctest. Cheers, Zé On Tue, Sep 26, 2017 at 5:35 PM, R. David Murray <report@bugs.python.org> wrote: > > R. David Murray added the comment: > > To be clear: doctest compares strings, so "-0.0" is not the same as "0.0" > to doctest. > > ---------- > > _______________________________________ > Python tracker <report@bugs.python.org> > <https://bugs.python.org/issue31599> > _______________________________________ > |
| History | |||
|---|---|---|---|
| Date | User | Action | Args |
| 2017-09-27 00:40:58 | Zé Vinícius | set | recipients: + Zé Vinícius, r.david.murray |
| 2017-09-27 00:40:58 | Zé Vinícius | link | issue31599 messages |
| 2017-09-27 00:40:57 | Zé Vinícius | create |
Powered by Roundup Copyright © 1990-2022, Python Software Foundation
Legal Statements
