mirror of
https://github.com/python/cpython.git
synced 2026-05-07 13:10:37 -04:00
fdeb6ec45a
crash when a generator is created in a C thread that is destroyed while the generator is still used. The issue was that a generator contains a frame, and the frame kept a reference to the Python state of the destroyed C thread. The crash occurs when a trace function is setup.