summaryrefslogtreecommitdiffstats
path: root/Doc/whatsnew/3.12.rst
diff options
context:
space:
mode:
Diffstat (limited to 'Doc/whatsnew/3.12.rst')
-rw-r--r--Doc/whatsnew/3.12.rst7
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
===========