Akira Kitada added the comment:
With this patch applied, the example from issue15791 works fine.
$ echo "__author__ = u'Michele Orr\xf9'" > foo.py && ./python -c "import foo;
print foo.__author__; help(foo)"
Michele OrrĂ¹
Help on module foo:
NAME
foo
FILE
/tmp/cpython/foo.py
DATA
__author__ = u'Michele Orr\xf9'
AUTHOR
Michele OrrĂ¹
----------
_______________________________________
Python tracker <[email protected]>
<http://bugs.python.org/issue1065986>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe:
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com