Hirokazu Yamamoto <ocean-c...@m2.ccsnet.ne.jp> added the comment:

I tracked down, and I found this mbcs path is set in Python/import.c(1394) 
find_module.

        if (PyUnicode_Check(v)) {
                v = PyUnicode_AsEncodedString(v, 
                    Py_FileSystemDefaultEncoding, NULL);
                if (v == NULL)
                        return NULL;
        }

And this was introduced in r64126 to fix segfault mentioned in
issue1342. I'm not understanding why segfault happened but, I feel this
issue is the part of big problem. (issue3080)

----------
dependencies: +Full unicode import system

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue5273>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to