Mercurial > cpython-lru_cache-weakref
diff Python/pythonrun.c @ 23879:08475c87d24f legacy-trunk
Apply diff2.txt from SF patch http://www.python.org/sf/566999
This patch enhances Python/import.c/find_module() so
that unicode objects found in sys.path will be treated
as legal directory names (The current code ignores
anything that is not a str). The unicode name is
converted to str using Py_FileSystemDefaultEncoding.
| author | Walter Dörwald <walter@livinglogic.de> |
|---|---|
| date | Mon, 17 Jun 2002 10:43:59 +0000 |
| parents | 4f335ca3f11c |
| children | 8142f8d668a0 |
