Title: gh-91768: C API no longer use "const PyObject*" type by vstinner · Pull Request #91769 · python/cpython · GitHub
Open Graph Title: gh-91768: C API no longer use "const PyObject*" type by vstinner · Pull Request #91769 · python/cpython
X Title: gh-91768: C API no longer use "const PyObject*" type by vstinner · Pull Request #91769 · python/cpython
Description: Py_REFCNT(), Py_TYPE(), Py_SIZE() and Py_IS_TYPE() functions argument type is now "PyObject*", rather than "const PyObject*". Replace also "const PyObject*" with "PyObject*" in functions: _Py_strhex_impl() _Py_strhex_with_sep() _Py_strhex_bytes_with_sep() Remove _PyObject_CAST_CONST() and _PyVarObject_CAST_CONST() macros Py_IS_TYPE() can now use Py_TYPE() in its implementation
Open Graph Description: Py_REFCNT(), Py_TYPE(), Py_SIZE() and Py_IS_TYPE() functions argument type is now "PyObject*", rather than "const PyObject*". Replace also "const PyObject*" with &qu...
X Description: Py_REFCNT(), Py_TYPE(), Py_SIZE() and Py_IS_TYPE() functions argument type is now "PyObject*", rather than "const PyObject*". Replace also "const PyOb...
Opengraph URL: https://github.com/python/cpython/pull/91769
X: @github
Domain: github.com
| route-pattern | /:user_id/:repository/pull/:id/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:29e8ebfb-75cd-6713-cfc9-1dc5fec8f998 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | A2E6:10503:C2C08D:FAFC5D:696AFE3C |
| html-safe-nonce | df29b9aeae5ca57bcc155882016a3f288926b5ce4dbad636510f1b24b72bc340 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBMkU2OjEwNTAzOkMyQzA4RDpGQUZDNUQ6Njk2QUZFM0MiLCJ2aXNpdG9yX2lkIjoiMzk4OTI4NDIzNjExMDI2NTkxNiIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 666ae98528c87c4f730a510117c40c28e9d53c9cfc36f53ba626f43acb2516d4 |
| hovercard-subject-tag | pull_request:914765271 |
| 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/91769/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 | Py_REFCNT(), Py_TYPE(), Py_SIZE() and Py_IS_TYPE() functions argument type is now "PyObject*", rather than "const PyObject*". Replace also "const PyObject*" with &qu... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | 5f99f7c1d70f01da5b93e5ca90303359738944d8ab470e396496262c66e60b8d |
| 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 | 82560a55c6b2054555076f46e683151ee28a19bc |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width