[issue5273] 3.0.1 crashes in unicode path
Hirokazu Yamamoto
report at bugs.python.org
Sun Feb 15 17:29:16 CET 2009
Hirokazu Yamamoto <ocean-city at 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 <report at bugs.python.org>
<http://bugs.python.org/issue5273>
_______________________________________
More information about the Python-bugs-list
mailing list