Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | PyEval_SaveThread() and PyEval_RestoreThread() now return/take a | Guido van Rossum | 1997-07-18 | 1 | -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) or | Guido van Rossum | 1997-07-10 | 1 | -3/+11 |
| | | | | | realloc(p, 0) returns NULL. See changes to configure script to be checked in later. | ||||
* | flushline and writestring can now return an error | Guido van Rossum | 1997-05-22 | 2 | -2/+2 |
| | |||||
* | Added Py_PROTO macros for SunOS 4.x /bin/cc. | Guido van Rossum | 1997-05-20 | 1 | -6/+6 |
| | |||||
* | Workaround for bug in Metrowerks MSL headers on 68K Macs (Jack) | Guido van Rossum | 1997-05-20 | 1 | -0/+47 |
| | |||||
* | Oops, another forgotten renaming: varobject -> PyVarObject. | Guido van Rossum | 1997-05-15 | 3 | -4/+5 |
| | |||||
* | Bump level to 1.5a2. | Guido van Rossum | 1997-05-14 | 1 | -1/+1 |
| | |||||
* | Subsumed mappingobject.h in dictobject.h. | Guido van Rossum | 1997-05-13 | 3 | -68/+22 |
| | |||||
* | Get rid of obsolete ACCESS_MODE opcode. | Guido van Rossum | 1997-05-09 | 1 | -1/+0 |
| | |||||
* | Oops, rename2.h was included by some other headers. | Guido van Rossum | 1997-05-07 | 2 | -7/+0 |
| | |||||
* | Instead of importing graminit.h whenever one of the three grammar 'root' | Guido van Rossum | 1997-05-07 | 1 | -0/+6 |
| | | | | symbols is needed, define these in Python.h with a Py_ prefix. | ||||
* | Checkin of Jack's buffer mods. | Guido van Rossum | 1997-05-05 | 1 | -1/+13 |
| | | | | Not really checked, but didn't fail any tests either... | ||||
* | Massive changes for separate thread state management. | Guido van Rossum | 1997-05-05 | 5 | -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 disappear | Guido van Rossum | 1997-05-05 | 1 | -3/+0 |
| | |||||
* | Finally deleted this obsolete crud. | Guido van Rossum | 1997-05-02 | 1 | -79/+0 |
| | |||||
* | Several oopsies -- Py_ALLOBJECTS_H -> Py_PYTHON_H, temporarily removed | Guido van Rossum | 1997-05-02 | 1 | -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 Rossum | 1997-05-02 | 2 | -121/+116 |
| | | | | | allobjects.h disappears -- old-style extensions must include Python.h and rename2.h. | ||||
* | Renamed inittab. | Guido van Rossum | 1997-04-29 | 1 | -1/+1 |
| | |||||
* | Added new name for inittab! | Guido van Rossum | 1997-04-29 | 1 | -0/+1 |
| | |||||
* | Remove macros that are only used for cgensupport.[ch]. | Guido van Rossum | 1997-04-29 | 1 | -14/+2 |
| | | | | Fixed typo in PyArg_VaParse (not PyArgs_*). | ||||
* | Moved cgensupport.h to Modules (awaiting oblivion). | Guido van Rossum | 1997-04-29 | 1 | -94/+0 |
| | |||||
* | Moved rename2's macros relevant to this module here and added comment | Guido van Rossum | 1997-04-29 | 1 | -0/+15 |
| | | | | about the file's obsolescence. | ||||
* | Got rid of the static decl of PyCObject_Import, which was a 1.4 | Guido van Rossum | 1997-04-09 | 1 | -19/+4 |
| | | | | compatibility hack. | ||||
* | Changed the way the C API was exported. Jim Fulton. | Guido van Rossum | 1997-04-09 | 1 | -39/+47 |
| | |||||
* | Added assert grammar. | Guido van Rossum | 1997-04-02 | 1 | -32/+33 |
| | |||||
* | Added AssertionError. | Guido van Rossum | 1997-04-02 | 1 | -0/+1 |
| | |||||
* | Remove ConflictError (which was also removed from bltinmodule.c, even | Guido van Rossum | 1997-03-31 | 1 | -1/+0 |
| | | | | though the checkin message failed to note that). | ||||
* | Remove err_input -- there is no such global! | Guido van Rossum | 1997-03-14 | 1 | -1/+0 |
| | |||||
* | Remove redundant references to thread stuff -- long, long ago, there | Guido van Rossum | 1997-03-14 | 1 | -6/+0 |
| | | | | was some locking code in this file that needed it... | ||||
* | Add Macros defining new names for all external symbols. | Guido van Rossum | 1997-03-14 | 2 | -0/+36 |
| | |||||
* | Change PyFPE_END_PROTECT to PyFPE_END_PROTECT(v). v should be the | Guido van Rossum | 1997-03-14 | 1 | -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 Rossum | 1997-03-04 | 1 | -3/+5 |
| | |||||
* | Add global Py_OptimizeFlag. | Guido van Rossum | 1997-03-03 | 1 | -0/+1 |
| | |||||
* | Changes for Lee Busby's SIGFPE patch set. | Guido van Rossum | 1997-02-14 | 4 | -0/+168 |
| | | | | New file pyfpe.h, new exception FloatingPointError. | ||||
* | Fix the comments for bitwise and/or. | Guido van Rossum | 1997-02-14 | 1 | -6/+6 |
| | |||||
* | Added decl for Py_FdIsInteractive. | Guido van Rossum | 1997-02-14 | 1 | -0/+2 |
| | |||||
* | Added decl for Py_InteractiveFlag. | Guido van Rossum | 1997-02-14 | 1 | -0/+1 |
| | |||||
* | Added prototype for PyErr_Format(exception, formatstring, ...) -> NULL. | Guido van Rossum | 1997-02-14 | 1 | -0/+1 |
| | |||||
* | Added PyArg_ParseTupleAndKeywords() prototype. | Guido van Rossum | 1997-02-14 | 1 | -0/+2 |
| | |||||
* | djgpp support. | Guido van Rossum | 1997-02-14 | 1 | -1/+1 |
| | |||||
* | Add co_firstlineno and co_lnotab, for the line number table generated | Guido van Rossum | 1997-01-24 | 1 | -1/+4 |
| | | | | by the compiler (in lieu of SET_LINENO instructions). | ||||
* | Added PyCObject_Import. | Guido van Rossum | 1997-01-22 | 1 | -0/+4 |
| | |||||
* | Bump version to 1.5a1. | Guido van Rossum | 1997-01-22 | 1 | -1/+1 |
| | |||||
* | New lay-out of frame object, for fewer mallocs. | Guido van Rossum | 1997-01-20 | 1 | -9/+8 |
| | | | | See frameobject.c checkin message. | ||||
* | Bump API version due to the various speedup hacks. | Guido van Rossum | 1997-01-18 | 1 | -2/+4 |
| | |||||
* | Two speedup hacks. Caching the hash saves recalculation of a string's | Guido van Rossum | 1997-01-18 | 1 | -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 argument | Guido van Rossum | 1997-01-17 | 1 | -1/+3 |
| | | | | | to PyCode_New() argument list. Also add CO_MAXBLOCKS constant indicating the maximum static nesting supported by the compiler. | ||||
* | Jim's latest version | Guido van Rossum | 1997-01-06 | 1 | -8/+12 |
| | |||||
* | added PyTuple_GET_SIZE macro | Barry Warsaw | 1997-01-06 | 1 | -0/+1 |
| | |||||
* | added PyString_GET_SIZE macro | Barry Warsaw | 1997-01-06 | 1 | -1/+2 |
| | | | | | for both PyString_GET_SIZE and PyString_AS_STRING, cast first argument to a PyStringObject* |