<feed xmlns='http://www.w3.org/2005/Atom'>
<title>python.git/Include/pystate.h, branch v2.3.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/Include/pystate.h?h=v2.3.2</id>
<link rel='self' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/atom/Include/pystate.h?h=v2.3.2'/>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/'/>
<updated>2003-06-28T21:53:52Z</updated>
<entry>
<title>Add PyThreadState_SetAsyncExc(long, PyObject *).</title>
<updated>2003-06-28T21:53:52Z</updated>
<author>
<name>Guido van Rossum</name>
<email>guido@python.org</email>
</author>
<published>2003-06-28T21:53:52Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=b8b6d0c2c63bcd9252ce20ef990da093dda8b8ce'/>
<id>urn:sha1:b8b6d0c2c63bcd9252ce20ef990da093dda8b8ce</id>
<content type='text'>
A new API (only accessible from C) to interrupt a thread by sending it
an exception.  This is not always effective, but might help some people.
Requested by Just van Rossum and Alex Martelli.  It is intentional
that you have to write your own C extension to call it from Python.

Docs will have to wait.
</content>
</entry>
<entry>
<title>New PyGILState_ API - implements pep 311, from patch 684256.</title>
<updated>2003-04-19T15:41:53Z</updated>
<author>
<name>Mark Hammond</name>
<email>mhammond@skippinet.com.au</email>
</author>
<published>2003-04-19T15:41:53Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=8d98d2cb95ac37147a4de5a119869211e8351324'/>
<id>urn:sha1:8d98d2cb95ac37147a4de5a119869211e8351324</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Fixed SF bug #663074. The codec system was using global static</title>
<updated>2003-03-19T00:35:36Z</updated>
<author>
<name>Gustavo Niemeyer</name>
<email>gustavo@niemeyer.net</email>
</author>
<published>2003-03-19T00:35:36Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=5ddd4c3f77abe9282479d901696dfa73e6c3d573'/>
<id>urn:sha1:5ddd4c3f77abe9282479d901696dfa73e6c3d573</id>
<content type='text'>
variables to store internal data. As a result, any atempts to use the
unicode system with multiple active interpreters, or successive
interpreter executions, would fail.

Now that information is stored into members of the PyInterpreterState
structure.
</content>
</entry>
<entry>
<title>- PyEval_GetFrame() is now declared to return a PyFrameObject *</title>
<updated>2003-02-19T15:53:17Z</updated>
<author>
<name>Guido van Rossum</name>
<email>guido@python.org</email>
</author>
<published>2003-02-19T15:53:17Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=6297a7a9fbf7675bf23a9b5aa822ed5aaec19647'/>
<id>urn:sha1:6297a7a9fbf7675bf23a9b5aa822ed5aaec19647</id>
<content type='text'>
  instead of a plain PyObject *.  (SF patch #686601 by Ben Laurie.)
</content>
</entry>
<entry>
<title>Assorted patches from Armin Rigo:</title>
<updated>2002-11-08T12:53:11Z</updated>
<author>
<name>Michael W. Hudson</name>
<email>mwh@python.net</email>
</author>
<published>2002-11-08T12:53:11Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=019a78e76d3542d4d56a08015e6980f8c8aeaba1'/>
<id>urn:sha1:019a78e76d3542d4d56a08015e6980f8c8aeaba1</id>
<content type='text'>
[ 617309 ] getframe hook (Psyco #1)
[ 617311 ] Tiny profiling info (Psyco #2)
[ 617312 ] debugger-controlled jumps (Psyco #3)

These are forward ports from 2.2.2.
</content>
</entry>
<entry>
<title>replace thread state objects' ticker and checkinterval fields with two</title>
<updated>2002-09-03T20:10:45Z</updated>
<author>
<name>Skip Montanaro</name>
<email>skip@pobox.com</email>
</author>
<published>2002-09-03T20:10:45Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=d581d7792bc31e6249ee6ed20bc2a71f53f0d3bb'/>
<id>urn:sha1:d581d7792bc31e6249ee6ed20bc2a71f53f0d3bb</id>
<content type='text'>
globals, _Py_Ticker and _Py_CheckInterval.  This also implements Jeremy's
shortcut in Py_AddPendingCall that zeroes out _Py_Ticker.  This allows the
test in the main loop to only test a single value.

The gory details are at

    http://python.org/sf/602191
</content>
</entry>
<entry>
<title>Excise DL_EXPORT from Include.</title>
<updated>2002-08-12T07:21:58Z</updated>
<author>
<name>Mark Hammond</name>
<email>mhammond@skippinet.com.au</email>
</author>
<published>2002-08-12T07:21:58Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=91a681debf9ffec155d0aff8a0bb5f965f592e16'/>
<id>urn:sha1:91a681debf9ffec155d0aff8a0bb5f965f592e16</id>
<content type='text'>
Thanks to Skip Montanaro and Kalle Svensson for the patches.
</content>
</entry>
<entry>
<title>Add a low-level API to access interpreters, for David Beazley.</title>
<updated>2001-07-19T12:19:27Z</updated>
<author>
<name>Guido van Rossum</name>
<email>guido@python.org</email>
</author>
<published>2001-07-19T12:19:27Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=f5df46d701d29baf738365da6fcf1b8a3ceabb71'/>
<id>urn:sha1:f5df46d701d29baf738365da6fcf1b8a3ceabb71</id>
<content type='text'>
SF patch #436376.
</content>
</entry>
<entry>
<title>Patch #412229: Add functions sys.getdlopenflags and sys.setdlopenflags.</title>
<updated>2001-07-18T16:17:16Z</updated>
<author>
<name>Martin v. Löwis</name>
<email>martin@v.loewis.de</email>
</author>
<published>2001-07-18T16:17:16Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=f0473d511b7f883bfff3048f55e3a6adc7a43cb9'/>
<id>urn:sha1:f0473d511b7f883bfff3048f55e3a6adc7a43cb9</id>
<content type='text'>
Add dlopenflags to PyInterpreterState, and use it in dlopen calls.
</content>
</entry>
<entry>
<title>This change adjusts the profiling/tracing support so that the common</title>
<updated>2001-07-03T23:39:52Z</updated>
<author>
<name>Fred Drake</name>
<email>fdrake@acm.org</email>
</author>
<published>2001-07-03T23:39:52Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=9e3ad7844425d96baf856d3da1975756504b2aa5'/>
<id>urn:sha1:9e3ad7844425d96baf856d3da1975756504b2aa5</id>
<content type='text'>
path (with no profile/trace function) through eval_code2() and
eval_frame() avoids several checks.

In the common cases of calls, returns, and exception propogation,
eval_code2() and eval_frame() used to test two values in the
thread-state: the profiling function and the tracing function.  With
this change, a flag is set in the thread-state if either of these is
active, allowing a single check to suffice when both are NULL.  This
also simplifies the code needed when either function is in use but is
already active (to avoid profiling/tracing the profiler/tracer); the
flag is set to 0 when the profile/trace code is entered, allowing the
same check to suffice for "already in the tracer" for call/return/
exception events.
</content>
</entry>
</feed>
