[pypy-issue] Issue #2870: os.listdir(...) on deep path on windows fails with errno 123 (pypy/pypy)

Ryuta Suzuki issues-reply at bitbucket.org
Thu Aug 16 01:43:08 EDT 2018


New issue 2870: os.listdir(...) on deep path on windows fails with errno 123
https://bitbucket.org/pypy/pypy/issues/2870/oslistdir-on-deep-path-on-windows-fails

Ryuta Suzuki:

Traceback (most recent call last):
  File "./test_list_long_path.py", line 7, in <module>
    names = os.listdir(path)
WindowsError: [Error 123] The filename, directory name, or volume label syntax is incorrect: \\?\C:\msys64\home\cd4mcq\packages\graal\graal\truffle\mxbuild\src\com.oracle.truffle.nfi.test\src_gen\com

This bug is fixed in CPython: https://bugs.python.org/issue32539




More information about the pypy-issue mailing list