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 serhiy.storchaka
Recipients chris.jerdonek, ezio.melotti, georg.brandl, gregory.p.smith, mark.dickinson, python-dev, serhiy.storchaka
Date 2012-12-27.06:48:49
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1356590930.05.0.185251610607.issue16772@psf.upfronthosting.co.za>
In-reply-to
Content
But you have "if (!PyLong_Check(obase))" check before. Only ints acceptable. The only difference with previous code is that now OverflowError raised for large bases instead of ValueError. int.__round__ doesn't produce OverflowError.

In any case the final version of those changes should be applied to 3.2 and 3.3 too (if no one objects).
History
Date User Action Args
2012-12-27 06:48:50serhiy.storchakasetrecipients: + serhiy.storchaka, georg.brandl, gregory.p.smith, mark.dickinson, ezio.melotti, chris.jerdonek, python-dev
2012-12-27 06:48:50serhiy.storchakasetmessageid: <1356590930.05.0.185251610607.issue16772@psf.upfronthosting.co.za>
2012-12-27 06:48:50serhiy.storchakalinkissue16772 messages
2012-12-27 06:48:49serhiy.storchakacreate