[issue8128] String interpolation with unicode subclass fails to call __str__

Eric Smith report at bugs.python.org
Tue Apr 27 16:45:24 CEST 2010


Eric Smith <eric at trueblade.com> added the comment:

Yes, that's the cause, thanks for finding that issue. It's actually fixed in 3.1.2, I just hadn't updated my local copy.

Closing, since there's nothing to fix here. The 2.6 behavior is correct, and the 3.x behavior that was broken has been fixed.

----------
resolution:  -> duplicate
status: open -> closed
superseder:  -> __str__ cannot be overridden on unicode-derived classes

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


More information about the Python-bugs-list mailing list