[issue5273] 3.0.1 crashes in unicode path

Musashi Tamura report at bugs.python.org
Sun Feb 15 12:26:13 CET 2009


New submission from Musashi Tamura <yuri.musashi.miwa.tamura at gmail.com>:

In unicode path Python 3.0.1 crashes when importing compiled module.
This does not happen on Python 3.0, new in 3.0.1.

Detailed Situation:
OS: win2000
current pathname contains Japanese characters.
./a.py contains only a statement "import b".
./b.py is empty.
> python a.py
(nothing is happen but b.pyc is created)
> python a.py
Traceback (most recent call last):
  File "a.py", line 1, in <module>
    import b
UnicodeDecodeError: 'utf8' codec can't decode byte 0x82 in position 3:
unexpected code byte

----------
components: Windows
messages: 82150
nosy: miwa
severity: normal
status: open
title: 3.0.1 crashes in unicode path
type: crash
versions: Python 3.0

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


More information about the Python-bugs-list mailing list