[issue2517] Error when printing an exception containing a Unicode string
Nick Coghlan
report at bugs.python.org
Wed Jun 11 16:49:20 CEST 2008
Nick Coghlan <ncoghlan at gmail.com> added the comment:
I'm not sure adding a dedicated method slot would be worth the hassle
involved - Py3k drop backs to just the tp_str slot anyway, and the only
thing you gain with a tp_unicode slot over _PyType_Lookup of a
__unicode__ attribute is a small reduction in memory usage and a slight
speed increase.
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue2517>
_______________________________________
More information about the Python-bugs-list
mailing list