mirror of
https://github.com/python/cpython.git
synced 2025-08-04 00:48:58 +00:00
bpo-40429: PyFrame_GetCode() now returns a strong reference (GH-19773)
This commit is contained in:
parent
5e8c691594
commit
8852ad4208
9 changed files with 35 additions and 26 deletions
|
@ -1557,6 +1557,7 @@ remove_importlib_frames(PyThreadState *tstate)
|
|||
else {
|
||||
prev_link = (PyObject **) &traceback->tb_next;
|
||||
}
|
||||
Py_DECREF(code);
|
||||
tb = next;
|
||||
}
|
||||
done:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue