commit | 3cc481b9de43c234889c8010e7da3af7c0f42319 | [log] [tgz] |
---|---|---|
author | scoder <stefan_ml@behnel.de> | Wed Apr 28 18:12:16 2021 +0200 |
committer | GitHub <noreply@github.com> | Wed Apr 28 18:12:16 2021 +0200 |
tree | 1166babff0120ad235c37789907d640eec280c8f | |
parent | baecfbd849dbf42360d3a84af6cc13160838f24d [diff] |
bpo-28254: Add a C-API for controlling the GC state (GH-25687) Add new C-API functions to control the state of the garbage collector: PyGC_Enable(), PyGC_Disable(), PyGC_IsEnabled(), corresponding to the functions in the gc module. Co-authored-by: Pablo Galindo <Pablogsal@gmail.com> Co-authored-by: Victor Stinner <vstinner@python.org>