summaryrefslogtreecommitdiffstats
path: root/Objects
Commit message (Collapse)AuthorAgeFilesLines
* Write warning about exception in __del__ to stderr, not stdout.Guido van Rossum1996-08-201-1/+1
|
* Changes to make the file acceptable to K&R C compilers (HPUX, SunOS 4.x).Guido van Rossum1996-08-191-25/+38
|
* Test for negative # to the nonintegral float power here.Guido van Rossum1996-08-161-15/+12
| | | | Expanded powi() in-line.
* Disable support for access statementGuido van Rossum1996-08-123-4/+37
|
* Define reference count admin debug functions to return void.Guido van Rossum1996-08-121-0/+4
|
* Optimizations by Sjoerd:Guido van Rossum1996-08-091-81/+172
| | | | | - define tp_getattro, tp_setattro - use precreated string objects for most common exceptions and method names
* Support for tp_getattro, tp_setattro (Sjoerd)Guido van Rossum1996-08-093-0/+33
|
* Use pre-created string objects for most common exceptionsGuido van Rossum1996-08-091-2/+8
| | | | (especially IndexError which is caught by 'for')
* Correct wrong calculation of pow(0.0, 0.0, negative_number)Guido van Rossum1996-08-091-5/+6
|
* Allow compilation by K&R C compiler.Guido van Rossum1996-08-011-8/+8
|
* repr("...") -> "Ellipses"Guido van Rossum1996-07-301-1/+1
|
* Added sliceobject.cGuido van Rossum1996-07-302-2/+189
|
* Speedup suggested by SjoerdGuido van Rossum1996-07-302-6/+8
|
* Use NEWOBJ() macro instead of calling newobject() directly.Guido van Rossum1996-07-221-1/+1
|
* complex -> Py_complexGuido van Rossum1996-07-211-40/+40
|
* Hacks for MS_COREDLLGuido van Rossum1996-07-211-0/+19
|
* Only __dict__ and __class__ are read-only instance attributesGuido van Rossum1996-07-211-2/+4
|
* Different logic for defining CHECK(); 16-bit MSC specific define.Guido van Rossum1996-06-261-2/+8
|
* rename printrefs, getobjects to _Py_ prefixGuido van Rossum1996-05-241-2/+2
|
* make some things staticGuido van Rossum1996-05-242-6/+6
|
* new debugger symbol namesGuido van Rossum1996-05-233-8/+8
|
* 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
|