]> granicus.if.org Git - python/commit
bpo-31234: test_threading: fix ref cycle (#3150) (#3152)
authorVictor Stinner <victor.stinner@gmail.com>
Sat, 19 Aug 2017 00:32:54 +0000 (02:32 +0200)
committerGitHub <noreply@github.com>
Sat, 19 Aug 2017 00:32:54 +0000 (02:32 +0200)
commitb50e7683acac36ff16e6c6c2c32d9a15e46b5174
tree8ab544a2d9232a6b8438e087b9ab847800be84fe
parent3e866dfaecaa4eb8f98c12782d2488f681225c37
bpo-31234: test_threading: fix ref cycle (#3150) (#3152)

test_bare_raise_in_brand_new_thread() now explicitly breaks a
reference cycle to not leak a dangling thread.
(cherry picked from commit 3d284c081fc3042036adfe1bf2ce92c34d743b0b)
Lib/test/test_threading.py