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 /Doc/whatsnew | |
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 'Doc/whatsnew')
-rw-r--r-- | Doc/whatsnew/3.9.rst | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/Doc/whatsnew/3.9.rst b/Doc/whatsnew/3.9.rst index b625f27..95e12ff 100644 --- a/Doc/whatsnew/3.9.rst +++ b/Doc/whatsnew/3.9.rst @@ -122,6 +122,11 @@ Deprecated Removed ======= +* The ``sys.getcheckinterval()`` and ``sys.setcheckinterval()`` functions have + been removed. They were deprecated since Python 3.2. Use + :func:`sys.getswitchinterval` and :func:`sys.setswitchinterval` instead. + (Contributed by Victor Stinner in :issue:`37392`.) + * The C function ``PyImport_Cleanup()`` has been removed. It was documented as: "Empty the module table. For internal use only." (Contributed by Victor Stinner in :issue:`36710`.) |