This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author pitrou
Recipients amaury.forgeotdarc, georg.brandl, gps, pitrou
Date 2010-08-04.00:13:39
SpamBayes Score 2.293743e-11
Marked as misclassified No
Message-id <1280880838.21.0.0202822314213.issue3757@psf.upfronthosting.co.za>
In-reply-to
Content
This is a patch. It modifies the implementation to use intermediate dummy objects and various weakrefs. This allows to break reference cycles even when the thread state dict is still alive (because it isn't involved in the ref cycles anymore). This also has the benefit of fixing another wart, which is still present in the pure Python implementation, though (see "_threading_local keeps the local of the last stopped thread alive" in test_threading_local).

The pure Python implementation should probably be updated, or perhaps removed altogether (since the C version is always compiled anyway).
History
Date User Action Args
2010-08-04 00:14:01pitrousetrecipients: + pitrou, georg.brandl, amaury.forgeotdarc, gps
2010-08-04 00:13:58pitrousetmessageid: <1280880838.21.0.0202822314213.issue3757@psf.upfronthosting.co.za>
2010-08-04 00:13:56pitroulinkissue3757 messages
2010-08-04 00:13:56pitroucreate