Title: bpo-32568: make select.epoll() and its docs consistent by taleinat · Pull Request #7840 · python/cpython · GitHub
Open Graph Title: bpo-32568: make select.epoll() and its docs consistent by taleinat · Pull Request #7840 · python/cpython
X Title: bpo-32568: make select.epoll() and its docs consistent by taleinat · Pull Request #7840 · python/cpython
Description: The docs for select.epoll() are currently out of sync with the implementation with regard to the sizehint and flags parameters. flags is indeed deprecated, but there was a validation on its value, contrary to the docs saying it is "completely ignored". This removes that check. sizehint is still used when epoll_create1() is unavailable, so this adds mention of this in the docs. Make sizehint accept -1 again, which is replaced with FD_SETSIZE-1. This is needed to have a default value available at the Python level allowing to set this, since FD_SETSIZE is not exposed to Python. (see: bpo-31938) https://bugs.python.org/issue32568
Open Graph Description: The docs for select.epoll() are currently out of sync with the implementation with regard to the sizehint and flags parameters. flags is indeed deprecated, but there was a validation on its value,...
X Description: The docs for select.epoll() are currently out of sync with the implementation with regard to the sizehint and flags parameters. flags is indeed deprecated, but there was a validation on its value,...
Opengraph URL: https://github.com/python/cpython/pull/7840
X: @github
Domain: github.com
| route-pattern | /:user_id/:repository/pull/:id/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:57e62653-b4c2-2e31-aa03-0ae0875613eb |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | AEF2:3244AB:405C64:565D86:69697E74 |
| html-safe-nonce | 7867fb7f83ecf81409e8d2667f095ce7fbbdcee7167da25ae71a7251a3f9901d |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBRUYyOjMyNDRBQjo0MDVDNjQ6NTY1RDg2OjY5Njk3RTc0IiwidmlzaXRvcl9pZCI6IjY2OTM4NDI4ODQ5MTEyNjc0NDQiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 3daff8fd4f4a77823e86e2990622dd0e949f585a1fb1ed4f7704974074b209db |
| hovercard-subject-tag | pull_request:196350471 |
| 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/7840/files |
| twitter:image | https://avatars.githubusercontent.com/u/532281?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/532281?s=400&v=4 |
| og:image:alt | The docs for select.epoll() are currently out of sync with the implementation with regard to the sizehint and flags parameters. flags is indeed deprecated, but there was a validation on its value,... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | f33e4b94c8824ab2b434d82a94139432fb5ebee9df4b75304140ad22508c4a77 |
| 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 | 48f380098b30acbb700b04f1724481ca10d574fc |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width