homepage

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 belopolsky
Recipients belopolsky, doerwalter, ncoghlan, vstinner
Date 2010年11月05日.18:22:08
SpamBayes Score 3.7944727e-09
Marked as misclassified No
Message-id <1288981332.97.0.556899891266.issue10329@psf.upfronthosting.co.za>
In-reply-to
Content
I don't think trace.diff is proposed for commit. I see it more as a supporting file for diagnosing the problem.
I see two problems here:
1. Apparently OP's system opens files with encoding set to 'ascii' by default. This is not the case on any of the systems I have access to (OSX and Linux). I will try to reproduce this issue by setting LANG="en_US.ascii".
2. Regrtest attempts to write a no-ascii character into the trace results file. I suspect this comes from test cases that test import from modules with non-ascii name or with non-ascii identifiers.
I am not sure there is anything we need to change here other than possibly skip tests that use non-ascii identifiers of the systems with default encoding set to ascii. I would be +0 on adding errors='replace' or 'backshlashreplace' to the open() call in write_results_file(), but hardcoding encoding="utf-8" is definitely not the right thing to do.
History
Date User Action Args
2010年11月05日 18:22:13belopolskysetrecipients: + belopolsky, doerwalter, ncoghlan, vstinner
2010年11月05日 18:22:12belopolskysetmessageid: <1288981332.97.0.556899891266.issue10329@psf.upfronthosting.co.za>
2010年11月05日 18:22:08belopolskylinkissue10329 messages
2010年11月05日 18:22:08belopolskycreate

AltStyle によって変換されたページ (->オリジナル) /