mirror of
https://github.com/python/cpython.git
synced 2025-11-25 04:34:37 +00:00
gh-136476: Remove creation of unused list (GH-136494)
This commit is contained in:
parent
61dd9fdad7
commit
b44316a097
1 changed files with 0 additions and 6 deletions
|
|
@ -2213,12 +2213,6 @@ static int
|
|||
return -1;
|
||||
}
|
||||
|
||||
PyObject *frames = PyList_New(0);
|
||||
if (frames == NULL) {
|
||||
set_exception_cause(unwinder, PyExc_MemoryError, "Failed to create frames list");
|
||||
return -1;
|
||||
}
|
||||
|
||||
while ((void*)address_of_current_frame != NULL) {
|
||||
PyObject* frame_info = NULL;
|
||||
uintptr_t address_of_code_object;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue