]> 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 04:32:44 +0000 (04:32 +0000)
committerPhilip Jenvey <pjenvey@underboss.org>
Tue, 29 Sep 2009 04:32:44 +0000 (04:32 +0000)
commitdbf3b258e72adcee2c2ef1bbc9ea5ef5ec78a41e
treeebd384a9699f08439548e5c96a54a6545184bb0f
parentb93fff0a57cf9a39c47d29ec8011bd2b14b506ac
#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
Lib/test/test_threading_local.py
Misc/NEWS
Modules/threadmodule.c