[issue8128] String interpolation with unicode subclass fails to call __str__
Steven D'Aprano
report at bugs.python.org
Sat Mar 20 11:04:37 CET 2010
Steven D'Aprano <steve+python at pearwood.info> added the comment:
I've assumed that the documentation is correct, and that "%s"%obj should call __str__ for unicode objects as well as everything else.
Attached in a test file.
----------
Added file: http://bugs.python.org/file16595/test_interpolation.py
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue8128>
_______________________________________
More information about the Python-bugs-list
mailing list