Ezio Melotti <ezio.melo...@gmail.com> added the comment:

This change has been introduced in r79307 (see #7667).
The error seems to be raised because example.source is not unicode so it gets 
decoded implicitly before getting encoded with ascii+backslashreplace. I don't 
know if example.source is always supposed to be str or if the type might be 
different in some situations.

----------
components: +Library (Lib), Tests, Unicode
nosy: +ezio.melotti, flox
stage:  -> unit test needed

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue9409>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to