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-28.18:02:03
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <201212282001.48276.storchaka@gmail.com>
In-reply-to <1356689463.31.0.226007392897.issue16772@psf.upfronthosting.co.za>
Content
> Serhiy: can you clarify this remark?  Where do you see the OverflowError?
> The current exception and message look fine to me, so maybe I'm
> misunderstanding what you're talking about:

Sorry, I have been confused (and confuse you) by the variety of PyLong_As* and 
PyNumber_* functions. Now I see PyNumber_AsSsize_t(x, NULL) doesn't raise 
OverflowError but truncates its argument.

The patch LGTM.
History
Date User Action Args
2012-12-28 18:02:03serhiy.storchakasetrecipients: + serhiy.storchaka, georg.brandl, gregory.p.smith, mark.dickinson, ezio.melotti, chris.jerdonek, python-dev
2012-12-28 18:02:03serhiy.storchakalinkissue16772 messages
2012-12-28 18:02:03serhiy.storchakacreate