Author vstinner
Recipients Tianjg, ZackerySpytz, eryksun, ezio.melotti, izbyshev, paul.moore, steve.dower, tianjg, tim.golden, vstinner, zach.ware
Date 2020-12-04.16:39:38
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1607099978.84.0.000241005240972.issue32381@roundup.psfhosted.org>
In-reply-to
Content
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
History
Date User Action Args
2020-12-04 16:39:38vstinnersetrecipients: + vstinner, paul.moore, tim.golden, ezio.melotti, zach.ware, eryksun, steve.dower, izbyshev, ZackerySpytz, Tianjg, tianjg
2020-12-04 16:39:38vstinnersetmessageid: <1607099978.84.0.000241005240972.issue32381@roundup.psfhosted.org>
2020-12-04 16:39:38vstinnerlinkissue32381 messages
2020-12-04 16:39:38vstinnercreate