[issue1867] patch for pydoc to work in py3k

Santiago Gala report at bugs.python.org
Fri Jan 18 20:44:01 CET 2008


New submission from Santiago Gala:

Basically I'm finding to simple errors:

 * an iterable where it expects a list, I solved it using a simple list
comprehension on the original iterable
 * it tries to write a string to the socket, I used "UTF-8" both in the
Content-Type header and in the conversion to bytes. It could easyly be
parameterized.

This two changes enabled me to get a basic pydoc running.

----------
components: Documentation
files: pydoc.patch
messages: 60112
nosy: sgala
severity: normal
status: open
title: patch for pydoc to work in py3k
versions: Python 3.0
Added file: http://bugs.python.org/file9204/pydoc.patch

__________________________________
Tracker <report at bugs.python.org>
<http://bugs.python.org/issue1867>
__________________________________


More information about the Python-bugs-list mailing list