Message126613
> 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. |
|
Date |
User |
Action |
Args |
2011-01-20 13:52:14 | vstinner | set | 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:14 | vstinner | set | messageid: <1295531534.54.0.609348665275.issue3080@psf.upfronthosting.co.za> |
2011-01-20 13:52:10 | vstinner | link | issue3080 messages |
2011-01-20 13:52:10 | vstinner | create | |
|