Serhiy Storchaka <storchaka+cpyt...@gmail.com> added the comment:

I suppose there is a similar issue in Python 3 with bytes default.

Using unicode() in Python 2 will make the help string an Unicode string, and 
this can cause an issue with translated help string. And this will cause an 
issue with non-ASCII 8-bit strings.

Using repr() looks a right way of solving such issues, but this will change the 
output for 8-bit strings.

----------
nosy: +serhiy.storchaka

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

Reply via email to