[Python-Dev] Import and unicode: part two

Alexander Belopolsky alexander.belopolsky at gmail.com
Thu Jan 20 06:02:04 CET 2011


On Wed, Jan 19, 2011 at 9:07 PM, Toshio Kuratomi <a.badger at gmail.com> wrote:
..
> Do you have a solution to the problem?  I haven't looked at your patch so
> perhaps you have an ingenous method of translating from the unicode
> representation of the module in the import statement to the bytes in
> arbitrary encodings on the filesystem that I haven't thought of.

If I understand what Victor's patch does correctly, it allows Python
on Windows to bypass translation from Unicode to bytes by using
Windows "wide character" APIs.


More information about the Python-Dev mailing list