summaryrefslogtreecommitdiffstats
path: root/Objects
Commit message (Collapse)AuthorAgeFilesLines
* TRACE_REFS -> Py_TRACE_REFS.Guido van Rossum1996-05-221-1/+5
| | | | Added disgusting hack to force loading of abstract.o.
* Plug memory leak in the previous fix :-(Guido van Rossum1996-05-211-1/+0
|
* Fix obscure bug in string%mapping where the mapping creates its itemsGuido van Rossum1996-05-211-21/+12
| | | | | on the fly -- there was an unsafe DECREF. Actually save some lines of code by using abstract.c:PyObject_GetItem().
* Added __name__ attribute to class instance method objects.Guido van Rossum1996-05-141-7/+15
| | | | | | Removed im_doc attribute; __name__ and __doc__ are now handled by special casing in instancemethodgetattr(). This saves a few bytes and INCREF/DECREF calls per i.m. object allocation/deallocation.
* use 'j' instead of 'i' for imaginary constantsGuido van Rossum1996-01-251-2/+2
|
* Removed unused varJack Jansen1996-01-251-1/+0
|
* added complex and c objectsGuido van Rossum1996-01-121-2/+6
|
* Hack to force loading of cobject.oGuido van Rossum1996-01-121-0/+4
|
* better power implementationGuido van Rossum1996-01-121-18/+54
|
* Added PyComplex_AsCComplexGuido van Rossum1996-01-121-0/+12
|
* complex numbers a la Konrad HinsenGuido van Rossum1996-01-121-0/+562
|
* opaque C object a la Jim FultonGuido van Rossum1996-01-121-0/+100
|
* fix free memory reads in dictlookup et alGuido van Rossum1995-12-082-20/+14
|
* 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
|