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.

作者 vstinner
收信人 Arfrever, amaury.forgeotdarc, belopolsky, benjamin.peterson, brett.cannon, eric.araujo, georg.brandl, ncoghlan, r.david.murray, terry.reedy, vstinner
日期 2011-01-21.17:06:50
SpamBayes Score 7.0996093e-09
Marked as misclassified
Message-id <1295629615.09.0.951590822577.issue3080@psf.upfronthosting.co.za>
In-reply-to
内容
> but I'm going to have trouble diagnosing things that don't fail 
> on my development machine.

On Windows, try any character not encodable into your ANSI code page (eg. Ł with cp1252) in the module path and non-ASCII characters in the module name.

On Mac OS X, sorry, it already works.

On other OSes, set the locale to something else than UTF-8 (and than ASCII because ASCII is not very interesting) and try non-ASCII module names. The patch includes issue3080.py: set the locale to fr_FR.iso88591 to have ISO-8859-1 as locale encoding and try to load a module called 'issue3080\xE4'. U+00E4 is encoded to b'\xE4' in ISO-8859-1 and b'\xC3\xA4' to UTF-8.
历史
日期 用户 动作 参数
2011-01-21 17:06:55vstinner修改recipients: + vstinner, brett.cannon, georg.brandl, terry.reedy, amaury.forgeotdarc, ncoghlan, belopolsky, benjamin.peterson, eric.araujo, Arfrever, r.david.murray
2011-01-21 17:06:55vstinner修改messageid: <1295629615.09.0.951590822577.issue3080@psf.upfronthosting.co.za>
2011-01-21 17:06:50vstinner链接issue3080 messages
2011-01-21 17:06:50vstinner创建