Message124558
p3k_i9313.diff is just a workaround, not the correct fix. The problem is that PyTokenizer_FindEncoding() doesn't get the filename.
I wrote tokenizer_encoding_filename.patch which add PyTokenizer_FindEncodingFilename() and patch import.c and traceback.c to pass the filename.
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.
See this patch as a draft, I will try to fix the encoding issue. |
|
Date |
User |
Action |
Args |
2010-12-23 17:26:46 | vstinner | set | recipients:
+ vstinner, pitrou, ron_adam, benjamin.peterson, r.david.murray, Trundle, skrah |
2010-12-23 17:26:45 | vstinner | set | messageid: <1293125205.71.0.782264589112.issue9319@psf.upfronthosting.co.za> |
2010-12-23 17:26:42 | vstinner | link | issue9319 messages |
2010-12-23 17:26:42 | vstinner | create | |
|