]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
bpo-33612: Remove PyThreadState_Clear() assertion (GH-7069) (GH-7074)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Wed, 23 May 2018 19:58:21 +0000 (12:58 -0700)
committerNed Deily <nad@python.org>
Wed, 23 May 2018 19:58:21 +0000 (15:58 -0400)
commit508d7693bc09affd99fdaa4a321cc3da0638c8a0
treeca52b3b05264ebbc58afdf0a8f150f17d0ca129b
parent2fc443c469fb15033b6b96acd727e2e7cc147adc
bpo-33612: Remove PyThreadState_Clear() assertion (GH-7069) (GH-7074)

bpo-25612, bpo-33612: Remove an assertion from PyThreadState_Clear()
which failed at Python shutdown or on fork if a thread was running a
generator.
(cherry picked from commit b6dccf54fd3bac9c87348d96f9d6b571608c15bc)

Co-authored-by: Victor Stinner <vstinner@redhat.com>
Python/pystate.c