summaryrefslogtreecommitdiff
path: root/Python/pystate.c
diff options
context:
space:
mode:
authorVictor Stinner <vstinner@redhat.com>2019-06-25 03:01:08 +0200
committerGitHub <noreply@github.com>2019-06-25 03:01:08 +0200
commit36456df13843c5b8a1fb5a6022ab9ed1fe2a11c5 (patch)
tree72d392c36e3deeff6a76966ecffca4623a1e72d6 /Python/pystate.c
parent9fc720e5e4f772598013ea48a3f0d22b2b6b04fa (diff)
downloadcpython-git-36456df13843c5b8a1fb5a6022ab9ed1fe2a11c5.tar.gz
bpo-37392: Remove sys.setcheckinterval() (GH-14355)
Remove sys.getcheckinterval() and sys.setcheckinterval() functions. They were deprecated since Python 3.2. Use sys.getswitchinterval() and sys.setswitchinterval() instead. Remove also check_interval field of the PyInterpreterState structure.
Diffstat (limited to 'Python/pystate.c')
-rw-r--r--Python/pystate.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/Python/pystate.c b/Python/pystate.c
index 503b4bf854..1c3c0f44ed 100644
--- a/Python/pystate.c
+++ b/Python/pystate.c
@@ -203,7 +203,6 @@ PyInterpreterState_New(void)
memset(interp, 0, sizeof(*interp));
interp->id_refcount = -1;
- interp->check_interval = 100;
PyStatus status = PyConfig_InitPythonConfig(&interp->config);
if (_PyStatus_EXCEPTION(status)) {