[issue11145] '%o' % user-defined instance

Serhiy Storchaka report at bugs.python.org
Wed Nov 30 04:47:59 EST 2016


Serhiy Storchaka added the comment:

Good catch Armin! Thank you for your review.

Updated patch uses PyString_AsStringAndSize() and adds a check that result is exact str before changing it in-place.

----------
Added file: http://bugs.python.org/file45701/issue11145_5.patch

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


More information about the Python-bugs-list mailing list