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 georg.brandl
Recipients docs@python, eli.bendersky, georg.brandl, giampaolo.rodola, ncoghlan, terry.reedy
Date 2011-02-25.08:08:39
SpamBayes Score 0.008958701
Marked as misclassified No
Message-id <1298621320.41.0.351652990717.issue11015@psf.upfronthosting.co.za>
In-reply-to
Content
The divmod() part of the patch is wrong: assertAlmostEqual does not support tuple arguments.

The test succeeds because it first does an exact equality check, which apparently is true on your platform.  But if it wasn't, you'd get TypeErrors.

Also, fcmp() has a different definition of what "almost equal" means, but I assume this has been regarded in the discussion.
History
Date User Action Args
2011-02-25 08:08:40georg.brandlsetrecipients: + georg.brandl, terry.reedy, ncoghlan, giampaolo.rodola, eli.bendersky, docs@python
2011-02-25 08:08:40georg.brandlsetmessageid: <1298621320.41.0.351652990717.issue11015@psf.upfronthosting.co.za>
2011-02-25 08:08:39georg.brandllinkissue11015 messages
2011-02-25 08:08:39georg.brandlcreate