<feed xmlns='http://www.w3.org/2005/Atom'>
<title>python.git/Include/import.h, branch v1.5</title>
<subtitle>Python interpreter</subtitle>
<id>http://dangofactory.net/cgit/cgit.cgi/Server/python.git/atom/Include/import.h?h=v1.5</id>
<link rel='self' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/atom/Include/import.h?h=v1.5'/>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/'/>
<updated>1997-10-31T18:36:47Z</updated>
<entry>
<title>Remove the declaration of "internal" table _PyImport_Inittab[]; add</title>
<updated>1997-10-31T18:36:47Z</updated>
<author>
<name>Guido van Rossum</name>
<email>guido@python.org</email>
</author>
<published>1997-10-31T18:36:47Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=66959aff6831b5ce6ecc2a9a8d38041198b355aa'/>
<id>urn:sha1:66959aff6831b5ce6ecc2a9a8d38041198b355aa</id>
<content type='text'>
new "official" pointer *PyImport_Inittab.
</content>
</entry>
<entry>
<title>Added PyImport_ImportModuleEx(name, globals, locals, fromlist); this</title>
<updated>1997-09-05T07:11:32Z</updated>
<author>
<name>Guido van Rossum</name>
<email>guido@python.org</email>
</author>
<published>1997-09-05T07:11:32Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=026de19906695cc0f63977da4e7740214048ba6f'/>
<id>urn:sha1:026de19906695cc0f63977da4e7740214048ba6f</id>
<content type='text'>
is like PyImport_ImporModule(name) but receives the globals and locals
dict and the fromlist arguments as well.  (The name is a char*; the
others are PyObject*s).
</content>
</entry>
<entry>
<title>Added prototype for PyImport_Import().</title>
<updated>1997-08-14T19:52:09Z</updated>
<author>
<name>Guido van Rossum</name>
<email>guido@python.org</email>
</author>
<published>1997-08-14T19:52:09Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=9faabb8d2304c618441d8df77cf9ff0b483e4612'/>
<id>urn:sha1:9faabb8d2304c618441d8df77cf9ff0b483e4612</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>Renamed inittab.</title>
<updated>1997-04-29T20:31:59Z</updated>
<author>
<name>Guido van Rossum</name>
<email>guido@python.org</email>
</author>
<published>1997-04-29T20:31:59Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=87490eb3b0c5b256da533fd0d9651ef94e176d51'/>
<id>urn:sha1:87490eb3b0c5b256da533fd0d9651ef94e176d51</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>Add defs for struct _frozen and struct _frozen *PyImport_FrozenModules();</title>
<updated>1996-06-17T17:05:01Z</updated>
<author>
<name>Guido van Rossum</name>
<email>guido@python.org</email>
</author>
<published>1996-06-17T17:05:01Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=4ee68d91c361e783de29249582b67e6bccd116bd'/>
<id>urn:sha1:4ee68d91c361e783de29249582b67e6bccd116bd</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Added decl for PyImport_Init.</title>
<updated>1996-05-22T17:25:28Z</updated>
<author>
<name>Guido van Rossum</name>
<email>guido@python.org</email>
</author>
<published>1996-05-22T17:25:28Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=39c2aae19807c4275616655912661a4710768405'/>
<id>urn:sha1:39c2aae19807c4275616655912661a4710768405</id>
<content type='text'>
Changed decl for inittab to define struct _inittab first.
</content>
</entry>
<entry>
<title>exec_dode_object/PyImport_ExecCodeObject is now externally visible</title>
<updated>1995-02-15T22:55:45Z</updated>
<author>
<name>Jack Jansen</name>
<email>jack.jansen@cwi.nl</email>
</author>
<published>1995-02-15T22:55:45Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=3cfc8bd8415d504c18d44103c4e4ce1e193d5a49'/>
<id>urn:sha1:3cfc8bd8415d504c18d44103c4e4ce1e193d5a49</id>
<content type='text'>
</content>
</entry>
<entry>
<title>The great renaming, phase two: all header files have been updated to</title>
<updated>1995-01-12T11:45:45Z</updated>
<author>
<name>Guido van Rossum</name>
<email>guido@python.org</email>
</author>
<published>1995-01-12T11:45:45Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=caa63808861d4e92d4dc1005fc01de0f2e4a8fd0'/>
<id>urn:sha1:caa63808861d4e92d4dc1005fc01de0f2e4a8fd0</id>
<content type='text'>
use the new names exclusively, and the linker will see the new names.
Files that import "Python.h" also only see the new names.  Files that
import "allobjects.h" will continue to be able to use the old names,
due to the inclusion (in allobjects.h) of "rename2.h".
</content>
</entry>
</feed>
