[issue1583863] __str__ cannot be overridden on unicode-derived classes

STINNER Victor report at bugs.python.org
Mon Mar 30 13:45:55 CEST 2009


STINNER Victor <victor.stinner at haypocalc.com> added the comment:

Patch: Use PyUnicode_CheckExact() instead of PyUnicode_CheckExact() in 
PyUnicode_Format() to use obj.__unicode__ slot.

----------
keywords: +patch
Added file: http://bugs.python.org/file13467/format_unicode.patch

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


More information about the Python-bugs-list mailing list