[issue6102] When the package has non-ascii path and .pyc file, we cannot import them.

Ezio Melotti report at bugs.python.org
Tue May 26 12:05:01 CEST 2009


Ezio Melotti <ezio.melotti at gmail.com> added the comment:

Your problem could be related to #3297, but katakana characters don't
have a codepoint greater than U+FFFF so it could be something else.
(What is the value of sys.maxunicode there though?)

I tried your script on Linux with Python3.1b1 and en_US.UTF-8 but I
wasn't able to reproduce the issue.
I ran the script from the terminal with "python3 test.py" twice and it
worked both the time (is this the correct way to use the script?).
Can you try with Python3.1 and see if it works?

I also tried to create a directory called デスクトップ with an
__init__.py in it, I imported it and reloaded and it worked properly,
even when the .pyc was there.

If you delete the .pyc an reload the script again, does it work?

(Next time upload the files separately, it's easier for us to see them.)

----------
components: +Unicode -None
nosy: +ezio.melotti

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


More information about the Python-bugs-list mailing list