Title: bpo-40241: Add pycore_gc.h header file by vstinner · Pull Request #19494 · python/cpython · GitHub
Open Graph Title: bpo-40241: Add pycore_gc.h header file by vstinner · Pull Request #19494 · python/cpython
X Title: bpo-40241: Add pycore_gc.h header file by vstinner · Pull Request #19494 · python/cpython
Description: Move the PyGC_Head structure and the following private macros to the internal C API: _PyGCHead_FINALIZED() _PyGCHead_NEXT() _PyGCHead_PREV() _PyGCHead_SET_FINALIZED() _PyGCHead_SET_NEXT() _PyGCHead_SET_PREV() _PyGC_FINALIZED() _PyGC_PREV_MASK _PyGC_PREV_MASK_COLLECTING _PyGC_PREV_MASK_FINALIZED _PyGC_PREV_SHIFT _PyGC_SET_FINALIZED() _PyObject_GC_IS_TRACKED() _PyObject_GC_MAY_BE_TRACKED() _Py_AS_GC(o) Keep the private _PyGC_FINALIZED() macro in the public C API for backward compatibility with Python 3.8: make it an alias to the new PyObject_GC_IsFinalized() function. Move the SIZEOF_PYGC_HEAD constant from _testcapi module to _testinternalcapi module. https://bugs.python.org/issue40241
Open Graph Description: Move the PyGC_Head structure and the following private macros to the internal C API: _PyGCHead_FINALIZED() _PyGCHead_NEXT() _PyGCHead_PREV() _PyGCHead_SET_FINALIZED() _PyGCHead_SET_NEXT() _PyGCHea...
X Description: Move the PyGC_Head structure and the following private macros to the internal C API: _PyGCHead_FINALIZED() _PyGCHead_NEXT() _PyGCHead_PREV() _PyGCHead_SET_FINALIZED() _PyGCHead_SET_NEXT() _PyGCHea...
Opengraph URL: https://github.com/python/cpython/pull/19494
X: @github
Domain: github.com
| route-pattern | /:user_id/:repository/pull/:id/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:24d3d897-174e-3d49-2180-2a4ebe21f0bd |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | B890:8D103:12E066F:192DDA0:696AD7BB |
| html-safe-nonce | 30e34cf17ea1fdc0eb9d03f13158b9b6e5bde20b0edcde04ef13e3305f3d2408 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCODkwOjhEMTAzOjEyRTA2NkY6MTkyRERBMDo2OTZBRDdCQiIsInZpc2l0b3JfaWQiOiIzOTI2OTgwODYwNjkzODk1MDk5IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | dfc4537c29e0c72fc8c3f40c1eaa33e6fbd9c5a7a53887b78bc260c6f1c8e23a |
| hovercard-subject-tag | pull_request:402426433 |
| 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/19494/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 | Move the PyGC_Head structure and the following private macros to the internal C API: _PyGCHead_FINALIZED() _PyGCHead_NEXT() _PyGCHead_PREV() _PyGCHead_SET_FINALIZED() _PyGCHead_SET_NEXT() _PyGCHea... |
| 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 | 524a93f2c1f36522a3b4be4c110467ee4172245d |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width