-
-
Notifications
You must be signed in to change notification settings - Fork 30.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
os.fstat() fails on FAT32 file system on Windows #111856
Labels
Comments
zooba
pushed a commit
that referenced
this issue
Nov 13, 2023
miss-islington
pushed a commit
to miss-islington/cpython
that referenced
this issue
Nov 13, 2023
…tem (pythonGH-112038) (cherry picked from commit 29af736) Co-authored-by: AN Long <[email protected]>
Thanks for the report and the fix! |
zooba
pushed a commit
that referenced
this issue
Nov 13, 2023
…H-112038) (cherry picked from commit 29af736) Co-authored-by: AN Long <[email protected]>
aisk
added a commit
to aisk/cpython
that referenced
this issue
Feb 11, 2024
Glyphack
pushed a commit
to Glyphack/cpython
that referenced
this issue
Sep 2, 2024
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Bug report
Bug description:
This is Python 3.12.0 x64 running on Windows 11. On a FAT32 drive, I have a file
f.txt
.This error does not occur with Python 3.11.6. I suspect that the issue was introduced with #102149. 6031727 provided a fix for
os.stat()
, but it seems that an equivalent bug exists foros.fstat()
.I believe the fix would involve changing the line https://github.com/python/cpython/blob/74b868f636a8af9e5540e3315de666500147d47a/Python/fileutils.c#L1275C48-L1275C48 to account for the possibility that the file system does not support
FileIdInfo
.CPython versions tested on:
3.12
Operating systems tested on:
Windows
Linked PRs
The text was updated successfully, but these errors were encountered: