GeezerVisonThe World Wide Web, restored to 800 pixels of glory. | |||
| Home|About|Gaming cabinet|Archives|How it works|Starter sites | |||
GeezerVison is showing github.com — bpo-40989: Move _Py_NewReference() to the internal C API by vstinner · Pull Request #20904 · python/cpython Conversation
|
|
I ran a quick test on Cython, numpy and lxml: all projects 3 builds successful. I had to backport a few patches for numpy, to fix another unrelated incompatible changes. I didn't run their test suite. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
I completed my PR to remove more functions:
|
Sorry, something went wrong.
There was an error while loading. Please reload this page.
Remove the _Py_NewReference() and _Py_ForgetReference() functions from the public C API: move them to the internal C API. Move with_tp_del() test function from the _testcapi module to the _testinternalcapi module.
|
This PR now only makes two (related) functions internals:
I rebased this PR on top of PR #20915 which made _PyTraceMalloc_NewReference() fully internal (don't export it anymore). I changed my mind on _Py_GetRefTotal(): for now, it's fine to keep it as a private function, since sys._gettotalrefcount() private function exists at the Python level. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
Successfully merging this pull request may close these issues.
There was an error while loading. Please reload this page.