Title: gh-106320: Remove private _PyObject C API by vstinner · Pull Request #107147 · python/cpython · GitHub
Open Graph Title: gh-106320: Remove private _PyObject C API by vstinner · Pull Request #107147 · python/cpython
X Title: gh-106320: Remove private _PyObject C API by vstinner · Pull Request #107147 · python/cpython
Description: Move private debug _PyObject functions to the internal C API (pycore_object.h): _PyDebugAllocatorStats() _PyObject_CheckConsistency() _PyObject_DebugTypeStats() _PyObject_IsFreed() No longer export most of these functions, except of _PyObject_IsFreed(). Move test functions using _PyObject_IsFreed() from _testcapi to _testinternalcapi. check_pyobject_is_freed() test no longer catch _testcapi.error: the tested function cannot raise _testcapi.error. Issue: gh-106320
Open Graph Description: Move private debug _PyObject functions to the internal C API (pycore_object.h): _PyDebugAllocatorStats() _PyObject_CheckConsistency() _PyObject_DebugTypeStats() _PyObject_IsFreed() No longer expo...
X Description: Move private debug _PyObject functions to the internal C API (pycore_object.h): _PyDebugAllocatorStats() _PyObject_CheckConsistency() _PyObject_DebugTypeStats() _PyObject_IsFreed() No longer expo...
Opengraph URL: https://github.com/python/cpython/pull/107147
X: @github
Domain: github.com
| route-pattern | /:user_id/:repository/pull/:id/checks(.:format) |
| route-controller | pull_requests |
| route-action | checks |
| fetch-nonce | v2:ffcbf971-91aa-013c-9e4c-b736457147cb |
| current-catalog-service-hash | 87dc3bc62d9b466312751bfd5f889726f4f1337bdff4e8be7da7c93d6c00a25a |
| request-id | 8A3A:347527:277D87:370C11:696A0742 |
| html-safe-nonce | 94c72f4aea78f1d96408ffe1e03aa2504c1b5b39e59ceb3459db71f11ddcff53 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4QTNBOjM0NzUyNzoyNzdEODc6MzcwQzExOjY5NkEwNzQyIiwidmlzaXRvcl9pZCI6Ijc5OTY3MzgwMzMyNDQ4MzM2MDIiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | aa7dd9ad05ced950eb5ff55841622ee30b682c8cc3bf7289284b8eae77843b15 |
| hovercard-subject-tag | pull_request:1445719065 |
| 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/107147/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 | Move private debug _PyObject functions to the internal C API (pycore_object.h): _PyDebugAllocatorStats() _PyObject_CheckConsistency() _PyObject_DebugTypeStats() _PyObject_IsFreed() No longer expo... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | 578c119ff0247c8b2f2491fbf4fc0395cdf909d4df66598cebdc96ddfc4418dc |
| 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 | 671c2f67171dbced24284331f3133a613d08c366 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width