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 skrah
Recipients gdr@garethrees.org, mark.dickinson, ncoghlan, pitrou, skrah, vstinner
Date 2014-02-07.20:55:08
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <20140207205507.GA17382@sleipnir.bytereef.org>
In-reply-to <1391800209.0.0.937116961296.issue20539@psf.upfronthosting.co.za>
Content
I slightly favor the ValueError patch because there is only a single exception
to catch. PyLong_AsUnsignedLong() also raises OverflowError for both positive
values that are too large and for negative values.

Perhaps the error message could contain the actual range of allowed values,
especially since LONG_MAX differs across platforms.

The drawback is that "outrageously" would have to go then. :)
History
Date User Action Args
2014-02-07 20:55:08skrahsetrecipients: + skrah, mark.dickinson, ncoghlan, pitrou, vstinner, gdr@garethrees.org
2014-02-07 20:55:08skrahlinkissue20539 messages
2014-02-07 20:55:08skrahcreate