Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | adapted to K&R C | Guido van Rossum | 1995-09-18 | 1 | -35/+89 |
| | |||||
* | Get ordering right for TRACE_REFS/COUNT_ALLOCS combination (otherwise | Sjoerd Mullender | 1995-09-18 | 1 | -1/+1 |
| | | | | may get inc_count sanity check abort). | ||||
* | Implemented two new functions in sys: | Sjoerd Mullender | 1995-08-29 | 1 | -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 Mullender | 1995-08-28 | 1 | -1/+23 |
| | |||||
* | class objects are read-only in restricted mode | Guido van Rossum | 1995-08-04 | 1 | -0/+5 |
| | |||||
* | better err checks in resizetuple | Guido van Rossum | 1995-08-04 | 1 | -2/+2 |
| | |||||
* | changes for keyword args to built-in functions and classes | Guido van Rossum | 1995-07-26 | 2 | -7/+8 |
| | |||||
* | better policy regarding NULL locals | Guido van Rossum | 1995-07-26 | 1 | -9/+13 |
| | |||||
* | changes for keyword arguments and fast function call; added abstract.c | Guido van Rossum | 1995-07-18 | 3 | -67/+80 |
| | |||||
* | Generic Abstract Object Interface | Guido van Rossum | 1995-07-18 | 1 | -0/+972 |
| | |||||
* | args to call_object must be tuple or NULL | Guido van Rossum | 1995-07-12 | 3 | -17/+7 |
| | |||||
* | fix read(0), readline(0); make tuple for call_object args | Guido van Rossum | 1995-07-10 | 1 | -14/+17 |
| | |||||
* | MW does not always set errno on failing fopen() | Jack Jansen | 1995-04-23 | 1 | -0/+11 |
| | |||||
* | change comparing instance methods | Guido van Rossum | 1995-04-06 | 1 | -4/+3 |
| | |||||
* | change in counting freed objects | Guido van Rossum | 1995-04-06 | 1 | -4/+4 |
| | |||||
* | Use mappinglookup instead of dictlookup for looking up __builtin__. | Sjoerd Mullender | 1995-04-04 | 1 | -1/+7 |
| | |||||
* | fix dusty debugging macros | Guido van Rossum | 1995-03-29 | 3 | -3/+3 |
| | |||||
* | a few peephole optimizations | Guido van Rossum | 1995-03-09 | 5 | -8/+12 |
| | |||||
* | changes for MPW | Guido van Rossum | 1995-03-04 | 1 | -1/+5 |
| | |||||
* | for MPW __SC__ compiler | Guido van Rossum | 1995-02-27 | 1 | -2/+6 |
| | |||||
* | don't complain about too many args if arg is a dict | Guido van Rossum | 1995-02-27 | 1 | -1/+1 |
| | |||||
* | explicitly init flags in methodlists | Guido van Rossum | 1995-02-19 | 2 | -13/+17 |
| | |||||
* | NeXT/Sparc 3.3 fix | Guido van Rossum | 1995-02-13 | 1 | -1/+13 |
| | |||||
* | use Py_CHARMASK; and don't check for neg. float to the float power here | Guido van Rossum | 1995-02-10 | 3 | -12/+8 |
| | |||||
* | make size arg signed | Guido van Rossum | 1995-02-10 | 1 | -1/+1 |
| | |||||
* | round up list item counts to improve realloc performance | Guido van Rossum | 1995-01-26 | 1 | -3/+17 |
| | |||||
* | added findmethodinchain and methodchain data types | Guido van Rossum | 1995-01-26 | 1 | -23/+50 |
| | |||||
* | removed unused vars | Guido van Rossum | 1995-01-26 | 1 | -1/+0 |
| | |||||
* | apply dictclear to dict of deleted modules | Guido van Rossum | 1995-01-26 | 1 | -1/+3 |
| | |||||
* | move callable() here | Guido van Rossum | 1995-01-26 | 1 | -0/+29 |
| | |||||
* | fix leak in func_dealloc (forgot to decref name) | Guido van Rossum | 1995-01-20 | 1 | -0/+1 |
| | |||||
* | Fix NULL dereference in case of out-of-memory condition | Jack Jansen | 1995-01-19 | 1 | -4/+5 |
| | |||||
* | fix strobject() behavior | Guido van Rossum | 1995-01-17 | 1 | -2/+4 |
| | |||||
* | added reverselist; free recycling bin on error exit | Guido van Rossum | 1995-01-17 | 1 | -0/+16 |
| | |||||
* | long_scan is no longer used | Guido van Rossum | 1995-01-17 | 1 | -0/+2 |
| | |||||
* | make a few things static | Guido van Rossum | 1995-01-17 | 1 | -2/+2 |
| | |||||
* | don't declare fmod/pow for any STDC compiler | Guido van Rossum | 1995-01-17 | 1 | -1/+1 |
| | |||||
* | different init for __builtins__ | Guido van Rossum | 1995-01-17 | 1 | -0/+2 |
| | |||||
* | added $& to $(LIB) target for Sequent | Guido van Rossum | 1995-01-17 | 1 | -1/+1 |
| | |||||
* | fix reentrancy bug in slice assignment | Guido van Rossum | 1995-01-17 | 1 | -4/+20 |
| | |||||
* | properly implement cmp() for class instances | Guido van Rossum | 1995-01-12 | 1 | -0/+31 |
| | |||||
* | move coerce() from bltinmodule.c to object.c and implement builtin_coerce() ↵ | Guido van Rossum | 1995-01-10 | 1 | -0/+33 |
| | | | | differently | ||||
* | implement coercions involving instances properly | Guido van Rossum | 1995-01-10 | 1 | -1/+53 |
| | |||||
* | fix memory leak and null pointer dereference | Guido van Rossum | 1995-01-10 | 2 | -2/+6 |
| | |||||
* | add restrictions in restricted mode | Guido van Rossum | 1995-01-10 | 3 | -25/+45 |
| | |||||
* | add builtins handling and restricted flag | Guido van Rossum | 1995-01-10 | 1 | -2/+14 |
| | |||||
* | * Objects/classobject.c: added 5th (function) parameter to | Guido van Rossum | 1995-01-07 | 1 | -27/+49 |
| | | | | | instancebinop, to support things like Rational * float; added documentation strings to classes and methods | ||||
* | * Objects/methodobject.c: changed drastically, the object now | Guido van Rossum | 1995-01-07 | 1 | -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 first | Guido van Rossum | 1995-01-07 | 1 | -1/+16 |
| | | | | constant in code object if it is a string, else None | ||||
* | initialize __doc__ to None | Guido van Rossum | 1995-01-07 | 1 | -0/+2 |
| |