summaryrefslogtreecommitdiffstats
path: root/Include/internal
diff options
context:
space:
mode:
authorYury Selivanov <yury@magic.io>2018-02-02 14:31:06 (GMT)
committerGitHub <noreply@github.com>2018-02-02 14:31:06 (GMT)
commit383b32fe108ea627699cc9c644fba5f8bae95d73 (patch)
treeca66e7a85e8cb517f3e2b8751cf0dcf92d4a4cfd /Include/internal
parentaa0735f597b072c0eb00404c4d7df359ddc26755 (diff)
downloadcpython-383b32fe108ea627699cc9c644fba5f8bae95d73.zip
cpython-383b32fe108ea627699cc9c644fba5f8bae95d73.tar.gz
cpython-383b32fe108ea627699cc9c644fba5f8bae95d73.tar.bz2
Revert "bpo-31356: Add context manager to temporarily disable GC GH-5495
This reverts commit 72a0d218dcc94a3cc409a9ef32dfcd5a7bbcb43c. The reverted commit had a few issues so it was unanimously decided to undo it. See the bpo issue for details.
Diffstat (limited to 'Include/internal')
-rw-r--r--Include/internal/mem.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/Include/internal/mem.h b/Include/internal/mem.h
index 4a84b4a..a731e30 100644
--- a/Include/internal/mem.h
+++ b/Include/internal/mem.h
@@ -116,7 +116,6 @@ struct _gc_runtime_state {
int enabled;
int debug;
- long disabled_threads;
/* linked lists of container objects */
struct gc_generation generations[NUM_GENERATIONS];
PyGC_Head *generation0;