Larry Hastings added the comment:
Actually, here's another data point to consider. The underlying implementation
of PyArg_Parse* is the function convertsimple() in Python/getargs.c. For all
the non-bitwise integer format units ('bhi'), if they overflow or underflow the
native integer they raise OverflowError.
----------
_______________________________________
Python tracker <[email protected]>
<http://bugs.python.org/issue20260>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe:
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com