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 vstinner
Recipients David.Edelsohn, delhallt, haubi, python-dev, serhiy.storchaka, vstinner
Date 2013-12-13.10:13:02
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1386929582.81.0.395382067417.issue17919@psf.upfronthosting.co.za>
In-reply-to
Content
> The disadvantage of 'H' is that it never raises OverflowError.

The correct fix is to write a new parser just for this function.

See for example uint_converter() in Modules/zlibmodule.c. I would prefer to add such new parser to Python/getargs.c directly, but I was not motivated when I fixed #18294 (integer overflow in the zlib module).
History
Date User Action Args
2013-12-13 10:13:02vstinnersetrecipients: + vstinner, haubi, python-dev, serhiy.storchaka, David.Edelsohn, delhallt
2013-12-13 10:13:02vstinnersetmessageid: <1386929582.81.0.395382067417.issue17919@psf.upfronthosting.co.za>
2013-12-13 10:13:02vstinnerlinkissue17919 messages
2013-12-13 10:13:02vstinnercreate