[issue1065986] Fix pydoc crashing on unicode strings

David Barnett report at bugs.python.org
Sun Nov 11 09:22:29 CET 2012


David Barnett added the comment:

I guess it must be more complicated than it looks, because I thought checking for unicode strings and doing .encode('utf-8') would help at least some cases without making anything worse.

Anyways, if it's too hard or not worth fixing "correctly", couldn't we at least do something to prevent a crash? Maybe strip out / replace special characters and try again?

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue1065986>
_______________________________________


More information about the Python-bugs-list mailing list