Issue #7282: Fix a memory leak when an RLock was used in a thread other
commitdc2e614e14e86a17ae9ef4e76272bc4ec4f50a3a
authorantoine.pitrou <antoine.pitrou@6015fed2-1504-0410-9fe1-9d1591cc4771>
Mon, 9 Nov 2009 16:00:11 +0000 (9 16:00 +0000)
committerantoine.pitrou <antoine.pitrou@6015fed2-1504-0410-9fe1-9d1591cc4771>
Mon, 9 Nov 2009 16:00:11 +0000 (9 16:00 +0000)
treeb163b999698d02ae936a983f3d0fa4c89a294a0e
parentb04d5b5886fa9659f307f0779f5a56f68aca55b0
Issue #7282: Fix a memory leak when an RLock was used in a thread other
than those started through `threading.Thread` (for example, using
`thread.start_new_thread()`.

git-svn-id: http://svn.python.org/projects/python/trunk@76172 6015fed2-1504-0410-9fe1-9d1591cc4771
Lib/test/lock_tests.py
Lib/test/test_threading.py
Lib/threading.py
Misc/NEWS