summaryrefslogtreecommitdiffstats
path: root/Include
Commit message (Collapse)AuthorAgeFilesLines
* 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.
* Jim's latest versionGuido van Rossum1997-01-061-8/+12
|
* added PyTuple_GET_SIZE macroBarry Warsaw1997-01-061-0/+1
|
* added PyString_GET_SIZE macroBarry Warsaw1997-01-061-1/+2
| | | | | for both PyString_GET_SIZE and PyString_AS_STRING, cast first argument to a PyStringObject*
* added PyList_GET_SIZE macroBarry Warsaw1997-01-061-1/+2
| | | | | for both PyList_GET_SIZE and PyList_GET_ITEM, cast first argument to a PyListObject*
* Added PyLong_FromUnsignedLong() and PyLong_AsUnsignedLong().Guido van Rossum1997-01-031-0/+2
|
* Added declaration for PyErr_SetInterrupt.Barry Warsaw1997-01-031-1/+4
|
* Rename DEBUG macro to Py_DEBUGGuido van Rossum1996-12-303-4/+4
|
* Added remaining declarations needed/used in glmodule.c; keeps gcc -Wall happy.Guido van Rossum1996-12-101-5/+28
|
* Add const to error and newstring functionsGuido van Rossum1996-12-102-3/+3
|
* Jim F's brainchildGuido van Rossum1996-12-051-0/+130
|
* Added missing for PySequence_List.Guido van Rossum1996-12-051-0/+5
|
* New permission notice, includes CNRI.Guido van Rossum1996-10-2553-681/+1052
|
* Changed version to plain "1.4".Guido van Rossum1996-10-221-1/+1
|
* Forget about Ellipses b/w compatibility.Guido van Rossum1996-10-161-1/+0
|
* Ellipses -> Ellipsis rename (the dictionary really says that it shouldGuido van Rossum1996-10-112-6/+8
| | | | | | | | be Ellipsis!). Bumped the API version because a linker-visible symbol is affected. Old C code will still compile -- there's a b/w compat macro. Similarly, old Python code will still run, builtin exports both Ellipses and Ellipsis.
* Add waitflag to down_sema().Guido van Rossum1996-10-082-2/+6
|
* Rationalized PC compiler defines: require MS_WINDOWS or __BORLANDC__Guido van Rossum1996-09-111-1/+2
| | | | or __WATCOMC__. Add ALTSEP for PC filesystems.
* PyMapping_DelItem[String] are actually macros.Guido van Rossum1996-09-061-2/+6
|
* Correctly document PyNumber_Coerce.Guido van Rossum1996-09-061-6/+14
|
* Change comments/#ifdef structure for declaration for hypot().Guido van Rossum1996-08-291-4/+2
|
* Bump patchlevel (a bit early, but what the heck...)Guido van Rossum1996-08-221-1/+1
|
* Add PYTHON_API_STRING, which is PYTHON_API_VERSION as a string literal.Guido van Rossum1996-08-221-0/+22
| | | | | | | | | | Under Windows, add MS_DLL_ID and MS_DLL_VERSION_ID for Mark H. Independent change: if Py_TRACE_REFS is defined, rename Py_InitModule4 so so linking with incompatible modules will create a link time error. [Backing out of previous changes (also for modsupport.c) to test the latter at runtime.]
* Added PyObject_DelItem and PySequence_Del{Item,Slice}.Guido van Rossum1996-08-211-0/+23
|
* Always include config.hGuido van Rossum1996-08-192-4/+0
|
* Added declaration for *PyMarshal_WriteObjectToString().Guido van Rossum1996-08-191-0/+1
|
* Add prototypes for c_sum() etc.Guido van Rossum1996-08-191-6/+6
|
* Disable support for access statementGuido van Rossum1996-08-122-35/+39
|
* Added extern declarations for reference count admin debug functions.Guido van Rossum1996-08-121-3/+10
|
* Renamed to pyerrors.hGuido van Rossum1996-08-091-76/+0
|
* Added tp_getattro, tp_setattro (Sjoerd)Guido van Rossum1996-08-091-2/+4
|
* Correctly use Py_PROTO, not obsolete PROTO.Guido van Rossum1996-08-081-1/+1
|
* Renamed errors. -> pyerrors.h (for Mac, where Errors.h is a system header).Guido van Rossum1996-08-081-1/+1
|
* Typo: PySequence_Lenth -> PySequence_Length.Guido van Rossum1996-08-081-1/+1
|
* Put definition of _REENTRANT in config.hGuido van Rossum1996-08-011-6/+0
|
* patch level 1.4b2Guido van Rossum1996-07-301-1/+1
|
* Added extern defn of hypot().Guido van Rossum1996-07-301-0/+6
|
* Slice and ellipses interfaceGuido van Rossum1996-07-301-0/+40
|
* Turn on CACHE_HASH, for 2% speedier dict lookupsGuido van Rossum1996-07-301-0/+3
|
* Added BUILD_SLICE opcode.Guido van Rossum1996-07-301-0/+1
|
* Two bumps for the price of one (PYTHON_API_VERSION)Guido van Rossum1996-07-301-2/+9
|
* Changes due to slice and ellipses grammar changesGuido van Rossum1996-07-301-7/+9
|
* Added sliceobject.h.Guido van Rossum1996-07-301-0/+1
|
* renamed complex -> Py_complexGuido van Rossum1996-07-211-10/+10
|
* Hacks for MS_COREDLLGuido van Rossum1996-07-211-0/+14
|
* added new names for getprogramname, getargcargvGuido van Rossum1996-07-211-0/+2
|
* Added prototype + doc for PySequence_Length()Guido van Rossum1996-07-211-0/+7
|