summaryrefslogtreecommitdiffstats
path: root/Objects
Commit message (Collapse)AuthorAgeFilesLines
* for MPW __SC__ compilerGuido van Rossum1995-02-271-2/+6
|
* don't complain about too many args if arg is a dictGuido van Rossum1995-02-271-1/+1
|
* explicitly init flags in methodlistsGuido van Rossum1995-02-192-13/+17
|
* NeXT/Sparc 3.3 fixGuido van Rossum1995-02-131-1/+13
|
* use Py_CHARMASK; and don't check for neg. float to the float power hereGuido van Rossum1995-02-103-12/+8
|
* make size arg signedGuido van Rossum1995-02-101-1/+1
|
* round up list item counts to improve realloc performanceGuido van Rossum1995-01-261-3/+17
|
* added findmethodinchain and methodchain data typesGuido van Rossum1995-01-261-23/+50
|
* removed unused varsGuido van Rossum1995-01-261-1/+0
|
* apply dictclear to dict of deleted modulesGuido van Rossum1995-01-261-1/+3
|
* move callable() hereGuido van Rossum1995-01-261-0/+29
|
* fix leak in func_dealloc (forgot to decref name)Guido van Rossum1995-01-201-0/+1
|
* Fix NULL dereference in case of out-of-memory conditionJack Jansen1995-01-191-4/+5
|
* fix strobject() behaviorGuido van Rossum1995-01-171-2/+4
|
* added reverselist; free recycling bin on error exitGuido van Rossum1995-01-171-0/+16
|
* long_scan is no longer usedGuido van Rossum1995-01-171-0/+2
|
* make a few things staticGuido van Rossum1995-01-171-2/+2
|
* don't declare fmod/pow for any STDC compilerGuido van Rossum1995-01-171-1/+1
|
* different init for __builtins__Guido van Rossum1995-01-171-0/+2
|
* added $& to $(LIB) target for SequentGuido van Rossum1995-01-171-1/+1
|
* fix reentrancy bug in slice assignmentGuido van Rossum1995-01-171-4/+20
|
* properly implement cmp() for class instancesGuido van Rossum1995-01-121-0/+31
|
* move coerce() from bltinmodule.c to object.c and implement builtin_coerce() ↵Guido van Rossum1995-01-101-0/+33
| | | | differently
* implement coercions involving instances properlyGuido van Rossum1995-01-101-1/+53
|
* fix memory leak and null pointer dereferenceGuido van Rossum1995-01-102-2/+6
|
* add restrictions in restricted modeGuido van Rossum1995-01-103-25/+45
|
* add builtins handling and restricted flagGuido van Rossum1995-01-101-2/+14
|
* * Objects/classobject.c: added 5th (function) parameter toGuido van Rossum1995-01-071-27/+49
| | | | | instancebinop, to support things like Rational * float; added documentation strings to classes and methods
* * Objects/methodobject.c: changed drastically, the object nowGuido van Rossum1995-01-071-27/+44
| | | | | contains a pointer to the struct methodlist (which must be static); added attributes __name__, __doc__ and __self__
* Added __doc__ attribute (alias func_doc), initialized from firstGuido van Rossum1995-01-071-1/+16
| | | | constant in code object if it is a string, else None
* initialize __doc__ to NoneGuido van Rossum1995-01-071-0/+2
|
* added getattr(), supporting __doc__ and _name__Guido van Rossum1995-01-071-2/+33
|
* attribute-less object is AttributeError, not TypeErrorGuido van Rossum1995-01-071-1/+1
|
* Added 1995 to copyright message.Guido van Rossum1995-01-0419-47/+50
| | | | | floatobject.c: fix hash(). methodobject.c: support METH_FREENAME flag bit.
* * Objects/mappingobject.c (mappingremove): don't callGuido van Rossum1995-01-022-0/+6
| | | | lookmapping() for empty dictionary
* Lots of minor changes. Note for mappingobject.c: the hash table pointerGuido van Rossum1995-01-0212-96/+170
| | | | can now be NULL.
* fix comparison of instances without _-cmp__Guido van Rossum1994-11-101-3/+3
|
* Comparison of two class instances without __cmp__ or __rcmp__ methodsSjoerd Mullender1994-10-191-2/+5
| | | | was broken.
* * Include/classobject.h, Objects/classobject.c, Python/ceval.c:Guido van Rossum1994-09-286-204/+219
| | | | | | | | | | | | | | | | | | entirely redone operator overloading. The rules for class instances are now much more relaxed than for other built-in types (whose coerce must still return two objects of the same type) * Objects/floatobject.c: add overflow check when converting float to int and implement truncation towards zero using ceil/float * Objects/longobject.c: change ValueError to OverflowError when converting to int * Objects/rangeobject.c: modernized * Objects/stringobject.c: use HAVE_LIMITS instead of __STDC__ * Objects/xxobject.c: changed to use new style (not finished?)
* rearranged code in debugging version of DELREF to avoid touching dataGuido van Rossum1994-09-071-1/+2
| | | | after it has been freed.
* Yet another version (by me) of __getattr__ etc.Guido van Rossum1994-09-051-174/+51
|
* Mods (really diffs to 2.29) by Michael Scharf for alternative __getattr__ etc.Guido van Rossum1994-09-051-105/+204
|
* Merge back to main trunkGuido van Rossum1994-08-309-128/+258
|
* fix nasty bug in resizing (formatstring)Guido van Rossum1994-08-301-18/+98
|
* mods by Andrew Kuchling to implementGuido van Rossum1994-08-291-41/+240
| | | | | pow(x,y,z) == pow(x,y)%z, but without incurring overflow Correct problems found by THINK C 6.0
* New patches by Andrew to fix various problemsGuido van Rossum1994-08-291-33/+67
| | | | Add cast for Lance
* Correct problems found by THINK C 6.0Guido van Rossum1994-08-291-44/+67
|
* * configure.in, */Makefile*.in: OPT can now be specified in theGuido van Rossum1994-08-231-1/+2
| | | | | | env at configure time and will then be put in all Makefiles as default * */Makefile*.in: remove lib*.a before adding to it
* If an attribute is deleted, __setattr__ is called with 2 instead of 3Guido van Rossum1994-08-161-1/+5
| | | | arguments (adding __delattr__ was deemed too much overhead)
* New patches by Andrew to fix various problemsGuido van Rossum1994-08-121-5/+24
|