[issue23466] PEP 461: Inconsistency between str and bytes formatting of integers

Serhiy Storchaka report at bugs.python.org
Thu Apr 2 20:30:35 CEST 2015


Serhiy Storchaka added the comment:

OverflowError is for platform limitations (such as the size of machine word or addressed space). When limits are well defined and platform-independent, ValueError or may be TypeError are considered as better types. It would be better to change OverflowError to ValueError or TypeError in formatting.

----------

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


More information about the Python-bugs-list mailing list