徐洲 added the comment:
Oh... yes
this is fixed
thx a lot for u check out
___
Python tracker
<http://bugs.python.org/issue5422>
___
___
Python-bugs-list mailing list
Unsub
徐洲 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
<http://bugs.python.org/issue5
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 SYS