Skip to content

Commit b44316a

Browse files
authored
gh-136476: Remove creation of unused list (GH-136494)
1 parent 61dd9fd commit b44316a

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

Modules/_remote_debugging_module.c

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2213,12 +2213,6 @@ static int
22132213
return -1;
22142214
}
22152215

2216-
PyObject *frames = PyList_New(0);
2217-
if (frames == NULL) {
2218-
set_exception_cause(unwinder, PyExc_MemoryError, "Failed to create frames list");
2219-
return -1;
2220-
}
2221-
22222216
while ((void*)address_of_current_frame != NULL) {
22232217
PyObject* frame_info = NULL;
22242218
uintptr_t address_of_code_object;

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy