Serhiy Storchaka added the comment:

We can convert cgitb.hook to produce ASCII-compatible output with charrefs in 
3.x. But there is a problem with str in 2.7. 8-bit string can contain non-ASCII 
data and the encoding is not known in general case.

----------

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

Reply via email to