Title: gh-145335: Fix os functions when passing fd -1 as path by vstinner · Pull Request #145439 · python/cpython · GitHub
Open Graph Title: gh-145335: Fix os functions when passing fd -1 as path by vstinner · Pull Request #145439 · python/cpython
X Title: gh-145335: Fix os functions when passing fd -1 as path by vstinner · Pull Request #145439 · python/cpython
Description: The Python programming language. Contribute to python/cpython development by creating an account on GitHub.
Open Graph Description: os.listdir(-1) and os.scandir(-1) now fail with OSError(errno.EBADF) rather than listing the current directory. os.listxattr(-1) now fails with OSError(errno.EBADF) rather than listing extended att...
X Description: os.listdir(-1) and os.scandir(-1) now fail with OSError(errno.EBADF) rather than listing the current directory. os.listxattr(-1) now fails with OSError(errno.EBADF) rather than listing extended att...
Opengraph URL: https://github.com/python/cpython/pull/145439
X: @github
Domain: github.com
| route-pattern | /:user_id/:repository/pull/:id/commits(.:format) |
| route-controller | pull_requests |
| route-action | commits |
| fetch-nonce | v2:d36188a1-47ef-db96-4537-e23bd10787fe |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | B96E:1FF3C2:1431F6E:1AECBDA:6A52AD66 |
| html-safe-nonce | 3a3a0942318ea5d1a2f2d27bb880cfbae4b9fe3f35491311c42046d62d868379 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCOTZFOjFGRjNDMjoxNDMxRjZFOjFBRUNCREE6NkE1MkFENjYiLCJ2aXNpdG9yX2lkIjoiNDc2NzE4ODk3NDc2OTk3NDYzMCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | eecfa23f8bf0d275285069d1d47c0b4c39f3e3485c6cfe629b693c85a631c323 |
| hovercard-subject-tag | pull_request:3345690899 |
| 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/145439/commits |
| twitter:image | https://opengraph.githubassets.com/2defc2c71ad0e3331b0a7cdfbba49e927264c96553f526b453fafa1c961bd138/python/cpython/pull/145439 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/2defc2c71ad0e3331b0a7cdfbba49e927264c96553f526b453fafa1c961bd138/python/cpython/pull/145439 |
| og:image:alt | os.listdir(-1) and os.scandir(-1) now fail with OSError(errno.EBADF) rather than listing the current directory. os.listxattr(-1) now fails with OSError(errno.EBADF) rather than listing extended att... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | vstinner |
| hostname | github.com |
| expected-hostname | github.com |
| None | b9a586c06a05a7a86fc7e3f4dbd03e42f6869085879aa184aa6369456dbd50fb |
| turbo-cache-control | no-cache |
| 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 |
| disable-turbo | false |
| 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