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 gregory.p.smith
Recipients christian.heimes, gregory.p.smith, mark.dickinson, tim.peters
Date 2013-08-14.17:03:29
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1376499809.56.0.429051073303.issue18739@psf.upfronthosting.co.za>
In-reply-to
Content
We found this while refactoring an API to be more consistent about returning longs vs ints in specific cases.  This resulted in another unittest that was using math.log for a nicer display of the value by magnitude to fail as the result was slightly different for the two input types.

arguably that is a fragile test as it cares about the last couple bits of a float... but that such a test exists does suggest that making a future 2.7.6+ release more pedantic about the behavior on values that safely fit into a double might break an odd test or three out there.  OTOH, it makes things more consistent all around and match 3.x in both cases so I'm still be for doing it.
History
Date User Action Args
2013-08-14 17:03:29gregory.p.smithsetrecipients: + gregory.p.smith, tim.peters, mark.dickinson, christian.heimes
2013-08-14 17:03:29gregory.p.smithsetmessageid: <1376499809.56.0.429051073303.issue18739@psf.upfronthosting.co.za>
2013-08-14 17:03:29gregory.p.smithlinkissue18739 messages
2013-08-14 17:03:29gregory.p.smithcreate