<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/cpython-git.git/Include/Python.h, branch v1.5.2b2</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>New version identification scheme.</title>
<updated>1999-01-03T12:40:24+00:00</updated>
<author>
<name>Guido van Rossum</name>
<email>guido@python.org</email>
</author>
<published>1999-01-03T12:40:24+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/commit/?id=f1176c4815cd628ae443b5c4b0e1841588369776'/>
<id>f1176c4815cd628ae443b5c4b0e1841588369776</id>
<content type='text'>
The version numbers are now exported by Python.h.
Also rolled back the API version change -- it's back to 1007!
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The version numbers are now exported by Python.h.
Also rolled back the API version change -- it's back to 1007!
</pre>
</div>
</content>
</entry>
<entry>
<title>Add DL_IMPORT(returntype) for all officially exported functions.</title>
<updated>1998-12-04T18:48:25+00:00</updated>
<author>
<name>Guido van Rossum</name>
<email>guido@python.org</email>
</author>
<published>1998-12-04T18:48:25+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/commit/?id=43466ec7b07de6bcad016bec60839cd6079c5a9c'/>
<id>43466ec7b07de6bcad016bec60839cd6079c5a9c</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Add Greg Stein's buffer object API.</title>
<updated>1998-10-07T14:36:10+00:00</updated>
<author>
<name>Guido van Rossum</name>
<email>guido@python.org</email>
</author>
<published>1998-10-07T14:36:10+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/commit/?id=2e19bd7cc7520052b0c6e3d3da6baf45fb3b5e6b'/>
<id>2e19bd7cc7520052b0c6e3d3da6baf45fb3b5e6b</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>On SGI, we need to define _SGI_MP_SOURCE before including errno.h when</title>
<updated>1998-05-26T18:38:07+00:00</updated>
<author>
<name>Guido van Rossum</name>
<email>guido@python.org</email>
</author>
<published>1998-05-26T18:38:07+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/commit/?id=90ce8488481521e5ddd1fe5ed942e1df4acd6365'/>
<id>90ce8488481521e5ddd1fe5ed942e1df4acd6365</id>
<content type='text'>
we are threading, otherwise accessing errno doesn't work right.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
we are threading, otherwise accessing errno doesn't work right.
</pre>
</div>
</content>
</entry>
<entry>
<title>Mass checkin (more to follow for other directories).</title>
<updated>1997-08-02T02:56:48+00:00</updated>
<author>
<name>Guido van Rossum</name>
<email>guido@python.org</email>
</author>
<published>1997-08-02T02:56:48+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/commit/?id=29e46a9a12592b89d81f87245b903486c589695a'/>
<id>29e46a9a12592b89d81f87245b903486c589695a</id>
<content type='text'>
Introduce truly separate (sub)interpreter objects.  For now, these
must be used by separate threads, created from C.  See Demo/pysvr for
an example of how to use this.  This also rationalizes Python's
initialization and finalization behavior:

Py_Initialize() -- initialize the whole interpreter
Py_Finalize() -- finalize the whole interpreter

tstate = Py_NewInterpreter() -- create a new (sub)interpreter
Py_EndInterpreter(tstate) -- delete a new (sub)interpreter

There are also new interfaces relating to threads and the interpreter
lock, which can be used to create new threads, and sometimes have to
be used to manipulate the interpreter lock when creating or deleting
sub-interpreters.  These are only defined when WITH_THREAD is defined:

PyEval_AcquireLock() -- acquire the interpreter lock
PyEval_ReleaseLock() -- release the interpreter lock

PyEval_AcquireThread(tstate) -- acquire the lock and make the thread current
PyEval_ReleaseThread(tstate) -- release the lock and make NULL current

Other administrative changes:

- The header file bltinmodule.h is deleted.

- The init functions for Import, Sys and Builtin are now internal and
  declared in pythonrun.h.

- Py_Setup() and Py_Cleanup() are no longer declared.

- The interpreter state and thread state structures are now linked
  together in a chain (the chain of interpreters is a static variable
  in pythonrun.c).

- Some members of the interpreter and thread structures have new,
  shorter, more consistent, names.

- Added declarations for _PyImport_{Find,Fixup}Extension() to import.h.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Introduce truly separate (sub)interpreter objects.  For now, these
must be used by separate threads, created from C.  See Demo/pysvr for
an example of how to use this.  This also rationalizes Python's
initialization and finalization behavior:

Py_Initialize() -- initialize the whole interpreter
Py_Finalize() -- finalize the whole interpreter

tstate = Py_NewInterpreter() -- create a new (sub)interpreter
Py_EndInterpreter(tstate) -- delete a new (sub)interpreter

There are also new interfaces relating to threads and the interpreter
lock, which can be used to create new threads, and sometimes have to
be used to manipulate the interpreter lock when creating or deleting
sub-interpreters.  These are only defined when WITH_THREAD is defined:

PyEval_AcquireLock() -- acquire the interpreter lock
PyEval_ReleaseLock() -- release the interpreter lock

PyEval_AcquireThread(tstate) -- acquire the lock and make the thread current
PyEval_ReleaseThread(tstate) -- release the lock and make NULL current

Other administrative changes:

- The header file bltinmodule.h is deleted.

- The init functions for Import, Sys and Builtin are now internal and
  declared in pythonrun.h.

- Py_Setup() and Py_Cleanup() are no longer declared.

- The interpreter state and thread state structures are now linked
  together in a chain (the chain of interpreters is a static variable
  in pythonrun.c).

- Some members of the interpreter and thread structures have new,
  shorter, more consistent, names.

- Added declarations for _PyImport_{Find,Fixup}Extension() to import.h.
</pre>
</div>
</content>
</entry>
<entry>
<title>Include pystate.h earlier so it can be referenced by ceval.h.</title>
<updated>1997-07-18T23:59:26+00:00</updated>
<author>
<name>Guido van Rossum</name>
<email>guido@python.org</email>
</author>
<published>1997-07-18T23:59:26+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/commit/?id=618af4b3ef08d5eee9c36fafd4cd57c54573f95e'/>
<id>618af4b3ef08d5eee9c36fafd4cd57c54573f95e</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Subsumed mappingobject.h in dictobject.h.</title>
<updated>1997-05-13T21:23:32+00:00</updated>
<author>
<name>Guido van Rossum</name>
<email>guido@python.org</email>
</author>
<published>1997-05-13T21:23:32+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/commit/?id=2ec9031b5589db81026f5fc3a11070002ec4d0d7'/>
<id>2ec9031b5589db81026f5fc3a11070002ec4d0d7</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Instead of importing graminit.h whenever one of the three grammar 'root'</title>
<updated>1997-05-07T17:46:13+00:00</updated>
<author>
<name>Guido van Rossum</name>
<email>guido@python.org</email>
</author>
<published>1997-05-07T17:46:13+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/commit/?id=b05a5c7698cd8dff3e5c02e513db765ba12281f0'/>
<id>b05a5c7698cd8dff3e5c02e513db765ba12281f0</id>
<content type='text'>
symbols is needed, define these in Python.h with a Py_ prefix.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
symbols is needed, define these in Python.h with a Py_ prefix.
</pre>
</div>
</content>
</entry>
<entry>
<title>Massive changes for separate thread state management.</title>
<updated>1997-05-05T20:56:21+00:00</updated>
<author>
<name>Guido van Rossum</name>
<email>guido@python.org</email>
</author>
<published>1997-05-05T20:56:21+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/commit/?id=a027efa5bfa7911b5c4b522b6a0698749a6f2e4a'/>
<id>a027efa5bfa7911b5c4b522b6a0698749a6f2e4a</id>
<content type='text'>
All per-thread globals are moved into a struct which is manipulated
separately.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
All per-thread globals are moved into a struct which is manipulated
separately.
</pre>
</div>
</content>
</entry>
<entry>
<title>Several oopsies -- Py_ALLOBJECTS_H -&gt; Py_PYTHON_H, temporarily removed</title>
<updated>1997-05-02T04:00:11+00:00</updated>
<author>
<name>Guido van Rossum</name>
<email>guido@python.org</email>
</author>
<published>1997-05-02T04:00:11+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/commit/?id=d27b4f2a3f6a90dfcc5eb6fb30c1a895ed60142d'/>
<id>d27b4f2a3f6a90dfcc5eb6fb30c1a895ed60142d</id>
<content type='text'>
pystate.h (to be restored later when that code is debugged), removed
accessobject.h.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
pystate.h (to be restored later when that code is debugged), removed
accessobject.h.
</pre>
</div>
</content>
</entry>
</feed>
