summaryrefslogtreecommitdiff
path: root/Objects/methodobject.c
AgeCommit message (Collapse)AuthorLines
1995-01-10add restrictions in restricted modeGuido van Rossum-1/+7
1995-01-07 * Objects/methodobject.c: changed drastically, the object nowGuido van Rossum-27/+44
contains a pointer to the struct methodlist (which must be static); added attributes __name__, __doc__ and __self__
1995-01-04Added 1995 to copyright message.Guido van Rossum-10/+13
floatobject.c: fix hash(). methodobject.c: support METH_FREENAME flag bit.
1995-01-02Lots of minor changes. Note for mappingobject.c: the hash table pointerGuido van Rossum-1/+1
can now be NULL.
1994-08-30Merge back to main trunkGuido van Rossum-5/+5
1993-11-01* ceval.c, longobject.c, methodobject.c, listnode.c, arraymodule.c,Guido van Rossum-1/+1
pythonrun.c: added static forward declarations * pythonrun.h, ceval.h, longobject.h, node.h: removed declarations of static routines
1993-05-21* Lots of small changes related to access.Guido van Rossum-2/+2
* Added "access *: ...", made access work for class methods. * Introduced subclass check: make sure that when calling ClassName.methodname(instance, ...), the instance is an instance of ClassName or of a subclass thereof (this might break some old code!)
1993-03-29* Changed all copyright messages to include 1993.Guido van Rossum-5/+36
* Stubs for faster implementation of local variables (not yet finished) * Added function name to code object. Print it for code and function objects. THIS MAKES THE .PYC FILE FORMAT INCOMPATIBLE (the version number has changed accordingly) * Print address of self for built-in methods * New internal functions getattro and setattro (getattr/setattr with string object arg) * Replaced "dictobject" with more powerful "mappingobject" * New per-type functio tp_hash to implement arbitrary object hashing, and hashobject() to interface to it * Added built-in functions hash(v) and hasattr(v, 'name') * classobject: made some functions static that accidentally weren't; added __hash__ special instance method to implement hash() * Added proper comparison for built-in methods and functions
1992-09-17* Makefile: added IMGFILE; moved some stuff around.Guido van Rossum-17/+2
* flmodule.c: added some missing functions; changed readonly flags of some data members based upon FORMS documentation. * listobject.c: fixed int/long arg lint bug (bites PC compilers). * several: removed redundant print methods (repr is good enough). * posixmodule.c: added (still experimental) process group functions.
1992-04-05Copyright for 1992 addedGuido van Rossum-1/+1
1992-03-27LintGuido van Rossum-1/+2
./
1991-12-16Add "varargs" attribute.Guido van Rossum-5/+20
1991-12-10Use AttributeError.Guido van Rossum-1/+1
1991-10-20Implemented __methods__ attributeGuido van Rossum-0/+27
1991-06-07printobject now returns an error codeGuido van Rossum-1/+2
1991-02-19Added copyright notice.Guido van Rossum-0/+24
1990-12-20"Compiling" versionGuido van Rossum-16/+25
1990-10-21New errors.Guido van Rossum-2/+3
1990-10-14Initial revisionGuido van Rossum-0/+113