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 <>
In-reply-to <>
> 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.
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