Message132992
> Hum, I'm not sure that my patch works if the locale encoding is not
> UTF-8: import.c manipulates path in the filesystem encoding, whereas
> PyTokenizer_FindEncodingFilename() expects UTF-8 filename.
Thanks to my work on #3080, the import machinery (and other functions using Python modules and filenames) manipulates filenames as Unicode, and so I don't have to care about the filename encoding anymore.
6e9dc970ac0e (of issue #10785) fixed the crash, 7b8d625eb6e4 added the filename into the SyntaxError. |
|
Date |
User |
Action |
Args |
2011-04-04 23:56:17 | vstinner | set | recipients:
+ vstinner, pitrou, ron_adam, benjamin.peterson, r.david.murray, Trundle, skrah, lukasz.langa, python-dev |
2011-04-04 23:56:17 | vstinner | set | messageid: <1301961377.15.0.72336506667.issue9319@psf.upfronthosting.co.za> |
2011-04-04 23:56:16 | vstinner | link | issue9319 messages |
2011-04-04 23:56:16 | vstinner | create | |
|