UnicodeError instead of UnicodeWarning

Michael Ströder michael at stroeder.com
Tue Oct 25 03:50:54 EDT 2011


HI!

For tracking the cause of a UnicodeWarning I'd like to make the Python
interpreter to raise an UnicodeError exception with full stack trace. Is there
a short trick to achieve this?

Many thanks in advance.

Ciao, Michael.



More information about the Python-list mailing list