Title: gh-111856: fix os.fstat on windows with fat32 and exfat filesystem by aisk · Pull Request #112038 · python/cpython · GitHub
Open Graph Title: gh-111856: fix os.fstat on windows with fat32 and exfat filesystem by aisk · Pull Request #112038 · python/cpython
X Title: gh-111856: fix os.fstat on windows with fat32 and exfat filesystem by aisk · Pull Request #112038 · python/cpython
Description: The change is just like #104892.
I think this is hard to test this on GHA, since it needs a disk with fat32 or exfat filesystem. I made a test on my local machine, the drive "E://" is a fat32 filesystem.
Test codes:
import os
f = open("e://a.jpg")
print(os.stat(f.fileno()))
f.close()
Before the comit:
C:\Users\xxxxx\Source\cpython>python a.py
Running Debug|x64 interpreter...
Traceback (most recent call last):
File "C:\Users\xxxxx\Source\cpython\a.py", line 4, in
Open Graph Description: The change is just like #104892. I think this is hard to test this on GHA, since it needs a disk with fat32 or exfat filesystem. I made a test on my local machine, the drive "E://" is a f...
X Description: The change is just like #104892. I think this is hard to test this on GHA, since it needs a disk with fat32 or exfat filesystem. I made a test on my local machine, the drive "E://"...
Opengraph URL: https://github.com/python/cpython/pull/112038
X: @github
Domain: github.com
| route-pattern | /:user_id/:repository/pull/:id/commits/:range(.:format) |
| route-controller | pull_requests |
| route-action | commits |
| fetch-nonce | v2:696fe8bf-72ae-1cfe-e7cd-e43b42fed4f3 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | BE92:3BA63C:1C1067B:27703AD:699729F3 |
| html-safe-nonce | 35d12643116206472add73165e01f02bcb312af436fcb5592c1916acd0f05e1c |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCRTkyOjNCQTYzQzoxQzEwNjdCOjI3NzAzQUQ6Njk5NzI5RjMiLCJ2aXNpdG9yX2lkIjoiODcxMDUwMDQzMzIxMzcyOTI2NyIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 987d622289030f28a0b923209f9cd15f99b70868cb287da94c3da0fe8288c688 |
| hovercard-subject-tag | pull_request:1598990729 |
| github-keyboard-shortcuts | repository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/python/cpython/pull/112038/commits/101b49a35297b0b35d943c3af8b9d0f4f6ca4276 |
| twitter:image | https://avatars.githubusercontent.com/u/699636?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/699636?s=400&v=4 |
| og:image:alt | The change is just like #104892. I think this is hard to test this on GHA, since it needs a disk with fat32 or exfat filesystem. I made a test on my local machine, the drive "E://" is a f... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | 7e6af791057690a60ffd9f5bb19a1e7b7637429945357211e6d6d09f15f081ae |
| turbo-cache-control | no-preview |
| diff-view | unified |
| go-import | github.com/python/cpython git https://github.com/python/cpython.git |
| octolytics-dimension-user_id | 1525981 |
| octolytics-dimension-user_login | python |
| octolytics-dimension-repository_id | 81598961 |
| octolytics-dimension-repository_nwo | python/cpython |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 81598961 |
| octolytics-dimension-repository_network_root_nwo | python/cpython |
| turbo-body-classes | logged-out env-production page-responsive full-width |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 130554a977f1d6328840e1d48b33fb0b1e61db9a |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width