summaryrefslogtreecommitdiffstats
path: root/Misc
diff options
context:
space:
mode:
authorVictor Stinner <vstinner@redhat.com>2019-06-25 01:01:08 (GMT)
committerGitHub <noreply@github.com>2019-06-25 01:01:08 (GMT)
commit36456df13843c5b8a1fb5a6022ab9ed1fe2a11c5 (patch)
tree72d392c36e3deeff6a76966ecffca4623a1e72d6 /Misc
parent9fc720e5e4f772598013ea48a3f0d22b2b6b04fa (diff)
downloadcpython-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 'Misc')
-rw-r--r--Misc/NEWS.d/next/Core and Builtins/2019-06-25-01-45-06.bpo-37392.J3JhIx.rst4
1 files changed, 4 insertions, 0 deletions
diff --git a/Misc/NEWS.d/next/Core and Builtins/2019-06-25-01-45-06.bpo-37392.J3JhIx.rst b/Misc/NEWS.d/next/Core and Builtins/2019-06-25-01-45-06.bpo-37392.J3JhIx.rst
new file mode 100644
index 0000000..97ab98c
--- /dev/null
+++ b/Misc/NEWS.d/next/Core and Builtins/2019-06-25-01-45-06.bpo-37392.J3JhIx.rst
@@ -0,0 +1,4 @@
+Remove ``sys.getcheckinterval()`` and ``sys.setcheckinterval()`` functions.
+They were deprecated since Python 3.2. Use :func:`sys.getswitchinterval` and
+:func:`sys.setswitchinterval` instead. Remove also ``check_interval`` field of
+the ``PyInterpreterState`` structure.