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 mark.dickinson
Recipients ajaksu2, dingo, giampaolo.rodola, jyasskin, loewis, mark.dickinson, rhettinger
Date 2008-12-21.15:28:12
SpamBayes Score 0.00026044258
Marked as misclassified No
Message-id <1229873293.54.0.130816370062.issue4707@psf.upfronthosting.co.za>
In-reply-to
Content
Aha. The special result for round(x, 1-2**31) has nothing to do with this 
particular patch.  It's a consequence of:

#define UNDEF_NDIGITS (-0x7fffffff) /* Unlikely ndigits value */

in bltinmodule.c.  The same behaviour results for all types, not just 
ints.
History
Date User Action Args
2008-12-21 15:28:13mark.dickinsonsetrecipients: + mark.dickinson, loewis, rhettinger, giampaolo.rodola, ajaksu2, jyasskin, dingo
2008-12-21 15:28:13mark.dickinsonsetmessageid: <1229873293.54.0.130816370062.issue4707@psf.upfronthosting.co.za>
2008-12-21 15:28:12mark.dickinsonlinkissue4707 messages
2008-12-21 15:28:12mark.dickinsoncreate