[issue15988] Inconsistency in overflow error messages of integer argument

Serhiy Storchaka report at bugs.python.org
Fri Jul 15 07:31:55 EDT 2016


Serhiy Storchaka added the comment:

You plan looks good, Oren.

I meant what you are planning in the last two items. There are also specific functions for converting to platform-depending integer types (size_t, time_t, uid_t, etc). Two most common patterns: "Python int too large to convert to C long" and "signed short integer is less/greater than maximum". Grep all code for raising OverflowError.

----------
versions: +Python 3.6 -Python 3.4

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


More information about the Python-bugs-list mailing list