[issue17919] AIX POLLNVAL definition causes problems

STINNER Victor report at bugs.python.org
Fri Dec 13 11:13:02 CET 2013


STINNER Victor added the comment:

> 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).

----------
nosy: +haypo

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue17919>
_______________________________________


More information about the Python-bugs-list mailing list