<feed xmlns='http://www.w3.org/2005/Atom'>
<title>python.git/Doc/c-api/init.rst, branch v2.7a2</title>
<subtitle>Python interpreter</subtitle>
<id>http://dangofactory.net/cgit/cgit.cgi/Server/python.git/atom/Doc/c-api/init.rst?h=v2.7a2</id>
<link rel='self' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/atom/Doc/c-api/init.rst?h=v2.7a2'/>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/'/>
<updated>2010-01-07T20:54:45Z</updated>
<entry>
<title>Fix description for Py_GetPath(); it sounded like it always returned sys.path.</title>
<updated>2010-01-07T20:54:45Z</updated>
<author>
<name>Georg Brandl</name>
<email>georg@python.org</email>
</author>
<published>2010-01-07T20:54:45Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=54fd8ae0a38018ac122aefdda68bdea341d0de20'/>
<id>urn:sha1:54fd8ae0a38018ac122aefdda68bdea341d0de20</id>
<content type='text'>
</content>
</entry>
<entry>
<title>#7388: "python".capitalize() in the Doc</title>
<updated>2009-12-19T22:41:49Z</updated>
<author>
<name>Ezio Melotti</name>
<email>ezio.melotti@gmail.com</email>
</author>
<published>2009-12-19T22:41:49Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=062d2b52f3128f44bfd853459652e075c9bb5f40'/>
<id>urn:sha1:062d2b52f3128f44bfd853459652e075c9bb5f40</id>
<content type='text'>
</content>
</entry>
<entry>
<title>#7521: remove Py_GetBuildNumber(), which was removed in favor of Py_GetBuildInfo().</title>
<updated>2009-12-19T17:34:32Z</updated>
<author>
<name>Georg Brandl</name>
<email>georg@python.org</email>
</author>
<published>2009-12-19T17:34:32Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=670e5969cbfd526a25618adaf5336dd46d118280'/>
<id>urn:sha1:670e5969cbfd526a25618adaf5336dd46d118280</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Fix issue #1590864, multiple threads and fork() can cause deadlocks, by</title>
<updated>2009-09-16T19:55:54Z</updated>
<author>
<name>Thomas Wouters</name>
<email>thomas@python.org</email>
</author>
<published>2009-09-16T19:55:54Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=c4dcb3801e6e64327e95821034a7578f5f31bf94'/>
<id>urn:sha1:c4dcb3801e6e64327e95821034a7578f5f31bf94</id>
<content type='text'>
acquiring the import lock around fork() calls. This prevents other threads
from having that lock while the fork happens, and is the recommended way of
dealing with such issues. There are two other locks we care about, the GIL
and the Thread Local Storage lock. The GIL is obviously held when calling
Python functions like os.fork(), and the TLS lock is explicitly reallocated
instead, while also deleting now-orphaned TLS data.

This only fixes calls to os.fork(), not extension modules or embedding
programs calling C's fork() directly. Solving that requires a new set of API
functions, and possibly a rewrite of the Python/thread_*.c mess. Add a
warning explaining the problem to the documentation in the mean time.

This also changes behaviour a little on AIX. Before, AIX (but only AIX) was
getting the import lock reallocated, seemingly to avoid this very same
problem. This is not the right approach, because the import lock is a
re-entrant one, and reallocating would do the wrong thing when forking while
holding the import lock.

Will backport to 2.6, minus the tiny AIX behaviour change.
</content>
</entry>
<entry>
<title>Py_SetPythonHome uses static storage #6913</title>
<updated>2009-09-15T03:36:26Z</updated>
<author>
<name>Benjamin Peterson</name>
<email>benjamin@python.org</email>
</author>
<published>2009-09-15T03:36:26Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=ea7120c7c1b37f12af31dfcc07f849ed0a5287d9'/>
<id>urn:sha1:ea7120c7c1b37f12af31dfcc07f849ed0a5287d9</id>
<content type='text'>
</content>
</entry>
<entry>
<title>#5840: dont claim we dont support TLS.</title>
<updated>2009-04-27T17:09:53Z</updated>
<author>
<name>Georg Brandl</name>
<email>georg@python.org</email>
</author>
<published>2009-04-27T17:09:53Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=2622b549d71ebc569c0cb9a1ab01cd464a1f9e90'/>
<id>urn:sha1:2622b549d71ebc569c0cb9a1ab01cd464a1f9e90</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Rewrite a sentence to be more in line with the rest of the documentation with</title>
<updated>2009-04-25T13:07:40Z</updated>
<author>
<name>Jeroen Ruigrok van der Werven</name>
<email>asmodai@in-nomine.org</email>
</author>
<published>2009-04-25T13:07:40Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=2dcf46ee2cddce17f18081ea7fa3535caad652dc'/>
<id>urn:sha1:2dcf46ee2cddce17f18081ea7fa3535caad652dc</id>
<content type='text'>
regard to person and audience.
</content>
</entry>
<entry>
<title>#5298: clarify docs about GIL by using more consistent wording.</title>
<updated>2009-04-05T17:17:42Z</updated>
<author>
<name>Georg Brandl</name>
<email>georg@python.org</email>
</author>
<published>2009-04-05T17:17:42Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=1ede0d670f19e62dfc702253cec9f47865dc9674'/>
<id>urn:sha1:1ede0d670f19e62dfc702253cec9f47865dc9674</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Fix 'the the' duplication</title>
<updated>2009-04-03T21:45:29Z</updated>
<author>
<name>Andrew M. Kuchling</name>
<email>amk@amk.ca</email>
</author>
<published>2009-04-03T21:45:29Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=a178a69819239b3b1ff7eaf03ec9a24ffd30363b'/>
<id>urn:sha1:a178a69819239b3b1ff7eaf03ec9a24ffd30363b</id>
<content type='text'>
</content>
</entry>
<entry>
<title>#5486: typos.</title>
<updated>2009-03-13T19:03:58Z</updated>
<author>
<name>Georg Brandl</name>
<email>georg@python.org</email>
</author>
<published>2009-03-13T19:03:58Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=e83a4adba77d1055c564fbcc87695e259e672f5b'/>
<id>urn:sha1:e83a4adba77d1055c564fbcc87695e259e672f5b</id>
<content type='text'>
</content>
</entry>
</feed>
