summaryrefslogtreecommitdiff
path: root/Objects/classobject.c
AgeCommit message (Expand)AuthorLines
1997-12-03Change the default repr() and str() of class instance objects to lookGuido van Rossum-1/+9
1997-11-18Undo another glitch of the automatic not-so-Grand Renaming; some localGuido van Rossum-10/+10
1997-10-20Write a str() function for class objects that returnsGuido van Rossum-2/+36
1997-10-07Check that all base classes are indeed class objects, rather thanGuido van Rossum-5/+30
1997-09-12When creating a class, set its __module__ attribute to the moduleGuido van Rossum-1/+22
1997-08-25Allow assignments to instance.__dict__ and instance.__class__. TheGuido van Rossum-17/+57
1997-08-05Added separate free list for instance method objects, for a fewGuido van Rossum-4/+28
1997-05-23PyObject_Compare can raise an exception now.Guido van Rossum-4/+12
1997-05-09removed last #ifdef SUPPORT_OBSOLETE_ACCESS bits.Guido van Rossum-87/+3
1997-05-02Quickly renamed the last directory.Guido van Rossum-523/+535
1997-01-18Intern the various string objects created to speed up lookups.Guido van Rossum-25/+25
1996-12-05Yet more elaborate message for exception in __del__.Guido van Rossum-11/+23
1996-10-25New permission notice, includes CNRI.Guido van Rossum-12/+19
1996-10-21Support passing in an empty dictionary of keywords to newinstanceobject.Guido van Rossum-1/+3
1996-09-11More detailed error message about exception in __del__Guido van Rossum-3/+6
1996-08-26Use getstringsize where available instead of strlen.Guido van Rossum-1/+1
1996-08-22Be a bit more careful with printing a warning for a failed __del__.Guido van Rossum-2/+5
1996-08-21More efficient handling of "__doc__" lookup.Guido van Rossum-2/+8
1996-08-20Write warning about exception in __del__ to stderr, not stdout.Guido van Rossum-1/+1
1996-08-12Disable support for access statementGuido van Rossum-4/+27
1996-08-09Optimizations by Sjoerd:Guido van Rossum-81/+172
1996-07-21Only __dict__ and __class__ are read-only instance attributesGuido van Rossum-2/+4
1996-05-23new debugger symbol namesGuido van Rossum-6/+6
1996-05-14Added __name__ attribute to class instance method objects.Guido van Rossum-7/+15
1995-09-18Get ordering right for TRACE_REFS/COUNT_ALLOCS combination (otherwiseSjoerd Mullender-1/+1
1995-08-28Fixed calling of __del__ method with TRACE_REFS defined.Sjoerd Mullender-1/+23
1995-08-04class objects are read-only in restricted modeGuido van Rossum-0/+5
1995-07-26changes for keyword args to built-in functions and classesGuido van Rossum-5/+6
1995-07-12args to call_object must be tuple or NULLGuido van Rossum-6/+2
1995-04-06change comparing instance methodsGuido van Rossum-4/+3
1995-01-26removed unused varsGuido van Rossum-1/+0
1995-01-10implement coercions involving instances properlyGuido van Rossum-1/+53
1995-01-10add restrictions in restricted modeGuido van Rossum-24/+32
1995-01-07 * Objects/classobject.c: added 5th (function) parameter toGuido van Rossum-27/+49
1995-01-04Added 1995 to copyright message.Guido van Rossum-2/+2
1995-01-02Lots of minor changes. Note for mappingobject.c: the hash table pointerGuido van Rossum-5/+4
1994-11-10fix comparison of instances without _-cmp__Guido van Rossum-3/+3
1994-10-19Comparison of two class instances without __cmp__ or __rcmp__ methodsSjoerd Mullender-2/+5
1994-09-28 * Include/classobject.h, Objects/classobject.c, Python/ceval.c:Guido van Rossum-159/+160
1994-09-05Yet another version (by me) of __getattr__ etc.Guido van Rossum-174/+51
1994-09-05Mods (really diffs to 2.29) by Michael Scharf for alternative __getattr__ etc.Guido van Rossum-105/+204
1994-08-16If an attribute is deleted, __setattr__ is called with 2 instead of 3Guido van Rossum-1/+5
1994-08-12 * Objects/classobject.c, Include/classobject.h: added __getattr__Guido van Rossum-17/+99
1994-08-01Merge alpha100 branch back to main trunkGuido van Rossum-51/+51
1993-11-23* timemodule.c: Add hack for Solaris 2.Guido van Rossum-8/+0
1993-10-22Several optimizations and speed improvements.Sjoerd Mullender-7/+9
1993-10-15Makefile, import.c: Lance's alternative module search (allow .pyc fileGuido van Rossum-5/+18
1993-05-25* classobject.c: in instance_getattr, don't make a method out of aGuido van Rossum-7/+8
1993-05-21* Lots of small changes related to access.Guido van Rossum-31/+39
1993-05-20Access checks now work, at least for instance data (not for methodsGuido van Rossum-85/+173