<feed xmlns='http://www.w3.org/2005/Atom'>
<title>python.git/Modules/threadmodule.c, branch v2.7rc2</title>
<subtitle>Python interpreter</subtitle>
<id>http://dangofactory.net/cgit/cgit.cgi/Server/python.git/atom/Modules/threadmodule.c?h=v2.7rc2</id>
<link rel='self' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/atom/Modules/threadmodule.c?h=v2.7rc2'/>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/'/>
<updated>2010-05-09T14:46:46Z</updated>
<entry>
<title>Untabify C files. Will watch buildbots.</title>
<updated>2010-05-09T14:46:46Z</updated>
<author>
<name>Antoine Pitrou</name>
<email>solipsis@pitrou.net</email>
</author>
<published>2010-05-09T14:46:46Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=c83ea137d7e717f764e2f31fc2544f522de7d857'/>
<id>urn:sha1:c83ea137d7e717f764e2f31fc2544f522de7d857</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Issue #7544: Preallocate thread memory before creating the thread to avoid a</title>
<updated>2010-03-03T23:20:25Z</updated>
<author>
<name>Victor Stinner</name>
<email>victor.stinner@haypocalc.com</email>
</author>
<published>2010-03-03T23:20:25Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=71fb87e64c51627564262fd64299f7ac79625404'/>
<id>urn:sha1:71fb87e64c51627564262fd64299f7ac79625404</id>
<content type='text'>
fatal error in low memory condition.
</content>
</entry>
<entry>
<title>Issue #3299: fix thread.allocate_lock() error handler, replace PyObject_Del()</title>
<updated>2010-03-03T00:43:44Z</updated>
<author>
<name>Victor Stinner</name>
<email>victor.stinner@haypocalc.com</email>
</author>
<published>2010-03-03T00:43:44Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=c951d56f9a10ea9e6f9b851f26f73147edbb706b'/>
<id>urn:sha1:c951d56f9a10ea9e6f9b851f26f73147edbb706b</id>
<content type='text'>
by Py_DECREF() to fix a crash in pydebug mode.
</content>
</entry>
<entry>
<title>#4852: Remove dead code in every thread implementation, unused for many years.</title>
<updated>2010-02-23T23:19:39Z</updated>
<author>
<name>Amaury Forgeot d'Arc</name>
<email>amauryfa@gmail.com</email>
</author>
<published>2010-02-23T23:19:39Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=adfc80bd8111de9e5045e9d693dfc8b6821bed75'/>
<id>urn:sha1:adfc80bd8111de9e5045e9d693dfc8b6821bed75</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Remove official documentation entry for thread._count() and make the</title>
<updated>2009-10-30T22:19:09Z</updated>
<author>
<name>Antoine Pitrou</name>
<email>solipsis@pitrou.net</email>
</author>
<published>2009-10-30T22:19:09Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=2c970a2ba23eb578923771922b0da2344385c137'/>
<id>urn:sha1:2c970a2ba23eb578923771922b0da2344385c137</id>
<content type='text'>
docstring more descriptive instead.
</content>
</entry>
<entry>
<title>Issue #7222: Make thread "reaping" more reliable so that reference</title>
<updated>2009-10-30T17:07:08Z</updated>
<author>
<name>Antoine Pitrou</name>
<email>solipsis@pitrou.net</email>
</author>
<published>2009-10-30T17:07:08Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=59c44f36e0a575671c0e8dab6a9de88666e481b0'/>
<id>urn:sha1:59c44f36e0a575671c0e8dab6a9de88666e481b0</id>
<content type='text'>
leak-chasing test runs give sensible results. The previous method of
reaping threads could return successfully while some Thread objects were
still referenced. This also introduces a new private function:
:func:hread._count().
</content>
</entry>
<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>Add weakref support to the thread.lock type.</title>
<updated>2009-08-20T09:39:38Z</updated>
<author>
<name>Gregory P. Smith</name>
<email>greg@mad-scientist.com</email>
</author>
<published>2009-08-20T09:39:38Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=4e63d54b36093f35533bc0871bfa6ad3111bd048'/>
<id>urn:sha1:4e63d54b36093f35533bc0871bfa6ad3111bd048</id>
<content type='text'>
</content>
</entry>
<entry>
<title>stop using Py_FindMethod</title>
<updated>2009-05-24T23:13:32Z</updated>
<author>
<name>Benjamin Peterson</name>
<email>benjamin@python.org</email>
</author>
<published>2009-05-24T23:13:32Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=a7724e59e006e1ca0a12ae6fd2eeaf895833c297'/>
<id>urn:sha1:a7724e59e006e1ca0a12ae6fd2eeaf895833c297</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>
</feed>
