<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/cpython-git.git/Python/pystate.c, branch zooba-patch-1</title>
<subtitle>github.com: python/cpython.git
</subtitle>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/'/>
<entry>
<title>bpo-20891: Fix PyGILState_Ensure() (#4650) (#4657)</title>
<updated>2017-11-30T22:35:14+00:00</updated>
<author>
<name>Victor Stinner</name>
<email>victor.stinner@gmail.com</email>
</author>
<published>2017-11-30T22:35:14+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/commit/?id=be6b74c0795b709c7a04e2187a7e32d08f5155f6'/>
<id>be6b74c0795b709c7a04e2187a7e32d08f5155f6</id>
<content type='text'>
When PyGILState_Ensure() is called in a non-Python thread before
PyEval_InitThreads(), only call PyEval_InitThreads() after calling
PyThreadState_New() to fix a crash.

(cherry picked from commit b4d1e1f7c1af6ae33f0e371576c8bcafedb099db)</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
When PyGILState_Ensure() is called in a non-Python thread before
PyEval_InitThreads(), only call PyEval_InitThreads() after calling
PyThreadState_New() to fix a crash.

(cherry picked from commit b4d1e1f7c1af6ae33f0e371576c8bcafedb099db)</pre>
</div>
</content>
</entry>
<entry>
<title>revert tstate_delete_common, since it's pretty much wrong</title>
<updated>2014-06-17T07:34:14+00:00</updated>
<author>
<name>Benjamin Peterson</name>
<email>benjamin@python.org</email>
</author>
<published>2014-06-17T07:34:14+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/commit/?id=3232384e1e5656d7a9f8f9acc7fd64697cb2226b'/>
<id>3232384e1e5656d7a9f8f9acc7fd64697cb2226b</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>avoid a deadlock with the interpreter head lock and the GIL during finalization</title>
<updated>2014-06-17T06:07:49+00:00</updated>
<author>
<name>Benjamin Peterson</name>
<email>benjamin@python.org</email>
</author>
<published>2014-06-17T06:07:49+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/commit/?id=81669697aa85acb22c3e02c1c7d2788a30ecfee7'/>
<id>81669697aa85acb22c3e02c1c7d2788a30ecfee7</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Issue #13992: The trashcan mechanism is now thread-safe.  This eliminates</title>
<updated>2012-09-05T22:59:49+00:00</updated>
<author>
<name>Antoine Pitrou</name>
<email>solipsis@pitrou.net</email>
</author>
<published>2012-09-05T22:59:49+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/commit/?id=58098a77e62ec3ae40180eb36672d44a337121db'/>
<id>58098a77e62ec3ae40180eb36672d44a337121db</id>
<content type='text'>
sporadic crashes in multi-thread programs when several long deallocator
chains ran concurrently and involved subclasses of built-in container
types.

Because of this change, a couple extension modules compiled for 2.7.4
(those which use the trashcan mechanism, despite it being undocumented)
will not be loadable by 2.7.3 and earlier. However, extension modules
compiled for 2.7.3 and earlier will be loadable by 2.7.4.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
sporadic crashes in multi-thread programs when several long deallocator
chains ran concurrently and involved subclasses of built-in container
types.

Because of this change, a couple extension modules compiled for 2.7.4
(those which use the trashcan mechanism, despite it being undocumented)
will not be loadable by 2.7.3 and earlier. However, extension modules
compiled for 2.7.3 and earlier will be loadable by 2.7.4.
</pre>
</div>
</content>
</entry>
<entry>
<title>move outside WITH_THREAD conditional</title>
<updated>2012-04-13T22:06:36+00:00</updated>
<author>
<name>Benjamin Peterson</name>
<email>benjamin@python.org</email>
</author>
<published>2012-04-13T22:06:36+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/commit/?id=7c0b44ec1725eeacdcfd02376e5d5a39ccdc5c79'/>
<id>7c0b44ec1725eeacdcfd02376e5d5a39ccdc5c79</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>take linkage def outside of WITH_THREAD conditional (closes #14569)</title>
<updated>2012-04-13T15:58:27+00:00</updated>
<author>
<name>Benjamin Peterson</name>
<email>benjamin@python.org</email>
</author>
<published>2012-04-13T15:58:27+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/commit/?id=6688eb536ab7b88ade020b0e4e51e2ea74db82d1'/>
<id>6688eb536ab7b88ade020b0e4e51e2ea74db82d1</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Issue #13156: revert changeset f6feed6ec3f9, which was only relevant for native</title>
<updated>2011-10-12T19:07:54+00:00</updated>
<author>
<name>Charles-François Natali</name>
<email>neologix@free.fr</email>
</author>
<published>2011-10-12T19:07:54+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/commit/?id=1f3ff7bc3f7cfd4e823e49dc193ab7fecb767c43'/>
<id>1f3ff7bc3f7cfd4e823e49dc193ab7fecb767c43</id>
<content type='text'>
TLS implementations, and fails with the ad-hoc TLS implementation when a thread
doesn't have an auto thread state (e.g. a thread created outside of Python
calling into a subinterpreter).
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
TLS implementations, and fails with the ad-hoc TLS implementation when a thread
doesn't have an auto thread state (e.g. a thread created outside of Python
calling into a subinterpreter).
</pre>
</div>
</content>
</entry>
<entry>
<title>Issue #10517: After fork(), reinitialize the TLS used by the PyGILState_*</title>
<updated>2011-04-27T17:20:48+00:00</updated>
<author>
<name>Antoine Pitrou</name>
<email>solipsis@pitrou.net</email>
</author>
<published>2011-04-27T17:20:48+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/commit/?id=4394e0db24f38250d487adcbd8b85f314cb86829'/>
<id>4394e0db24f38250d487adcbd8b85f314cb86829</id>
<content type='text'>
APIs, to avoid a crash with the pthread implementation in RHEL 5.  Patch
by Charles-François Natali.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
APIs, to avoid a crash with the pthread implementation in RHEL 5.  Patch
by Charles-François Natali.
</pre>
</div>
</content>
</entry>
<entry>
<title>#11565: Fix several typos. Patch by Piotr Kasprzyk.</title>
<updated>2011-03-16T10:34:31+00:00</updated>
<author>
<name>Ezio Melotti</name>
<email>ezio.melotti@gmail.com</email>
</author>
<published>2011-03-16T10:34:31+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/commit/?id=c2077b0d9b5bf99768c6f396bf7ae6c41b682465'/>
<id>c2077b0d9b5bf99768c6f396bf7ae6c41b682465</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Merged revisions 84623 via svnmerge from</title>
<updated>2010-09-08T12:40:49+00:00</updated>
<author>
<name>Antoine Pitrou</name>
<email>solipsis@pitrou.net</email>
</author>
<published>2010-09-08T12:40:49+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/commit/?id=0a7b65b7da3df16bc8c81b3654756d64eb28ff80'/>
<id>0a7b65b7da3df16bc8c81b3654756d64eb28ff80</id>
<content type='text'>
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
  r84623 | antoine.pitrou | 2010-09-08 14:37:10 +0200 (mer., 08 sept. 2010) | 4 lines

  Issue #9797: pystate.c wrongly assumed that zero couldn't be a valid
  thread-local storage key.
........
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
  r84623 | antoine.pitrou | 2010-09-08 14:37:10 +0200 (mer., 08 sept. 2010) | 4 lines

  Issue #9797: pystate.c wrongly assumed that zero couldn't be a valid
  thread-local storage key.
........
</pre>
</div>
</content>
</entry>
</feed>
