mirror of
https://github.com/python/cpython.git
synced 2026-05-07 13:10:37 -04:00
557b05c7a5
It was possible for the trashcan to delay the deallocation of a PyFrameObject until after its corresponding _PyInterpreterFrame has already been freed. So frame_dealloc needs to avoid dereferencing the f_frame pointer unless it first checks that the pointer still points to the interpreter frame within the frame object. Signed-off-by: Anders Kaseorg <andersk@mit.edu>
Source files for various builtin objects