This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author christoph
Recipients christoph, ggenellina
Date 2009-08-05.11:29:47
SpamBayes Score 1.1359965e-07
Marked as misclassified No
Message-id <1249471790.69.0.749062705879.issue6625@psf.upfronthosting.co.za>
In-reply-to
Content
Here is a diff for test/test_pydoc.py (against Python2.6) which though
doesn't trigger due to how Python handles output encoding. This test
here will pass, but pydoc will still fail:

$ pydoc test/pydoc_mod.py > /dev/null
Traceback (most recent call last):
  File "/usr/bin/pydoc", line 5, in <module>
    pydoc.cli()
  File "/usr/lib/python2.5/pydoc.py", line 2226, in cli
    help.help(arg)
  File "/usr/lib/python2.5/pydoc.py", line 1691, in help
    else: doc(request, 'Help on %s:')
  File "/usr/lib/python2.5/pydoc.py", line 1482, in doc
    pager(title % desc + '\n\n' + text.document(object, name))
  File "/usr/lib/python2.5/pydoc.py", line 1300, in pager
    pager(text)
  File "/usr/lib/python2.5/pydoc.py", line 1398, in plainpager
    sys.stdout.write(plain(text))
UnicodeEncodeError: 'ascii' codec can't encode character u'\xfc' in
position 936: ordinal not in range(128)
History
Date User Action Args
2009-08-05 11:29:51christophsetrecipients: + christoph, ggenellina
2009-08-05 11:29:50christophsetmessageid: <1249471790.69.0.749062705879.issue6625@psf.upfronthosting.co.za>
2009-08-05 11:29:49christophlinkissue6625 messages
2009-08-05 11:29:49christophcreate