summaryrefslogtreecommitdiffstats
path: root/Objects
Commit message (Collapse)AuthorAgeFilesLines
* adapted to K&R CGuido van Rossum1995-09-181-35/+89
|
* Get ordering right for TRACE_REFS/COUNT_ALLOCS combination (otherwiseSjoerd Mullender1995-09-181-1/+1
| | | | may get inc_count sanity check abort).
* Implemented two new functions in sys:Sjoerd Mullender1995-08-291-0/+58
| | | | | | | | | | | | getcounts() returns a list of counts of allocations and deallocations for all different object types. getobjects(n [, type ]) returns a list of recently allocated and not-yet-freed objects of the given type (all objects if no type given). Only the n most recent (all if n==0) objects are returned. getcounts is only available if compiled with -DCOUNT_ALLOCS, getobjects is only available if compiled with -DTRACE_REFS. Note that everything must be compiled with these options!
* Fixed calling of __del__ method with TRACE_REFS defined.Sjoerd Mullender1995-08-281-1/+23
|
* class objects are read-only in restricted modeGuido van Rossum1995-08-041-0/+5
|
* better err checks in resizetupleGuido van Rossum1995-08-041-2/+2
|
* changes for keyword args to built-in functions and classesGuido van Rossum1995-07-262-7/+8
|
* better policy regarding NULL localsGuido van Rossum1995-07-261-9/+13
|
* changes for keyword arguments and fast function call; added abstract.cGuido van Rossum1995-07-183-67/+80
|
* Generic Abstract Object InterfaceGuido van Rossum1995-07-181-0/+972
|
* args to call_object must be tuple or NULLGuido van Rossum1995-07-123-17/+7
|
* fix read(0), readline(0); make tuple for call_object argsGuido van Rossum1995-07-101-14/+17
|
* MW does not always set errno on failing fopen()Jack Jansen1995-04-231-0/+11
|
* change comparing instance methodsGuido van Rossum1995-04-061-4/+3
|
* change in counting freed objectsGuido van Rossum1995-04-061-4/+4
|
* Use mappinglookup instead of dictlookup for looking up __builtin__.Sjoerd Mullender1995-04-041-1/+7
|
* fix dusty debugging macrosGuido van Rossum1995-03-293-3/+3
|
* a few peephole optimizationsGuido van Rossum1995-03-095-8/+12
|
* changes for MPWGuido van Rossum1995-03-041-1/+5
|
* 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
|