]> granicus.if.org Git - python/commit
#6990: clear threading.local's key only after its thread state is removed:
authorPhilip Jenvey <pjenvey@underboss.org>
Tue, 29 Sep 2009 05:30:42 +0000 (05:30 +0000)
committerPhilip Jenvey <pjenvey@underboss.org>
Tue, 29 Sep 2009 05:30:42 +0000 (05:30 +0000)
commit4c9c260c1a8222d5ecb060e4535910c8cfde0dbd
treee3737dbe6ac85159f37631bd8ec1649ac7bbbf63
parentb4dc921e30cd6c7735baaa49c6843dcd47ae7fd5
#6990: clear threading.local's key only after its thread state is removed:
fixes local subclasses leaving old state around after a ref cycle GC which
could be recycled by new locals
(backported from r75123)
Lib/test/test_threading_local.py
Misc/NEWS
Modules/threadmodule.c