[issue25349] Use _PyBytesWriter for bytes%args
STINNER Victor
report at bugs.python.org
Fri Oct 9 12:57:51 EDT 2015
STINNER Victor added the comment:
bytes_formatlong.patch: Fast-path for b'%d' % int and other integer formatters. It avoids the creation of a temporary bytes object, it writes directly into the writer, as '%d' % int (Unicode).
----------
Added file: http://bugs.python.org/file40732/bytes_formatlong.patch
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue25349>
_______________________________________
More information about the Python-bugs-list
mailing list