<feed xmlns='http://www.w3.org/2005/Atom'>
<title>python.git/Include/pythonrun.h, branch v1.5</title>
<subtitle>Python interpreter</subtitle>
<id>http://dangofactory.net/cgit/cgit.cgi/Server/python.git/atom/Include/pythonrun.h?h=v1.5</id>
<link rel='self' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/atom/Include/pythonrun.h?h=v1.5'/>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/'/>
<updated>1997-08-29T21:57:07Z</updated>
<entry>
<title>Declarations for two phase initialization and finalization functions</title>
<updated>1997-08-29T21:57:07Z</updated>
<author>
<name>Barry Warsaw</name>
<email>barry@python.org</email>
</author>
<published>1997-08-29T21:57:07Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=0596c2ac2850f9a978d19a2109794a7cafa20524'/>
<id>urn:sha1:0596c2ac2850f9a978d19a2109794a7cafa20524</id>
<content type='text'>
for the built-in module.
</content>
</entry>
<entry>
<title>Added new Py_IsInitalized() API function to test the 'initialized' flag.</title>
<updated>1997-08-22T04:20:13Z</updated>
<author>
<name>Guido van Rossum</name>
<email>guido@python.org</email>
</author>
<published>1997-08-22T04:20:13Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=e3c0d5eb3452f8bfcc15bf1e2985dcc83fa01901'/>
<id>urn:sha1:e3c0d5eb3452f8bfcc15bf1e2985dcc83fa01901</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Added decls for stuff from myreadline.</title>
<updated>1997-08-12T15:14:22Z</updated>
<author>
<name>Guido van Rossum</name>
<email>guido@python.org</email>
</author>
<published>1997-08-12T15:14:22Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=3fb1aea0ae86dad369f417e5aa1c6c42a22ce238'/>
<id>urn:sha1:3fb1aea0ae86dad369f417e5aa1c6c42a22ce238</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Added prototype for various finalizers.</title>
<updated>1997-08-12T14:57:21Z</updated>
<author>
<name>Guido van Rossum</name>
<email>guido@python.org</email>
</author>
<published>1997-08-12T14:57:21Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=8e5e4461a8a65cf13f593c3a30b67f3ebb964c75'/>
<id>urn:sha1:8e5e4461a8a65cf13f593c3a30b67f3ebb964c75</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Mass checkin (more to follow for other directories).</title>
<updated>1997-08-02T02:56:48Z</updated>
<author>
<name>Guido van Rossum</name>
<email>guido@python.org</email>
</author>
<published>1997-08-02T02:56:48Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=29e46a9a12592b89d81f87245b903486c589695a'/>
<id>urn:sha1: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>
</entry>
<entry>
<title>Added declarations for Py_{Set,Get}ProgramName() and a bunch of other</title>
<updated>1997-07-19T19:50:52Z</updated>
<author>
<name>Guido van Rossum</name>
<email>guido@python.org</email>
</author>
<published>1997-07-19T19:50:52Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=57d8e3f1c7207926cab62b45be35bc44d33f00da'/>
<id>urn:sha1:57d8e3f1c7207926cab62b45be35bc44d33f00da</id>
<content type='text'>
Py_Get*() functions.
</content>
</entry>
<entry>
<title>Added decl for Py_FdIsInteractive.</title>
<updated>1997-02-14T19:51:34Z</updated>
<author>
<name>Guido van Rossum</name>
<email>guido@python.org</email>
</author>
<published>1997-02-14T19:51:34Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=5c4998b23660c367442ed51be03b7eb273700f85'/>
<id>urn:sha1:5c4998b23660c367442ed51be03b7eb273700f85</id>
<content type='text'>
</content>
</entry>
<entry>
<title>New permission notice, includes CNRI.</title>
<updated>1996-10-25T14:44:06Z</updated>
<author>
<name>Guido van Rossum</name>
<email>guido@python.org</email>
</author>
<published>1996-10-25T14:44:06Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=d266eb460e20ded087d01a29da0a230e235afc40'/>
<id>urn:sha1:d266eb460e20ded087d01a29da0a230e235afc40</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Don't declare Py_FatalError.</title>
<updated>1996-05-22T17:30:12Z</updated>
<author>
<name>Guido van Rossum</name>
<email>guido@python.org</email>
</author>
<published>1996-05-22T17:30:12Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=b9d876020dbeac32fb179712c4f4f8eedf9cbdbd'/>
<id>urn:sha1:b9d876020dbeac32fb179712c4f4f8eedf9cbdbd</id>
<content type='text'>
Add Py_mport_Init and PyBuiltin_Init.
</content>
</entry>
<entry>
<title>add Py_FatalError</title>
<updated>1995-02-17T15:01:39Z</updated>
<author>
<name>Guido van Rossum</name>
<email>guido@python.org</email>
</author>
<published>1995-02-17T15:01:39Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=fe299f9408ab3e3c9260a68cd0000fa88b46a143'/>
<id>urn:sha1:fe299f9408ab3e3c9260a68cd0000fa88b46a143</id>
<content type='text'>
</content>
</entry>
</feed>
