summaryrefslogtreecommitdiffstats
path: root/Python/sysmodule.c
diff options
context:
space:
mode:
authorBrandt Bucher <brandtbucher@microsoft.com>2022-11-02 17:42:57 (GMT)
committerGitHub <noreply@github.com>2022-11-02 17:42:57 (GMT)
commit276d77724f2373cc03838448a3e62977aa28bf0d (patch)
treeaeb2f83a896f02a3f38ace9d6ecb65b9620be8e3 /Python/sysmodule.c
parent18fc232e07c14536d99f07821e338ebddfd8cb63 (diff)
downloadcpython-276d77724f2373cc03838448a3e62977aa28bf0d.zip
cpython-276d77724f2373cc03838448a3e62977aa28bf0d.tar.gz
cpython-276d77724f2373cc03838448a3e62977aa28bf0d.tar.bz2
GH-98686: Quicken everything (GH-98687)
Diffstat (limited to 'Python/sysmodule.c')
-rw-r--r--Python/sysmodule.c13
1 files changed, 0 insertions, 13 deletions
diff --git a/Python/sysmodule.c b/Python/sysmodule.c
index f73d332..55cd059 100644
--- a/Python/sysmodule.c
+++ b/Python/sysmodule.c
@@ -17,7 +17,6 @@ Data members:
#include "Python.h"
#include "pycore_call.h" // _PyObject_CallNoArgs()
#include "pycore_ceval.h" // _PyEval_SetAsyncGenFinalizer()
-#include "pycore_code.h" // _Py_QuickenedCount
#include "pycore_frame.h" // _PyInterpreterFrame
#include "pycore_initconfig.h" // _PyStatus_EXCEPTION()
#include "pycore_long.h" // _PY_LONG_MAX_STR_DIGITS_THRESHOLD
@@ -1856,17 +1855,6 @@ sys_gettotalrefcount_impl(PyObject *module)
#endif /* Py_REF_DEBUG */
/*[clinic input]
-sys._getquickenedcount -> Py_ssize_t
-[clinic start generated code]*/
-
-static Py_ssize_t
-sys__getquickenedcount_impl(PyObject *module)
-/*[clinic end generated code: output=1ab259e7f91248a2 input=249d448159eca912]*/
-{
- return _Py_QuickenedCount;
-}
-
-/*[clinic input]
sys.getallocatedblocks -> Py_ssize_t
Return the number of memory blocks currently allocated.
@@ -2216,7 +2204,6 @@ static PyMethodDef sys_methods[] = {
SYS_GETALLOCATEDBLOCKS_METHODDEF
SYS_GETFILESYSTEMENCODING_METHODDEF
SYS_GETFILESYSTEMENCODEERRORS_METHODDEF
- SYS__GETQUICKENEDCOUNT_METHODDEF
#ifdef Py_TRACE_REFS
{"getobjects", _Py_GetObjects, METH_VARARGS},
#endif