[issue19513] Use PyUnicodeWriter instead of PyAccu in repr(tuple) and repr(list)

Serhiy Storchaka report at bugs.python.org
Thu Nov 7 09:13:35 CET 2013


Serhiy Storchaka added the comment:

You shouldn't cache Py_SIZE(v) because it can be changed during iteration.

Due to benchmark results in issue15381 I afraid this patch will be much slower on Windows.

----------

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


More information about the Python-bugs-list mailing list