| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
Sorry, something went wrong.
Add _PyTypes_FiniTypes(): best-effort function to clear static types, don't deallocate a type if it still has subclasses. remove_subclass() now sets tp_subclasses to NULL when removing the last subclass.
|
Using PR #30744, the effect of this PR is quite clear on the total reference count after Py_Finalize():
This PR removes 5319 references. With the PR, there are 2.1x less references leaked after Py_Finalize()! |
Sorry, something went wrong.
|
_PyTypes_FiniTypes() is tested (indirectly) by multiple test_embed tests which use many of the cleared types after Py_Finalize(). |
Sorry, something went wrong.
⚠️⚠️⚠️ Buildbot failure ⚠️⚠️⚠️Hi! The buildbot s390x Debian 3.x has failed when building commit 595225e. What do you need to do:
You can take a look at the buildbot page here: https://buildbot.python.org/all/#builders/49/builds/1789 Failed tests:
Summary of the results of the build (if available): == Click to see traceback logsTraceback (most recent call last):
File "/home/dje/cpython-buildarea/3.x.edelsohn-debian-z/build/Lib/multiprocessing/resource_tracker.py", line 209, in main
cache[rtype].remove(name)
^^^^^^^^^^^^^^^^^^^^^^^^^
KeyError: '/psm_b32ae02e'
Traceback (most recent call last):
File "/home/dje/cpython-buildarea/3.x.edelsohn-debian-z/build/Lib/multiprocessing/resource_tracker.py", line 209, in main
cache[rtype].remove(name)
^^^^^^^^^^^^^^^^^^^^^^^^^
KeyError: '/psm_bb4f5e76'
|
Sorry, something went wrong.
| Back | FazBrowse Home | New Git URL |
Add _PyTypes_FiniTypes(): best-effort function to clear static types,
don't deallocate a type if it still has subclasses.
remove_subclass() now sets tp_subclasses to NULL when removing the
last subclass.
https://bugs.python.org/issue46417