diff options
author | Walter Dörwald <walter@livinglogic.de> | 2002-06-17 10:43:59 (GMT) |
---|---|---|
committer | Walter Dörwald <walter@livinglogic.de> | 2002-06-17 10:43:59 (GMT) |
commit | 3430d70e03fa3f7d93feb965a33dd2d2311c566d (patch) | |
tree | e9a3c6ffa1ddaa772a1654521f2081d8a56f812c /Misc | |
parent | 3fca291a52cae513b8f76851186f96ba5fe863d2 (diff) | |
download | cpython-3430d70e03fa3f7d93feb965a33dd2d2311c566d.zip cpython-3430d70e03fa3f7d93feb965a33dd2d2311c566d.tar.gz cpython-3430d70e03fa3f7d93feb965a33dd2d2311c566d.tar.bz2 |
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.
Diffstat (limited to 'Misc')
-rw-r--r-- | Misc/NEWS | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -6,6 +6,9 @@ Type/class unification and new-style classes Core and builtins +- Unicode objects in sys.path are no longer ignored but treated + as directory names. + - The built-ins slice() and buffer() are now callable types. The types classobj (formerly class), code, function, instance, and instancemethod (formerly instance-method), which have no built-in |