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-20.13:52:10
SpamBayes Score 1.2768814e-07
Marked as misclassified
Message-id <1295531534.54.0.609348665275.issue3080@psf.upfronthosting.co.za>
In-reply-to
内容
> Use "U" format to parse a module name, and "%R" to format a module name
> (to escape surrogates characters and add quotes, instead of 
> "... '%.200s' ...").

See also #8754: repr() is better than str() for other reasons, eg. to see a space at the end of a module name (__import__('space ')) thanks to the quotes.
历史
日期 用户 动作 参数
2011-01-20 13:52:14vstinner修改recipients: + vstinner, brett.cannon, georg.brandl, terry.reedy, amaury.forgeotdarc, ncoghlan, belopolsky, benjamin.peterson, eric.araujo, Arfrever, r.david.murray
2011-01-20 13:52:14vstinner修改messageid: <1295531534.54.0.609348665275.issue3080@psf.upfronthosting.co.za>
2011-01-20 13:52:10vstinner链接issue3080 messages
2011-01-20 13:52:10vstinner创建