Title: gh-83714: Set os.statx().stx_mode to None if missing from stx_mask by vstinner · Pull Request #140484 · python/cpython · GitHub
Open Graph Title: gh-83714: Set os.statx().stx_mode to None if missing from stx_mask by vstinner · Pull Request #140484 · python/cpython
X Title: gh-83714: Set os.statx().stx_mode to None if missing from stx_mask by vstinner · Pull Request #140484 · python/cpython
Description: Set stx_mode to None if STATX_TYPE|STATX_MODE is missing from stx_mask. Enhance os.statx() tests. statx_result structure: remove atime_sec, btime_sec, ctime_sec and mtime_sec members. Compute them on demand when stx_atime, stx_btime, stx_ctime and stx_mtime are read. Doc: fix statx members sorting. Issue: gh-83714 📚 Documentation preview 📚: https://cpython-previews--140484.org.readthedocs.build/
Open Graph Description: Set stx_mode to None if STATX_TYPE|STATX_MODE is missing from stx_mask. Enhance os.statx() tests. statx_result structure: remove atime_sec, btime_sec, ctime_sec and mtime_sec members. Compute them ...
X Description: Set stx_mode to None if STATX_TYPE|STATX_MODE is missing from stx_mask. Enhance os.statx() tests. statx_result structure: remove atime_sec, btime_sec, ctime_sec and mtime_sec members. Compute them ...
Opengraph URL: https://github.com/python/cpython/pull/140484
X: @github
Domain: github.com
| route-pattern | /:user_id/:repository/pull/:id/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:e0f5ef3c-8699-72f7-bdfd-4c912c91fb30 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | C8D2:33F819:1DE5AB1:28C20B4:6A537ED9 |
| html-safe-nonce | 6c0a0506ded955fa9dc71f92501cf92bc08bed14c6ee9b12b0867b604475658a |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDOEQyOjMzRjgxOToxREU1QUIxOjI4QzIwQjQ6NkE1MzdFRDkiLCJ2aXNpdG9yX2lkIjoiODMwNjQ3ODg3Njk0MDUzMzQ2NSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | ba1217b2b1a66b621c9adfc76fce2628eadec13c932fe80bf8516d301c91ebc2 |
| hovercard-subject-tag | pull_request:2938563733 |
| 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/140484/files |
| twitter:image | https://avatars.githubusercontent.com/u/194129?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/194129?s=400&v=4 |
| og:image:alt | Set stx_mode to None if STATX_TYPE|STATX_MODE is missing from stx_mask. Enhance os.statx() tests. statx_result structure: remove atime_sec, btime_sec, ctime_sec and mtime_sec members. Compute them ... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | b9a586c06a05a7a86fc7e3f4dbd03e42f6869085879aa184aa6369456dbd50fb |
| 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 | true |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 07a982c1d40157c619b364352b704c3ce66bb332 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width