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/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:377a377b-7b68-43b9-c78c-53fcf323ab0e |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | C98E:81D4B:225E1E:307716:696A06E2 |
| html-safe-nonce | 4c00c61e34999b58eba1a3bc6c1093409071f07b7f6864591587309aba6012ed |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDOThFOjgxRDRCOjIyNUUxRTozMDc3MTY6Njk2QTA2RTIiLCJ2aXNpdG9yX2lkIjoiMTI5MjYyNzMyNjQwNjM2Mjg1MCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 8d515abfb37aa67818fa5f9c856fd0ffc838d464abf264cc2cad25635f8b6b6c |
| hovercard-subject-tag | pull_request:398780940 |
| 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/19375/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 | 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 | 578c119ff0247c8b2f2491fbf4fc0395cdf909d4df66598cebdc96ddfc4418dc |
| 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 | 671c2f67171dbced24284331f3133a613d08c366 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width