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 vstinner
Recipients flox, vstinner
Date 2010-01-21.03:34:29
SpamBayes Score 0.0005169449
Marked as misclassified No
Message-id <1264044876.16.0.265310040409.issue7667@psf.upfronthosting.co.za>
In-reply-to
Content
There are 2 different issues:
 * doctest.DocTestRunner.report_failure() raise an unicode error if the source line type is unicode: _failure_header() should convert the line to bytes using ASCII with backslashreplace error handler (as sys.stderr)
 * traceback.print_tb() raises an unicode error if the source line type is unicode: same solution (ASCII+bashslashreplace)

See also #Issue7708.
History
Date User Action Args
2010-01-21 03:34:37vstinnersetrecipients: + vstinner, flox
2010-01-21 03:34:36vstinnersetmessageid: <1264044876.16.0.265310040409.issue7667@psf.upfronthosting.co.za>
2010-01-21 03:34:30vstinnerlinkissue7667 messages
2010-01-21 03:34:30vstinnercreate