Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Add declaration for PyNumber_CoerceEx(). | Guido van Rossum | 1997-11-19 | 1 | -0/+1 |
| | |||||
* | #Added prototype for PyObject_HasAttr() -- must've been an oversight. | Guido van Rossum | 1997-09-06 | 1 | -0/+1 |
| | |||||
* | Fix in trailing comment: PyDict_SetItemString() does *not* consume a reference | Fred Drake | 1997-09-05 | 1 | -3/+2 |
| | | | | count, PyList_SetItem() does. Very confusing! | ||||
* | Add a cast to the call to _Py_Dealloc in the expanded version of | Guido van Rossum | 1997-08-05 | 1 | -2/+2 |
| | | | | | | Py_DECREF, to reduce the warnings when compiling with reference count debugging on. (There are still warnings for each call to _Py_NewReference -- too bad.) | ||||
* | Oops, another forgotten renaming: varobject -> PyVarObject. | Guido van Rossum | 1997-05-15 | 1 | -1/+1 |
| | |||||
* | 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... | ||||
* | Rename DEBUG macro to Py_DEBUG | Guido van Rossum | 1996-12-30 | 1 | -2/+2 |
| | |||||
* | New permission notice, includes CNRI. | Guido van Rossum | 1996-10-25 | 1 | -13/+20 |
| | |||||
* | Added extern declarations for reference count admin debug functions. | Guido van Rossum | 1996-08-12 | 1 | -3/+10 |
| | |||||
* | Added tp_getattro, tp_setattro (Sjoerd) | Guido van Rossum | 1996-08-09 | 1 | -2/+4 |
| | |||||
* | don't use NDEBUG | Guido van Rossum | 1996-05-24 | 1 | -6/+2 |
| | |||||
* | Added some visual enhancements of debugging ifdefs. | Guido van Rossum | 1996-05-22 | 1 | -5/+11 |
| | | | | Added PyNumber_Coerce decl. | ||||
* | add forgotten PyObject_SetAttrString | Guido van Rossum | 1995-07-26 | 1 | -0/+1 |
| | |||||
* | keyword arguments and faster function calls | Guido van Rossum | 1995-07-18 | 1 | -1/+1 |
| | |||||
* | DL_IMPORT needs an argument. | Sjoerd Mullender | 1995-04-25 | 1 | -2/+2 |
| | |||||
* | DL_IMPORT macro was called in a funny way (and MW barfed on it) | Jack Jansen | 1995-04-23 | 1 | -2/+2 |
| | |||||
* | Also count UNREF's as freeing an object (only relevant when | Sjoerd Mullender | 1995-04-06 | 1 | -1/+2 |
| | | | | COUNT_ALLOCS is defined). | ||||
* | fix dusty debugging macros | Guido van Rossum | 1995-03-29 | 1 | -5/+5 |
| | |||||
* | make the type a parameter of the DL_IMPORT macro, for Borland C | Guido van Rossum | 1995-02-27 | 1 | -2/+2 |
| | |||||
* | change in staticforward -- added statichere | Guido van Rossum | 1995-02-21 | 1 | -1/+7 |
| | |||||
* | added PyObject_IsTrue & PyCallable_Check to object interface | Guido van Rossum | 1995-02-17 | 1 | -0/+2 |
| | |||||
* | new names for lots of new functions | Guido van Rossum | 1995-01-17 | 1 | -2/+2 |
| | |||||
* | The great renaming, phase two: all header files have been updated to | Guido van Rossum | 1995-01-12 | 1 | -91/+94 |
| | | | | | | | 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". | ||||
* | new tp_str and tp_doc members in type object | Guido van Rossum | 1995-01-07 | 1 | -0/+10 |
| | |||||
* | Added 1995 copyright. | Guido van Rossum | 1995-01-04 | 1 | -7/+7 |
| | | | | | | 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. | ||||
* | Changes for dynamic linking under NT | Guido van Rossum | 1994-08-18 | 1 | -2/+2 |
| | |||||
* | * Objects/{int,long,float}object.c, Include/object.h, | Guido van Rossum | 1994-08-09 | 1 | -1/+2 |
| | | | | | Python/bltinmodule.c: mods by Andrew Kuchling to implement pow(x,y,z) == pow(x,y)%z, but without incurring overflow | ||||
* | Merge alpha100 branch back to main trunk | Guido van Rossum | 1994-08-01 | 1 | -41/+83 |
| | |||||
* | * mpzmodule.c: removed redundant mpz_print function. | Guido van Rossum | 1993-11-05 | 1 | -0/+1 |
| | | | | | | | | | | | | | | * object.[ch], bltinmodule.c, fileobject.c: changed str() to call strobject() which calls an object's __str__ method if it has one. strobject() is also called by writeobject() when PRINT_RAW is passed. * ceval.c: rationalize code for PRINT_ITEM (no change in function!) * funcobject.c, codeobject.c: added compare and hash functionality. Functions with identical code objects and the same global dictionary are equal. Code objects are equal when their code, constants list and names list are identical (i.e. the filename and code name don't count). (hash doesn't work yet since the constants are in a list and lists can't be hashed -- suppose this should really be done with a tuple now we have resizetuple!) | ||||
* | * Extended X interface: pixmap objects, colormap objects visual objects, | Sjoerd Mullender | 1993-10-11 | 1 | -0/+23 |
| | | | | | | | | image objects, and lots of new methods. * Added counting of allocations and deallocations of builtin types if COUNT_ALLOCS is defined. Had to move calls to NEWREF down in some files. * Bug fix in sorting lists. | ||||
* | * Added support for X11 modules. | Guido van Rossum | 1993-07-28 | 1 | -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++. | ||||
* | * accessobject.c (ownercheck): allow a base class access to protected | Guido van Rossum | 1993-07-11 | 1 | -0/+1 |
| | | | | | | objects of its derived classes; allow anything that has an attribute named "__privileged__" access to anything. * object.[ch]: added hasattr() -- test whether getattr() will succeed. | ||||
* | * Changed all copyright messages to include 1993. | Guido van Rossum | 1993-03-29 | 1 | -3/+9 |
| | | | | | | | | | | | | | | | | | * Stubs for faster implementation of local variables (not yet finished) * Added function name to code object. Print it for code and function objects. THIS MAKES THE .PYC FILE FORMAT INCOMPATIBLE (the version number has changed accordingly) * Print address of self for built-in methods * New internal functions getattro and setattro (getattr/setattr with string object arg) * Replaced "dictobject" with more powerful "mappingobject" * New per-type functio tp_hash to implement arbitrary object hashing, and hashobject() to interface to it * Added built-in functions hash(v) and hasattr(v, 'name') * classobject: made some functions static that accidentally weren't; added __hash__ special instance method to implement hash() * Added proper comparison for built-in methods and functions | ||||
* | Made builtins int(), long(), float(), oct() and hex() more generic. | Guido van Rossum | 1992-09-12 | 1 | -0/+5 |
| | |||||
* | AOnly define NDEDBUG if DEBUG is not defined | Guido van Rossum | 1992-09-03 | 1 | -0/+3 |
| | |||||
* | * classobject.[ch], {float,long,int}object.c, bltinmodule.c: | Guido van Rossum | 1992-08-14 | 1 | -0/+1 |
| | | | | | | coercion is now completely generic. * ceval.c: for instances, don't coerce for + and *; * reverses arguments if left one is non-instance numeric and right one sequence. | ||||
* | Copyright for 1992 added | Guido van Rossum | 1992-04-05 | 1 | -1/+1 |
| | |||||
* | Added shifting and masking ops to as_number struct | Guido van Rossum | 1991-10-24 | 1 | -0/+6 |
| | |||||
* | printobject now returns an error code | Guido van Rossum | 1991-06-07 | 1 | -2/+2 |
| | |||||
* | Added nonzero to number methods | Guido van Rossum | 1991-05-14 | 1 | -0/+1 |
| | |||||
* | Added divmod and abs methods for numbers | Guido van Rossum | 1991-05-05 | 1 | -0/+2 |
| | |||||
* | Added copyright notice. | Guido van Rossum | 1991-02-19 | 1 | -0/+24 |
| | |||||
* | "Compiling" version | Guido van Rossum | 1990-12-20 | 1 | -34/+23 |
| | |||||
* | Add UNREF macro if not tracing refs (see UNREF function in object.c). | Guido van Rossum | 1990-11-18 | 1 | -0/+1 |
| | |||||
* | Be more careful with negative reference counts. | Guido van Rossum | 1990-11-02 | 1 | -3/+3 |
| | |||||
* | Initial revision | Guido van Rossum | 1990-10-14 | 1 | -0/+310 |