[issue4352] imp.find_module() causes UnicodeDecodeError with non-ASCII search paths

Jukka Aho report at bugs.python.org
Wed Nov 19 06:17:46 CET 2008


New submission from Jukka Aho <jukka.aho at iki.fi>:

imp.find_module() seems to cause an UnicodeDecodeError when the path
list contains paths with non-ASCII names. Tested on Windows [1]; see the
attached test case which demonstrates the problem.

[1] Python 3.0rc2 (r30rc2:67141, Nov  7 2008, 11:43:46) [MSC v.1500 32
bit (Intel)] on win32

----------
components: Library (Lib), Unicode, Windows
files: find_module.py
messages: 76038
nosy: Jukka Aho
severity: normal
status: open
title: imp.find_module() causes UnicodeDecodeError with non-ASCII search paths
type: behavior
versions: Python 3.0
Added file: http://bugs.python.org/file12055/find_module.py

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue4352>
_______________________________________


More information about the Python-bugs-list mailing list