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 vstinner
Date 2010-04-17.13:39:49
SpamBayes Score 1.2071992e-05
Marked as misclassified No
Message-id <1271511593.69.0.166956245853.issue8430@psf.upfronthosting.co.za>
In-reply-to
Content
r80137 (PEP 3147) introduced a test in test_site. The test fails on non-ASCII directory because stdout uses ASCII whereas the directories contains non-ASCII characters.

http://www.python.org/dev/buildbot/builders/AMD64 Ubuntu wide 3.x/builds/848

Attached patch is a workaround to this issue. The path is encoded to ASCII using backslashreplace error handler. But the patch is not perfect, it should use the reverse operation to get the path as an unicode string. But I don't know how to implement the reverse operation of .encode("ascii", "backslashreplace").
History
Date User Action Args
2010-04-17 13:39:53vstinnersetrecipients: + vstinner
2010-04-17 13:39:53vstinnersetmessageid: <1271511593.69.0.166956245853.issue8430@psf.upfronthosting.co.za>
2010-04-17 13:39:51vstinnerlinkissue8430 messages
2010-04-17 13:39:51vstinnercreate