[issue23466] PEP 461: Inconsistency between str and bytes formatting of integers
Serhiy Storchaka
report at bugs.python.org
Fri Apr 3 08:04:12 CEST 2015
Serhiy Storchaka added the comment:
Here is a patch that makes bytes formatting raise an OverflowError if integer argument of %c is out of range.
----------
Added file: http://bugs.python.org/file38812/bytes_format_overflow.patch
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue23466>
_______________________________________
More information about the Python-bugs-list
mailing list