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.

Author vstinner
Recipients Trundle, benjamin.peterson, lukasz.langa, pitrou, python-dev, r.david.murray, ron_adam, skrah, vstinner
Date 2011-04-04.23:56:16
SpamBayes Score 7.660539e-15
Marked as misclassified No
Message-id <1301961377.15.0.72336506667.issue9319@psf.upfronthosting.co.za>
In-reply-to
Content
> 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.
History
Date User Action Args
2011-04-04 23:56:17vstinnersetrecipients: + vstinner, pitrou, ron_adam, benjamin.peterson, r.david.murray, Trundle, skrah, lukasz.langa, python-dev
2011-04-04 23:56:17vstinnersetmessageid: <1301961377.15.0.72336506667.issue9319@psf.upfronthosting.co.za>
2011-04-04 23:56:16vstinnerlinkissue9319 messages
2011-04-04 23:56:16vstinnercreate