[issue2517] Error when printing an exception containing a Unicode string

Marc-Andre Lemburg report at bugs.python.org
Wed Jun 11 16:33:58 CEST 2008


Marc-Andre Lemburg <mal at egenix.com> added the comment:

On 2008-06-11 16:15, Nick Coghlan wrote:
> Nick Coghlan <ncoghlan at gmail.com> added the comment:
> 
> Minor cleanup of Simon's patch attached - aside from a couple of
> unneeded whitespace changes, it all looks good to me.
> 
> Not checking it in yet, since it isn't critical for this week's beta
> release - I'd prefer to leave it until after that has been dealt with.
> 
> Added file: http://bugs.python.org/file10585/exception-unicode-with-type-fetch-no-whitespace-changes.diff

That approach is fine as well.

I still like the idea to add a tp_unicode slot, though, since that's
still missing for C extension types to benefit from.

Perhaps we can have both ?!

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


More information about the Python-bugs-list mailing list