<feed xmlns='http://www.w3.org/2005/Atom'>
<title>python.git/Python/pystate.c, branch v2.4.2</title>
<subtitle>Unnamed repository; edit this file 'description' to name the repository.</subtitle>
<id>http://dangofactory.net/cgit/cgit.cgi/Server/python.git/atom/Python/pystate.c?h=v2.4.2</id>
<link rel='self' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/atom/Python/pystate.c?h=v2.4.2'/>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/'/>
<updated>2005-09-23T08:14:40Z</updated>
<entry>
<title>Backport bugfix:</title>
<updated>2005-09-23T08:14:40Z</updated>
<author>
<name>Michael W. Hudson</name>
<email>mwh@python.net</email>
</author>
<published>2005-09-23T08:14:40Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=b21d81e771d2d3daa9a2ce0a3a018fa517c7b658'/>
<id>urn:sha1:b21d81e771d2d3daa9a2ce0a3a018fa517c7b658</id>
<content type='text'>
Fix bug:

[ 1163563 ] Sub threads execute in restricted mode

basically by fixing bug 1010677 in a non-broken way.

Backport candidate.
</content>
</entry>
<entry>
<title>Backport my recent fix (rev. 2.40 of Python/pystate.c):</title>
<updated>2005-04-24T19:32:34Z</updated>
<author>
<name>Michael W. Hudson</name>
<email>mwh@python.net</email>
</author>
<published>2005-04-24T19:32:34Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=14ef205309bf019c28fea1c253bf6b42aba117fe'/>
<id>urn:sha1:14ef205309bf019c28fea1c253bf6b42aba117fe</id>
<content type='text'>
Fix:

[ 1176893 ] Readline segfault

by unsilly-ing PyGILState_Release().

Backport candidate.
</content>
</entry>
<entry>
<title>Backport 2.39:</title>
<updated>2005-02-08T15:01:35Z</updated>
<author>
<name>Guido van Rossum</name>
<email>guido@python.org</email>
</author>
<published>2005-02-08T15:01:35Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=1a37c4c6b10000e3f7685add1747bb1629908ed7'/>
<id>urn:sha1:1a37c4c6b10000e3f7685add1747bb1629908ed7</id>
<content type='text'>
Close the discussion in SF bug 1069160.
</content>
</entry>
<entry>
<title>SF bug 1061968: threads: segfault or Py_FatalError at exit</title>
<updated>2004-11-08T04:30:21Z</updated>
<author>
<name>Tim Peters</name>
<email>tim.peters@gmail.com</email>
</author>
<published>2004-11-08T04:30:21Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=fb1ffb0ebb283c493b55dc2a1c8431e1da668d2e'/>
<id>urn:sha1:fb1ffb0ebb283c493b55dc2a1c8431e1da668d2e</id>
<content type='text'>
PyGILState_Ensure():  The fix in 2.4a3 for bug 1010677 reintroduced thread
shutdown race bug 225673.  Repaired by (once again) ensuring the GIL is
held whenever deleting a thread state.

Alas, there's no useful test case for this shy bug.  Four years ago, only
Guido could provoke it, on his box, and today only Armin can provoke it
on his box.  I've never been able to provoke it (but not for lack of
trying!).

This is a critical fix for 2.3.5 too, since the fix for 1010677 got
backported there already and so also reintroduced 225673.  I don't intend to
backport this fix.  For whoever (if anyone) does, there are other thread
fixes in 2.4 that need backporting too, and I bet they need to happen first
for this patch to apply cleanly.
</content>
</entry>
<entry>
<title>Revert rev 2.35.  It was based on erroneous reasoning -- the current</title>
<updated>2004-10-10T05:30:40Z</updated>
<author>
<name>Tim Peters</name>
<email>tim.peters@gmail.com</email>
</author>
<published>2004-10-10T05:30:40Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=89c0ec9beba4e6b086e74345bc1ef15041bd5e7d'/>
<id>urn:sha1:89c0ec9beba4e6b086e74345bc1ef15041bd5e7d</id>
<content type='text'>
thread's id can't get duplicated, because (of course!) the current thread
is still running.  The code should work either way, but reverting the
gratuitous change should make backporting easier, and gets the bad
reasoning out of 2.35's new comments.
</content>
</entry>
<entry>
<title>PyInterpreterState_New(), PyThreadState_New():  use malloc/free directly.</title>
<updated>2004-10-10T02:47:33Z</updated>
<author>
<name>Tim Peters</name>
<email>tim.peters@gmail.com</email>
</author>
<published>2004-10-10T02:47:33Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=8470558a04d23ed01d1168c05781c016cb892b22'/>
<id>urn:sha1:8470558a04d23ed01d1168c05781c016cb892b22</id>
<content type='text'>
This appears to finish repairs for SF bug 1041645.

This is a critical bugfix.
</content>
</entry>
<entry>
<title>PyGILState_Release():  If we need to delete the TLS entry for this thread,</title>
<updated>2004-10-09T23:55:36Z</updated>
<author>
<name>Tim Peters</name>
<email>tim.peters@gmail.com</email>
</author>
<published>2004-10-09T23:55:36Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=5c14e6498a9ca90f482d9d70c6df92d508aa8ff9'/>
<id>urn:sha1:5c14e6498a9ca90f482d9d70c6df92d508aa8ff9</id>
<content type='text'>
that must be done under protection of the GIL, for reasons explained in
new comments.
</content>
</entry>
<entry>
<title>_PyGILState_Init(), PyGILState_Ensure():  Since PyThread_set_key_value()</title>
<updated>2004-10-09T22:47:13Z</updated>
<author>
<name>Tim Peters</name>
<email>tim.peters@gmail.com</email>
</author>
<published>2004-10-09T22:47:13Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=f9becec8cd989743aeb22d02a0ededddeecc89a6'/>
<id>urn:sha1:f9becec8cd989743aeb22d02a0ededddeecc89a6</id>
<content type='text'>
can fail, check its return value, and die if it does fail.

_PyGILState_Init():  Assert that the thread doesn't already have an
association for autoTLSkey.  If it does, PyThread_set_key_value() will
ignore the attempt to (re)set the association, which the code clearly
doesn't want.
</content>
</entry>
<entry>
<title>Style guide &amp; consistency changes.  No semantic changes.</title>
<updated>2004-10-09T17:38:29Z</updated>
<author>
<name>Tim Peters</name>
<email>tim.peters@gmail.com</email>
</author>
<published>2004-10-09T17:38:29Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=19717fa33a58be7da6663711de9496c99d629df9'/>
<id>urn:sha1:19717fa33a58be7da6663711de9496c99d629df9</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Trim trailing whitespace.</title>
<updated>2004-10-09T17:25:05Z</updated>
<author>
<name>Tim Peters</name>
<email>tim.peters@gmail.com</email>
</author>
<published>2004-10-09T17:25:05Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=4c1f5ecfe39d70bfdfb183436b00f601cfd54834'/>
<id>urn:sha1:4c1f5ecfe39d70bfdfb183436b00f601cfd54834</id>
<content type='text'>
</content>
</entry>
</feed>
