-
-
Notifications
You must be signed in to change notification settings - Fork 32.5k
Closed
Labels
3.13bugs and security fixesbugs and security fixes3.14bugs and security fixesbugs and security fixestopic-C-APItype-bugAn unexpected behavior, bug, or errorAn unexpected behavior, bug, or error
Description
Bug report
PyEval_GetLocals()
is documented as returning a borrowed reference. It now returns a new reference, which causes callers to leak the local variables:
Lines 2478 to 2479 in 35c4361
PyObject *locals = _PyEval_GetFrameLocals(); | |
return locals; |
cc @gaogaotiantian @markshannon
Linked PRs
Metadata
Metadata
Assignees
Labels
3.13bugs and security fixesbugs and security fixes3.14bugs and security fixesbugs and security fixestopic-C-APItype-bugAn unexpected behavior, bug, or errorAn unexpected behavior, bug, or error
Projects
Status
Done