[Python-Dev] Import and unicode: part two

Brett Cannon brett at python.org
Wed Jan 19 19:42:02 CET 2011


On Wed, Jan 19, 2011 at 10:38, Alexander Belopolsky
<alexander.belopolsky at gmail.com> wrote:
> On Wed, Jan 19, 2011 at 1:23 PM, Brett Cannon <brett at python.org> wrote:
> ..
>>>>  (a) Python 3 doesn't support non-ASCII module names
> ..
>> -0 from me (unless the Unicode variable naming PEP says otherwise).
>>
>
> I am not sure what exactly is not supported.  On my OSX system:

Victor said this is a Windows-specific issue.

-Brett

>
> $ ./python.exe
> Python 3.2b2+ ..
>
>>>> import саша
>>>> саша.foo
> 42
>>>> from саша import foo
>>>> foo
> 42
>
>
> PEP 3131 does not distinguish between different types of identifiers,
> so I think it assumes that non-ascii module names should be supported.
>
> +1 on fixing any remaining bugs
>


More information about the Python-Dev mailing list