[issue1065986] Fix pydoc crashing on unicode strings

Akira Kitada report at bugs.python.org
Mon Sep 16 12:17:04 CEST 2013


Akira Kitada added the comment:

Attaching a modified version of issue1065986.patch.
The differences are:

- Added _binstr(), which is str() that works with unicode objects.
- Changed getdoc() to return encoded docstrings/comments
- Used _binstr() to convert __version__, __date__, __author__ and
  __credits__ to str

----------
Added file: http://bugs.python.org/file31793/issue1065986-2.patch

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


More information about the Python-bugs-list mailing list