[issue23374] pydoc 3.x raises UnicodeEncodeError on sqlite3 package

Martin Panter report at bugs.python.org
Sun Feb 1 22:32:48 CET 2015


Martin Panter added the comment:

Maybe because a pager sends its bytes more-or-less straight throught from input to output, the PYTHONIOENCODING (sys.stdout.encoding?) should be used for the TextIOWrapper to the pager’s input in this case. I’m not so sure this should be assumed in general though.

----------
nosy: +vadmium

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


More information about the Python-bugs-list mailing list