]> granicus.if.org Git - python/commit
bpo-37392: Remove sys.setcheckinterval() (GH-14355)
authorVictor Stinner <vstinner@redhat.com>
Tue, 25 Jun 2019 01:01:08 +0000 (03:01 +0200)
committerGitHub <noreply@github.com>
Tue, 25 Jun 2019 01:01:08 +0000 (03:01 +0200)
commit36456df13843c5b8a1fb5a6022ab9ed1fe2a11c5
tree72d392c36e3deeff6a76966ecffca4623a1e72d6
parent9fc720e5e4f772598013ea48a3f0d22b2b6b04fa
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.
Doc/library/sys.rst
Doc/whatsnew/3.9.rst
Include/internal/pycore_pystate.h
Lib/test/test_sys.py
Misc/NEWS.d/next/Core and Builtins/2019-06-25-01-45-06.bpo-37392.J3JhIx.rst [new file with mode: 0644]
Python/clinic/sysmodule.c.h
Python/pystate.c
Python/sysmodule.c
Tools/ccbench/ccbench.py