summaryrefslogtreecommitdiffstats
path: root/Misc
diff options
context:
space:
mode:
authorPablo Galindo <Pablogsal@gmail.com>2018-01-29 20:37:09 (GMT)
committerRaymond Hettinger <rhettinger@users.noreply.github.com>2018-01-29 20:37:09 (GMT)
commit72a0d218dcc94a3cc409a9ef32dfcd5a7bbcb43c (patch)
treedce812414bdc6029522a92a6afd10dd00fdc8f06 /Misc
parent0cd6bca65519109a8a7862d38ba1b8924e432a16 (diff)
downloadcpython-72a0d218dcc94a3cc409a9ef32dfcd5a7bbcb43c.zip
cpython-72a0d218dcc94a3cc409a9ef32dfcd5a7bbcb43c.tar.gz
cpython-72a0d218dcc94a3cc409a9ef32dfcd5a7bbcb43c.tar.bz2
bpo-31356: Add context manager to temporarily disable GC (GH-4224)
Diffstat (limited to 'Misc')
-rw-r--r--Misc/NEWS.d/next/Core and Builtins/2017-11-02-00-34-42.bpo-31356.54Lb8U.rst3
1 files changed, 3 insertions, 0 deletions
diff --git a/Misc/NEWS.d/next/Core and Builtins/2017-11-02-00-34-42.bpo-31356.54Lb8U.rst b/Misc/NEWS.d/next/Core and Builtins/2017-11-02-00-34-42.bpo-31356.54Lb8U.rst
new file mode 100644
index 0000000..792f314
--- /dev/null
+++ b/Misc/NEWS.d/next/Core and Builtins/2017-11-02-00-34-42.bpo-31356.54Lb8U.rst
@@ -0,0 +1,3 @@
+Add a new contextmanager to the gc module that temporarily disables the GC
+and restores the previous state. The implementation is done in C to assure
+atomicity and speed.