summaryrefslogtreecommitdiffstats
path: root/Include
Commit message (Collapse)AuthorAgeFilesLines
...
* Moved PyEval_InitThreads to inside WITH_THREAD, where it belongs.Guido van Rossum1997-07-191-1/+1
|
* Got rid of "suppres printing" flag.Guido van Rossum1997-07-191-1/+0
|
* Include pystate.h earlier so it can be referenced by ceval.h.Guido van Rossum1997-07-181-2/+2
|
* PyEval_SaveThread() and PyEval_RestoreThread() now return/take aGuido van Rossum1997-07-181-3/+6
| | | | | | | | | | | | | | | | PyThreadState pointer instead of a (frame) PyObject pointer. This makes much more sense. It is backward incompatible, but that's no problem, because (a) the heaviest users are the Py_{BEGIN,END}_ ALLOW_THREADS macros here, which have been fixed too; (b) there are very few direct users; (c) those who use it are there will probably appreciate the change. Also, added new functions PyEval_AcquireThread() and PyEval_ReleaseThread() which allows the threads created by the thread module as well threads created by others (!) to set/reset the current thread, and at the same time acquire/release the interpreter lock. Much saner.
* Only add 1 byte to all malloc calls when it is known that malloc(0) orGuido van Rossum1997-07-101-3/+11
| | | | | realloc(p, 0) returns NULL. See changes to configure script to be checked in later.
* flushline and writestring can now return an errorGuido van Rossum1997-05-222-2/+2
|
* Added Py_PROTO macros for SunOS 4.x /bin/cc.Guido van Rossum1997-05-201-6/+6
|
* Workaround for bug in Metrowerks MSL headers on 68K Macs (Jack)Guido van Rossum1997-05-201-0/+47
|
* Oops, another forgotten renaming: varobject -> PyVarObject.Guido van Rossum1997-05-153-4/+5
|
* Bump level to 1.5a2.Guido van Rossum1997-05-141-1/+1
|
* Subsumed mappingobject.h in dictobject.h.Guido van Rossum1997-05-133-68/+22
|
* Get rid of obsolete ACCESS_MODE opcode.Guido van Rossum1997-05-091-1/+0
|
* Oops, rename2.h was included by some other headers.Guido van Rossum1997-05-072-7/+0
|
* Instead of importing graminit.h whenever one of the three grammar 'root'Guido van Rossum1997-05-071-0/+6
| | | | symbols is needed, define these in Python.h with a Py_ prefix.
* Checkin of Jack's buffer mods.Guido van Rossum1997-05-051-1/+13
| | | | Not really checked, but didn't fail any tests either...
* Massive changes for separate thread state management.Guido van Rossum1997-05-055-1/+157
| | | | | All per-thread globals are moved into a struct which is manipulated separately.
* Remove sys_* defines that are internal only and about to disappearGuido van Rossum1997-05-051-3/+0
|
* Finally deleted this obsolete crud.Guido van Rossum1997-05-021-79/+0
|
* Several oopsies -- Py_ALLOBJECTS_H -> Py_PYTHON_H, temporarily removedGuido van Rossum1997-05-021-6/+3
| | | | | pystate.h (to be restored later when that code is debugged), removed accessobject.h.
* Moved allobjects.h to Python.h (without rename2.h).Guido van Rossum1997-05-022-121/+116
| | | | | allobjects.h disappears -- old-style extensions must include Python.h and rename2.h.
* Renamed inittab.Guido van Rossum1997-04-291-1/+1
|
* Added new name for inittab!Guido van Rossum1997-04-291-0/+1
|
* Remove macros that are only used for cgensupport.[ch].Guido van Rossum1997-04-291-14/+2
| | | | Fixed typo in PyArg_VaParse (not PyArgs_*).
* Moved cgensupport.h to Modules (awaiting oblivion).Guido van Rossum1997-04-291-94/+0
|
* Moved rename2's macros relevant to this module here and added commentGuido van Rossum1997-04-291-0/+15
| | | | about the file's obsolescence.
* Got rid of the static decl of PyCObject_Import, which was a 1.4Guido van Rossum1997-04-091-19/+4
| | | | compatibility hack.
* Changed the way the C API was exported. Jim Fulton.Guido van Rossum1997-04-091-39/+47
|
* Added assert grammar.Guido van Rossum1997-04-021-32/+33
|
* Added AssertionError.Guido van Rossum1997-04-021-0/+1
|
* Remove ConflictError (which was also removed from bltinmodule.c, evenGuido van Rossum1997-03-311-1/+0
| | | | though the checkin message failed to note that).
* Remove err_input -- there is no such global!Guido van Rossum1997-03-141-1/+0
|
* Remove redundant references to thread stuff -- long, long ago, thereGuido van Rossum1997-03-141-6/+0
| | | | was some locking code in this file that needed it...
* Add Macros defining new names for all external symbols.Guido van Rossum1997-03-142-0/+36
|
* Change PyFPE_END_PROTECT to PyFPE_END_PROTECT(v). v should be theGuido van Rossum1997-03-141-3/+3
| | | | | | last variable to which a floating point expression is assigned. The macro passes its address to a dummy function so that the optimizer can't delay calculating its value until after the macro.
* A few comment alignment and clarifications.Guido van Rossum1997-03-041-3/+5
|
* Add global Py_OptimizeFlag.Guido van Rossum1997-03-031-0/+1
|
* Changes for Lee Busby's SIGFPE patch set.Guido van Rossum1997-02-144-0/+168
| | | | New file pyfpe.h, new exception FloatingPointError.
* Fix the comments for bitwise and/or.Guido van Rossum1997-02-141-6/+6
|
* Added decl for Py_FdIsInteractive.Guido van Rossum1997-02-141-0/+2
|
* Added decl for Py_InteractiveFlag.Guido van Rossum1997-02-141-0/+1
|
* Added prototype for PyErr_Format(exception, formatstring, ...) -> NULL.Guido van Rossum1997-02-141-0/+1
|
* Added PyArg_ParseTupleAndKeywords() prototype.Guido van Rossum1997-02-141-0/+2
|
* djgpp support.Guido van Rossum1997-02-141-1/+1
|
* Add co_firstlineno and co_lnotab, for the line number table generatedGuido van Rossum1997-01-241-1/+4
| | | | by the compiler (in lieu of SET_LINENO instructions).
* Added PyCObject_Import.Guido van Rossum1997-01-221-0/+4
|
* Bump version to 1.5a1.Guido van Rossum1997-01-221-1/+1
|
* New lay-out of frame object, for fewer mallocs.Guido van Rossum1997-01-201-9/+8
| | | | See frameobject.c checkin message.
* Bump API version due to the various speedup hacks.Guido van Rossum1997-01-181-2/+4
|
* Two speedup hacks. Caching the hash saves recalculation of a string'sGuido van Rossum1997-01-181-3/+23
| | | | | | | | | | hash value. Interning strings (which requires hash caching) tries to ensure that only one string object with a given value exists, so equality tests are one pointer comparison. Together, these can speed the interpreter up by as much as 20%. Each costs the size of a long or pointer per string object. In addition, interned strings live until the end of times. If you are concerned about memory footprint, simply comment the #define out here (and rebuild everything!).
* Add co_stacksize field to codeobject structure, and stacksize argumentGuido van Rossum1997-01-171-1/+3
| | | | | to PyCode_New() argument list. Also add CO_MAXBLOCKS constant indicating the maximum static nesting supported by the compiler.