[issue32381] Python 3.6 cannot reopen .pyc file with non-ASCII path

Eryk Sun report at bugs.python.org
Wed Dec 20 06:31:49 EST 2017


Eryk Sun <eryksun at gmail.com> added the comment:

Workarounds: (1) force 3.6 to use the legacy ANSI filesystem encoding by setting the environment variable PYTHONLEGACYWINDOWSFSENCODING. (2) Use 8.3 DOS names, if creating them is enabled on the volume. You can check their value in CMD via `dir /x`. (3) Create alternative directory symbolic links or junctions with ASCII names via CMD's `mklink` command.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue32381>
_______________________________________


More information about the Python-bugs-list mailing list