[issue5422] load pyc file with mbcs file system in update_compiled_module

2009-03-05 Thread Hirokazu Yamamoto
Changes by Hirokazu Yamamoto : -- dependencies: -3.0.1 crashes in unicode path superseder: -> 3.0.1 crashes in unicode path ___ Python tracker ___ __

[issue5422] load pyc file with mbcs file system in update_compiled_module

2009-03-05 Thread Hirokazu Yamamoto
Changes by Hirokazu Yamamoto : -- dependencies: +3.0.1 crashes in unicode path resolution: -> duplicate status: open -> closed ___ Python tracker ___

[issue5422] load pyc file with mbcs file system in update_compiled_module

2009-03-05 Thread 徐洲
徐洲 added the comment: Oh... yes this is fixed thx a lot for u check out ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue5422] load pyc file with mbcs file system in update_compiled_module

2009-03-05 Thread Hirokazu Yamamoto
Hirokazu Yamamoto added the comment: I believe this issue is duplicate of issue5273, and fixed yesterday. Can you try latest svn checkout? -- nosy: +ocean-city ___ Python tracker ___

[issue5422] load pyc file with mbcs file system in update_compiled_module

2009-03-05 Thread 徐洲
徐洲 added the comment: if directory have chinese word under windows system load .py is passed load .pyc get the utf-8 codec error... i modified this code wish this is helpful... ___ Python tracker __

[issue5422] load pyc file with mbcs file system in update_compiled_module

2009-03-05 Thread 徐洲
New submission from 徐洲 : py3k 3.01 static int update_compiled_module(PyCodeObject *co, char *pathname) { PyObject *oldname, *newname; if (!PyUnicode_CompareWithASCIIString(co->co_filename, pathname)) return 0; /* string pathname related with FILE SYSTEM !!! *