diff options
Diffstat (limited to 'Misc/NEWS.d')
-rw-r--r-- | Misc/NEWS.d/next/Core and Builtins/2017-10-16-14-27-25.bpo-31558.K-uRRm.rst | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/Misc/NEWS.d/next/Core and Builtins/2017-10-16-14-27-25.bpo-31558.K-uRRm.rst b/Misc/NEWS.d/next/Core and Builtins/2017-10-16-14-27-25.bpo-31558.K-uRRm.rst new file mode 100644 index 0000000..d502f15 --- /dev/null +++ b/Misc/NEWS.d/next/Core and Builtins/2017-10-16-14-27-25.bpo-31558.K-uRRm.rst @@ -0,0 +1,5 @@ +``gc.freeze()`` is a new API that allows for moving all objects currently +tracked by the garbage collector to a permanent generation, effectively +removing them from future collection events. This can be used to protect +those objects from having their PyGC_Head mutated. In effect, this enables +great copy-on-write stability at fork(). |