diff options
author | Pablo Galindo Salgado <Pablogsal@gmail.com> | 2022-10-08 14:57:09 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-10-08 14:57:09 (GMT) |
commit | 83eb827247dd28b13fd816936c74c162e9f52a2d (patch) | |
tree | 40a8abf0018f178eeadd976ad4cba326f9a86029 /Doc | |
parent | c66dbddfbaa374a6954897809574ee9fb463e393 (diff) | |
download | cpython-83eb827247dd28b13fd816936c74c162e9f52a2d.zip cpython-83eb827247dd28b13fd816936c74c162e9f52a2d.tar.gz cpython-83eb827247dd28b13fd816936c74c162e9f52a2d.tar.bz2 |
gh-97922: Run the GC only on eval breaker (#97920)
Diffstat (limited to 'Doc')
-rw-r--r-- | Doc/whatsnew/3.12.rst | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/Doc/whatsnew/3.12.rst b/Doc/whatsnew/3.12.rst index f873974..341e851 100644 --- a/Doc/whatsnew/3.12.rst +++ b/Doc/whatsnew/3.12.rst @@ -93,6 +93,13 @@ Other Language Changes when parsing source code containing null bytes. (Contributed by Pablo Galindo in :gh:`96670`.) +* The Garbage Collector now runs only on the eval breaker mechanism of the + Python bytecode evaluation loop instead on object allocations. The GC can + also run when :c:func:`PyErr_CheckSignals` is called so C extensions that + need to run for a long time without executing any Python code also have a + chance to execute the GC periodically. (Contributed by Pablo Galindo in + :gh:`97922`.) + New Modules =========== |