summaryrefslogtreecommitdiffstats
path: root/Include/import.h
Commit message (Collapse)AuthorAgeFilesLines
* Change copyright notice - 2nd try.Guido van Rossum2000-06-301-6/+0
|
* Change copyright notice.Guido van Rossum2000-06-301-21/+6
|
* Chris Herborth writes:Guido van Rossum1999-01-041-5/+0
| | | | Donn Cave tells me the PyImport_BeImageID() function isn't needed anymore.
* Add DL_IMPORT(returntype) for all officially exported functions.Guido van Rossum1998-12-041-16/+16
|
* Changes for BeOS, QNX and long long, by Chris Herborth.Guido van Rossum1998-08-041-0/+5
|
* Add PyImport_AppendInittab() an PyImport_ExtendInittab().Guido van Rossum1998-06-291-0/+3
|
* Added PyImport_ExecCodeModuleEx(), which adds an extra parameter to passGuido van Rossum1998-02-111-0/+2
| | | | it the true file.
* Remove the declaration of "internal" table _PyImport_Inittab[]; addGuido van Rossum1997-10-311-3/+1
| | | | new "official" pointer *PyImport_Inittab.
* Added PyImport_ImportModuleEx(name, globals, locals, fromlist); thisGuido van Rossum1997-09-051-0/+2
| | | | | | 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).
* Added prototype for PyImport_Import().Guido van Rossum1997-08-141-0/+1
|
* Mass checkin (more to follow for other directories).Guido van Rossum1997-08-021-1/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* Renamed inittab.Guido van Rossum1997-04-291-1/+1
|
* New permission notice, includes CNRI.Guido van Rossum1996-10-251-12/+19
|
* Add defs for struct _frozen and struct _frozen *PyImport_FrozenModules();Guido van Rossum1996-06-171-0/+13
|
* Added decl for PyImport_Init.Guido van Rossum1996-05-221-2/+6
| | | | Changed decl for inittab to define struct _inittab first.
* exec_dode_object/PyImport_ExecCodeObject is now externally visibleJack Jansen1995-02-151-1/+2
|
* The great renaming, phase two: all header files have been updated toGuido van Rossum1995-01-121-5/+5
| | | | | | | 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".
* Added 1995 copyright.Guido van Rossum1995-01-041-2/+2
| | | | | | object.h: made sizes and refcnts signed ints. stringobject.h: make getstrsize() signed int. methodobject.h: add METH_VARARGS and METH_FREENAME flag bit definitions.
* Lots of small things, see ChangeLogGuido van Rossum1994-12-301-0/+1
|
* Merge alpha100 branch back to main trunkGuido van Rossum1994-08-011-1/+1
|
* * Added support for X11 modules.Guido van Rossum1993-07-281-0/+11
| | | | | | | * Makefile: change location of FORMS library. * posixmodule.c: turn #if 0 into #ifdef MSDOS (stuff in unistd.h or not) * Almost all .h files: added CPP magic to avoid duplicate inclusions and to support inclusion from C++.
* * Added Fixcprt.py: script to fix copyright message.Guido van Rossum1993-01-261-2/+7
| | | | | | | | | | | * various modules: added 1993 to copyright. * thread.c: added copyright notice. * ceval.c: minor change to error message for "+" * stdwinmodule.c: check for error from wfetchcolor * config.c: MS-DOS fixes (define PYTHONPATH, use DELIM, use osdefs.h) * Add declaration of inittab to import.h * sysmodule.c: added sys.builtin_module_names * xxmodule.c, xxobject.c: fix minor errors
* Copyright for 1992 addedGuido van Rossum1992-04-051-1/+1
|
* Added copyright notice.Guido van Rossum1991-02-191-0/+24
|
* "Compiling" versionGuido van Rossum1990-12-201-3/+5
|
* Added prototype for reload_module.Guido van Rossum1990-10-261-3/+1
|
* Initial revisionGuido van Rossum1990-10-141-0/+7