Title: [3.6] bpo-32568: make select.epoll() and its docs consistent (GH-7840) by taleinat · Pull Request #8025 · python/cpython · GitHub
Open Graph Title: [3.6] bpo-32568: make select.epoll() and its docs consistent (GH-7840) by taleinat · Pull Request #8025 · python/cpython
X Title: [3.6] bpo-32568: make select.epoll() and its docs consistent (GH-7840) by taleinat · Pull Request #8025 · python/cpython
Description: flags is indeed deprecated, but there is a validation on its value for backwards compatibility reasons. This adds mention of this in the docs. The docs say that sizehint is deprecated and ignored, but it is still used when epoll_create1() is unavailable. This adds mention of this in the docs. sizehint=-1 is acceptable again, and is replaced with FD_SETSIZE-1. This is needed to have a default value available at the Python level, since FD_SETSIZE is not exposed to Python. (see: bpo-31938) Reject sizehint=0 since it is invalid to pass on to epoll_create(). The relevant tests have also been updated. (cherry picked from commit 0cdf5f4) https://bugs.python.org/issue32568
Open Graph Description: flags is indeed deprecated, but there is a validation on its value for backwards compatibility reasons. This adds mention of this in the docs. The docs say that sizehint is deprecated and ignored,...
X Description: flags is indeed deprecated, but there is a validation on its value for backwards compatibility reasons. This adds mention of this in the docs. The docs say that sizehint is deprecated and ignored,...
Opengraph URL: https://github.com/python/cpython/pull/8025
X: @github
Domain: github.com
| route-pattern | /:user_id/:repository/pull/:id/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:a6e9ade6-e891-689d-32d0-88050191a90d |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | EDB8:4F147:9EA5DF:D57EBF:69697E87 |
| html-safe-nonce | 5e94553efc08500dc2a1d60d3a83c07da11b61bc16697efc0d5bb4aac002bd2f |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFREI4OjRGMTQ3OjlFQTVERjpENTdFQkY6Njk2OTdFODciLCJ2aXNpdG9yX2lkIjoiMjA2NjM3MDM4Nzc2OTkxNzA2MyIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 55643776baacb16d1d5456b7d3d909370d450a955e976ea337a1ba254df91b17 |
| hovercard-subject-tag | pull_request:198475723 |
| 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/8025/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 | flags is indeed deprecated, but there is a validation on its value for backwards compatibility reasons. This adds mention of this in the docs. The docs say that sizehint is deprecated and ignored,... |
| 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