summaryrefslogtreecommitdiffstats
path: root/Misc
diff options
context:
space:
mode:
authorWalter Dörwald <walter@livinglogic.de>2002-06-17 10:43:59 (GMT)
committerWalter Dörwald <walter@livinglogic.de>2002-06-17 10:43:59 (GMT)
commit3430d70e03fa3f7d93feb965a33dd2d2311c566d (patch)
treee9a3c6ffa1ddaa772a1654521f2081d8a56f812c /Misc
parent3fca291a52cae513b8f76851186f96ba5fe863d2 (diff)
downloadcpython-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/NEWS3
1 files changed, 3 insertions, 0 deletions
diff --git a/Misc/NEWS b/Misc/NEWS
index ff1e44d..12c42b6 100644
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -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