[Python-Dev] Import and unicode: part two

Simon Cross hodgestar+pythondev at gmail.com
Wed Jan 19 16:01:50 CET 2011


On Wed, Jan 19, 2011 at 2:34 PM, Victor Stinner
<victor.stinner at haypocalc.com> wrote:
>  (a) Python 3 doesn't support non-ASCII module names

-0: I'm vaguely against this being supported because I'd rather not
have to deal with what happens when the guess regarding the filesystem
encoding is wrong. On the other hand, a general encouragement to stick
to ASCII module names is probably functionally equivalent without
imposing a hard restriction.

>  (b) Python 3 doesn't support unencodable characters in the module path

+1: It'd be nice if Python could import modules regardless of what
folder names people happen to have on their module path.

Schiavo
Simon


More information about the Python-Dev mailing list