[issue1065986] Fix pydoc crashing on unicode strings

Akira Kitada report at bugs.python.org
Tue Sep 17 16:30:18 CEST 2013


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 <report at bugs.python.org>
<http://bugs.python.org/issue1065986>
_______________________________________


More information about the Python-bugs-list mailing list