summaryrefslogtreecommitdiffstats
path: root/Doc
diff options
context:
space:
mode:
authorVictor Stinner <vstinner@redhat.com>2019-06-26 16:01:10 (GMT)
committerGitHub <noreply@github.com>2019-06-26 16:01:10 (GMT)
commit69150669f224a1fc47de483557736e725ac5b2a1 (patch)
tree8d66c97b35d9287a5b0ec5f448d9b5b71238f1d3 /Doc
parent7a177c08ab8981645828d3b4d9083cdd9018d197 (diff)
downloadcpython-69150669f224a1fc47de483557736e725ac5b2a1.zip
cpython-69150669f224a1fc47de483557736e725ac5b2a1.tar.gz
cpython-69150669f224a1fc47de483557736e725ac5b2a1.tar.bz2
bpo-37414: Remove sys.callstats() (GH-14398)
Remove the undocumented sys.callstats() function. Since Python 3.7, it was deprecated and always returned None. It required a special build option CALL_PROFILE which was already removed in Python 3.7.
Diffstat (limited to 'Doc')
-rw-r--r--Doc/whatsnew/3.9.rst5
1 files changed, 5 insertions, 0 deletions
diff --git a/Doc/whatsnew/3.9.rst b/Doc/whatsnew/3.9.rst
index e9a31c8..780c0a9 100644
--- a/Doc/whatsnew/3.9.rst
+++ b/Doc/whatsnew/3.9.rst
@@ -139,6 +139,11 @@ Deprecated
Removed
=======
+* The undocumented ``sys.callstats()`` function has been removed. Since Python
+ 3.7, it was deprecated and always returned ``None``. It required a special
+ build option ``CALL_PROFILE`` which was already removed in Python 3.7.
+ (Contributed by Victor Stinner in :issue:`37414`.)
+
* 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.