russiavk <[email protected]> added the comment:
Sorry.I found it only happen in pypy3
My os is win10 64,and pypy version is "PyPy 7.3.6-alpha0 with MSC v.1929 64 bit"
File "C:\Program
Files\pypy-c-jit-102746-9515a976b2ea-win64\lib-python\3\pathlib.py", line 1229,
in read_bytes
with self.open(mode='rb') as f:
File "C:\Program
Files\pypy-c-jit-102746-9515a976b2ea-win64\lib-python\3\pathlib.py", line 1223,
in open
opener=self._opener)
File "C:\Program
Files\pypy-c-jit-102746-9515a976b2ea-win64\lib-python\3\pathlib.py", line 1078,
in _opener
return self._accessor.open(self, flags, mode)
FileNotFoundError: [Errno 2] No such file or directory:
WindowsPath('D:/somepath contains chinese character')
----------
versions: +Python 3.7
_______________________________________
Python tracker <[email protected]>
<https://bugs.python.org/issue44898>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe:
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com