[issue14744] Use _PyUnicodeWriter API in str.format() internals

Serhiy Storchaka report at bugs.python.org
Tue May 8 07:32:10 CEST 2012


Serhiy Storchaka <storchaka at gmail.com> added the comment:

> If this patch is accepted, it's more to go even deeper: use _PyUnicodeWriter in long_to_decimal_string() for example.

long_to_decimal_string() is already creates a string of known size. How
_PyUnicodeWriter can help here?

Issue3451 looks much more promising for int formatting. But it will take
a lot of time to carefully check this.

----------

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


More information about the Python-bugs-list mailing list