diff options
author | Victor Stinner <victor.stinner@gmail.com> | 2013-12-13 01:17:29 (GMT) |
---|---|---|
committer | Victor Stinner <victor.stinner@gmail.com> | 2013-12-13 01:17:29 (GMT) |
commit | 131051079351859a5451b873667b489e2a9e9f2a (patch) | |
tree | b57298e16e6aabf7ba5a48755cfb3e3f01e57ca5 /Include | |
parent | da12adac10761439a8a3828958e970db98d7ebc8 (diff) | |
download | cpython-131051079351859a5451b873667b489e2a9e9f2a.zip cpython-131051079351859a5451b873667b489e2a9e9f2a.tar.gz cpython-131051079351859a5451b873667b489e2a9e9f2a.tar.bz2 |
Issue #14432: Generator now clears the borrowed reference to the thread state
Fix a 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.
Diffstat (limited to 'Include')
0 files changed, 0 insertions, 0 deletions