]> granicus.if.org Git - python/commit
Close #11619: write_compiled_module() doesn't encode the filename
authorVictor Stinner <victor.stinner@haypocalc.com>
Wed, 20 Apr 2011 01:27:51 +0000 (03:27 +0200)
committerVictor Stinner <victor.stinner@haypocalc.com>
Wed, 20 Apr 2011 01:27:51 +0000 (03:27 +0200)
commit783c82c7013b4bda3f8a20d6d41b2960d59af3e6
treedba21a276be293cc6b935cb5076964831b1e6076
parentf48ac3001af82ad6e1e4dba364982435ba9e7047
Close #11619: write_compiled_module() doesn't encode the filename

Reimplement open_exclusive() using _wopen() to avoid encoding the filename to
the filesystem encoding: use the Unicode version of the Windows API.
Python/import.c