Title: bpo-40170: Remove PyIndex_Check() macro by vstinner · Pull Request #19375 · python/cpython · GitHub
Open Graph Title: bpo-40170: Remove PyIndex_Check() macro by vstinner · Pull Request #19375 · python/cpython
X Title: bpo-40170: Remove PyIndex_Check() macro by vstinner · Pull Request #19375 · python/cpython
Description: Always declare PyIndex_Check() as an opaque function to hide implementation details: remove PyIndex_Check() macro. The macro accessed directly PyTypeObject.tp_as_number field which prevented to make PyTypeObject structure opaque. https://bugs.python.org/issue40170
Open Graph Description: Always declare PyIndex_Check() as an opaque function to hide implementation details: remove PyIndex_Check() macro. The macro accessed directly PyTypeObject.tp_as_number field which prevented to mak...
X Description: Always declare PyIndex_Check() as an opaque function to hide implementation details: remove PyIndex_Check() macro. The macro accessed directly PyTypeObject.tp_as_number field which prevented to mak...
Opengraph URL: https://github.com/python/cpython/pull/19375
X: @github
Domain: github.com
| route-pattern | /:user_id/:repository/pull/:id/checks(.:format) |
| route-controller | pull_requests |
| route-action | checks |
| fetch-nonce | v2:d6ded429-4e39-8009-75a2-9a7ac75b3588 |
| current-catalog-service-hash | 87dc3bc62d9b466312751bfd5f889726f4f1337bdff4e8be7da7c93d6c00a25a |
| request-id | A5CE:4BD90:10DA3CE:178F0C8:696A36D8 |
| html-safe-nonce | 20dcd0729ce61edce46a14cd97305af525bc74429f73a7c47e88a72fe98a73b0 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBNUNFOjRCRDkwOjEwREEzQ0U6MTc4RjBDODo2OTZBMzZEOCIsInZpc2l0b3JfaWQiOiI4MjcyNDQ3MjkxMjM4NTI4NzI4IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 67ef65373f20dc0cacbf13ae2971a77bcb40524d75359dc535808885ef16b9b4 |
| hovercard-subject-tag | pull_request:398780940 |
| github-keyboard-shortcuts | repository,pull-request-list,pull-request-conversation,pull-request-files-changed,checks,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/19375/checks |
| 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 | Always declare PyIndex_Check() as an opaque function to hide implementation details: remove PyIndex_Check() macro. The macro accessed directly PyTypeObject.tp_as_number field which prevented to mak... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | 321736bfdb3f591415ae895a0459bec204b26a76caf47ba5c980634cfacc4538 |
| turbo-cache-control | no-preview |
| 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 full-width-p-0 |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 7a9163cefd1ea4bd06f8eb7c082f43e4e53f626f |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width