STINNER Victor <vstin...@python.org> added the comment:

I can reproduce the issue on Python 3.10 with a script called 北京市.py which 
contains: print("hello").

c:\> python 北京市.py
hello

c:\>python __pycache__\北京市.cpython-310.pyc
python: Can't reopen .pyc file

And with my PR 23642 fix, it works as expected:

C:\>python __pycache__\北京市.cpython-310.pyc
hello

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<https://bugs.python.org/issue32381>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to