summaryrefslogtreecommitdiffstats
path: root/Misc
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>2009-03-30 22:01:35 (GMT)
committerGuido van Rossum <guido@python.org>2009-03-30 22:01:35 (GMT)
commit0ad59d467d06c8c9dce81658f4f278783cb70b9f (patch)
treeca638bf1bcfbb669d1cbfaa899fe0831990b86c4 /Misc
parenteaaec27b6ed3e01675af083fa9c6c1687c1b3847 (diff)
downloadcpython-0ad59d467d06c8c9dce81658f4f278783cb70b9f.zip
cpython-0ad59d467d06c8c9dce81658f4f278783cb70b9f.tar.gz
cpython-0ad59d467d06c8c9dce81658f4f278783cb70b9f.tar.bz2
Issue #5604: non-ASCII characters in module name passed to
imp.find_module() were converted to UTF-8 while the path is converted to the default filesystem encoding, causing nonsense. Thanks to Andrew Svetlov. (This time to the right branch. Will block duplicate merge to 3.0.2.)
Diffstat (limited to 'Misc')
-rw-r--r--Misc/ACKS1
-rw-r--r--Misc/NEWS4
2 files changed, 5 insertions, 0 deletions
diff --git a/Misc/ACKS b/Misc/ACKS
index 85a443b..03ed92d 100644
--- a/Misc/ACKS
+++ b/Misc/ACKS
@@ -688,6 +688,7 @@ Nathan Sullivan
Mark Summerfield
Hisao Suzuki
Kalle Svensson
+Andrew Svetlov
Paul Swartz
Thenault Sylvain
Geoff Talvola
diff --git a/Misc/NEWS b/Misc/NEWS
index f2888be..a12b8ea 100644
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -12,6 +12,10 @@ What's New in Python 3.1 alpha 2?
Core and Builtins
-----------------
+- Issue #5604: non-ASCII characters in module name passed to
+ imp.find_module() were converted to UTF-8 while the path is
+ converted to the default filesystem encoding, causing nonsense.
+
- Issue #5126: str.isprintable() returned False for space characters.
- Issue #4688: Add a heuristic so that tuples and dicts containing only