<feed xmlns='http://www.w3.org/2005/Atom'>
<title>python.git/Lib/test/test_threading_local.py, branch v2.7a2</title>
<subtitle>Python interpreter</subtitle>
<id>http://dangofactory.net/cgit/cgit.cgi/Server/python.git/atom/Lib/test/test_threading_local.py?h=v2.7a2</id>
<link rel='self' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/atom/Lib/test/test_threading_local.py?h=v2.7a2'/>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/'/>
<updated>2009-09-29T04:32:44Z</updated>
<entry>
<title>#6990: clear threading.local's key only after its thread state is removed:</title>
<updated>2009-09-29T04:32:44Z</updated>
<author>
<name>Philip Jenvey</name>
<email>pjenvey@underboss.org</email>
</author>
<published>2009-09-29T04:32:44Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=dbf3b258e72adcee2c2ef1bbc9ea5ef5ec78a41e'/>
<id>urn:sha1:dbf3b258e72adcee2c2ef1bbc9ea5ef5ec78a41e</id>
<content type='text'>
fixes local subclasses leaving old state around after a ref cycle GC which
could be recycled by new locals
</content>
</entry>
<entry>
<title>convert usage of fail* to assert*</title>
<updated>2009-06-30T22:57:08Z</updated>
<author>
<name>Benjamin Peterson</name>
<email>benjamin@python.org</email>
</author>
<published>2009-06-30T22:57:08Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=5c8da86f3a515ce1a6d5f27fd15e3c5f4d8e931e'/>
<id>urn:sha1:5c8da86f3a515ce1a6d5f27fd15e3c5f4d8e931e</id>
<content type='text'>
</content>
</entry>
<entry>
<title>#Issue3088 in-progress: Race condition with instances of classes derived from threading.local:</title>
<updated>2008-06-30T22:42:40Z</updated>
<author>
<name>Amaury Forgeot d'Arc</name>
<email>amauryfa@gmail.com</email>
</author>
<published>2008-06-30T22:42:40Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=1f40c8a8d70ea8789c3ffca126e0d3cce41d0f7d'/>
<id>urn:sha1:1f40c8a8d70ea8789c3ffca126e0d3cce41d0f7d</id>
<content type='text'>
When a thread touches such an object for the first time, a new thread-local __dict__ is created,
and the __init__ method is run.
But a thread switch can occur here; if the other thread touches the same object, it installs another
__dict__; when the first thread resumes, it updates the dictionary of the second...

This is the deep cause of the failures in test_multiprocessing involving "managers" objects.

Also a 2.5 backport candidate.
</content>
</entry>
<entry>
<title>Update for threading.local test.</title>
<updated>2008-01-19T15:06:09Z</updated>
<author>
<name>Christian Heimes</name>
<email>christian@cheimes.de</email>
</author>
<published>2008-01-19T15:06:09Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=95016e71ea7ea9394c0b72f7614ece193d0b3307'/>
<id>urn:sha1:95016e71ea7ea9394c0b72f7614ece193d0b3307</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Added unit test to verify that threading.local doesn't cause ref leaks. It seems that the thread local storage always keeps the storage of the last stopped thread alive. Can anybody comment on it, please?</title>
<updated>2008-01-19T13:46:06Z</updated>
<author>
<name>Christian Heimes</name>
<email>christian@cheimes.de</email>
</author>
<published>2008-01-19T13:46:06Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=71a0451f67b41e326a14f4ae1481cb72e462881d'/>
<id>urn:sha1:71a0451f67b41e326a14f4ae1481cb72e462881d</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Standardize on test.test_support.run_unittest() (as opposed to a mix of run_unittest() and run_suite()). Also, add functionality to run_unittest() that admits usage of unittest.TestLoader.loadTestsFromModule().</title>
<updated>2007-04-25T17:29:52Z</updated>
<author>
<name>Collin Winter</name>
<email>collinw@gmail.com</email>
</author>
<published>2007-04-25T17:29:52Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=c2898c5a678e6dd00c3e0b18a214fcd7a3533800'/>
<id>urn:sha1:c2898c5a678e6dd00c3e0b18a214fcd7a3533800</id>
<content type='text'>
</content>
</entry>
<entry>
<title>setUp and tearDown functions are now passed the test object</title>
<updated>2004-08-28T14:58:31Z</updated>
<author>
<name>Jim Fulton</name>
<email>jim@zope.com</email>
</author>
<published>2004-08-28T14:58:31Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=9f556a408bfc0ea872cc2efbd86534ef46c5f42c'/>
<id>urn:sha1:9f556a408bfc0ea872cc2efbd86534ef46c5f42c</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Implemented thread-local data as proposed on python-dev:</title>
<updated>2004-07-14T19:11:50Z</updated>
<author>
<name>Jim Fulton</name>
<email>jim@zope.com</email>
</author>
<published>2004-07-14T19:11:50Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=d15dc06df062fdf0fe8badec2982c6c5e0e28eb0'/>
<id>urn:sha1:d15dc06df062fdf0fe8badec2982c6c5e0e28eb0</id>
<content type='text'>
http://mail.python.org/pipermail/python-dev/2004-June/045785.html
</content>
</entry>
</feed>
