Serg Asminog <akudov...@gmail.com> added the comment:

dirname = 'A-Za-z\xc4\xd6\xdc\xe4\xf6\xfc\xdf'

Traceback (most recent call last):
  File "D:\temp\python bug\test.py", line 19, in <module>
    file_object, file_path, description = imp.find_module(basename, [dirname])
UnicodeEncodeError: 'mbcs' codec can't encode characters in position 0--1: 
invalid character

----------
nosy: +Serg.Asminog
Added file: http://bugs.python.org/file23891/test.py

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue4352>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to