summaryrefslogtreecommitdiffstats
path: root/Include/accessobject.h
Commit message (Collapse)AuthorAgeFilesLines
* * Lots of small changes related to access.Guido van Rossum1993-05-211-0/+1
| | | | | | | * 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!)
* Access checks now work, at least for instance data (not for methodsGuido van Rossum1993-05-201-0/+54
yet). The class is now passed to eval_code and stored in the current frame. It is also stored in instance method objects. An "unbound" instance method is now returned when a function is retrieved through "classname.funcname", which when called passes the class to eval_code.