Author vstinner
Recipients Arfrever, amaury.forgeotdarc, belopolsky, benjamin.peterson, brett.cannon, eric.araujo, georg.brandl, ncoghlan, r.david.murray, terry.reedy, vstinner
Date 2011-01-20.13:52:10
SpamBayes Score 1.27688e-07
Marked as misclassified No
Message-id <1295531534.54.0.609348665275.issue3080@psf.upfronthosting.co.za>
In-reply-to
Content
> 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.
History
Date User Action Args
2011-01-20 13:52:14vstinnersetrecipients: + vstinner, brett.cannon, georg.brandl, terry.reedy, amaury.forgeotdarc, ncoghlan, belopolsky, benjamin.peterson, eric.araujo, Arfrever, r.david.murray
2011-01-20 13:52:14vstinnersetmessageid: <1295531534.54.0.609348665275.issue3080@psf.upfronthosting.co.za>
2011-01-20 13:52:10vstinnerlinkissue3080 messages
2011-01-20 13:52:10vstinnercreate