diff options
author | 2019-06-25 03:01:08 +0200 | |
---|---|---|
committer | 2019-06-25 03:01:08 +0200 | |
commit | 36456df13843c5b8a1fb5a6022ab9ed1fe2a11c5 (patch) | |
tree | 72d392c36e3deeff6a76966ecffca4623a1e72d6 /Python/pystate.c | |
parent | bpo-4963: Fix for initialization and non-deterministic behavior issues in mim... (diff) | |
download | cpython-36456df13843c5b8a1fb5a6022ab9ed1fe2a11c5.tar.gz cpython-36456df13843c5b8a1fb5a6022ab9ed1fe2a11c5.tar.bz2 cpython-36456df13843c5b8a1fb5a6022ab9ed1fe2a11c5.zip |
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.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/Python/pystate.c b/Python/pystate.c index 503b4bf8549..1c3c0f44ed3 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)) { |