Closed jknockel closed 1 year ago
I suspect that https://github.com/python/cpython/pull/102149 may have introduced an incompatibility with Windows 7. I'll see if I can add a patch that fixes this.
It turns out that this bug is not isolated to Windows 7. Any file system or OS that does not support the FileIdInfo argument to GetFileInformationByHandleEx() will trigger this error. The error happens on Windows 7 because the OS does not support FileIdInfo
. The error also happens on recent versions of Windows with the official Python 3.12.0 release if the file is on a FAT32 or exFAT file system.
I reported the bug at https://github.com/python/cpython/issues/111856. In the meantime I will rebuild Python 3.12.0 with a fix.
I have uploaded a fixed version of Python 3.12.0.
Here is an example reproducer:
I did not observe this issue with python 3.11.