diff options
author | Victor Stinner <vstinner@redhat.com> | 2019-06-25 01:01:08 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-06-25 01:01:08 (GMT) |
commit | 36456df13843c5b8a1fb5a6022ab9ed1fe2a11c5 (patch) | |
tree | 72d392c36e3deeff6a76966ecffca4623a1e72d6 /Include | |
parent | 9fc720e5e4f772598013ea48a3f0d22b2b6b04fa (diff) | |
download | cpython-36456df13843c5b8a1fb5a6022ab9ed1fe2a11c5.zip cpython-36456df13843c5b8a1fb5a6022ab9ed1fe2a11c5.tar.gz cpython-36456df13843c5b8a1fb5a6022ab9ed1fe2a11c5.tar.bz2 |
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 'Include')
-rw-r--r-- | Include/internal/pycore_pystate.h | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/Include/internal/pycore_pystate.h b/Include/internal/pycore_pystate.h index 68a72d8..0f92f67 100644 --- a/Include/internal/pycore_pystate.h +++ b/Include/internal/pycore_pystate.h @@ -82,9 +82,6 @@ struct _is { PyObject *builtins; PyObject *importlib; - /* Used in Python/sysmodule.c. */ - int check_interval; - /* Used in Modules/_threadmodule.c. */ long num_threads; /* Support for runtime thread stack size tuning. |