[Python-checkins] Remove old comment (GH-99489)

brandtbucher webhook-mailer at python.org
Wed Nov 16 16:43:36 EST 2022


https://github.com/python/cpython/commit/aa8b58cb33826bd2b1a1de631ebcd6a5353eecb5
commit: aa8b58cb33826bd2b1a1de631ebcd6a5353eecb5
branch: main
author: Brandt Bucher <brandtbucher at microsoft.com>
committer: brandtbucher <brandtbucher at gmail.com>
date: 2022-11-16T13:43:31-08:00
summary:

Remove old comment (GH-99489)

files:
M Objects/frameobject.c

diff --git a/Objects/frameobject.c b/Objects/frameobject.c
index 15e1928a547f..74c26d8d4d96 100644
--- a/Objects/frameobject.c
+++ b/Objects/frameobject.c
@@ -849,15 +849,6 @@ static PyGetSetDef frame_getsetlist[] = {
     {0}
 };
 
-/* Stack frames are allocated and deallocated at a considerable rate.
-   In an attempt to improve the speed of function calls, we maintain
-   a separate free list of stack frames (just like floats are
-   allocated in a special way -- see floatobject.c).  When a stack
-   frame is on the free list, only the following members have a meaning:
-    ob_type             == &Frametype
-    f_back              next item on free list, or NULL
-*/
-
 static void
 frame_dealloc(PyFrameObject *f)
 {



More information about the Python-checkins mailing list