Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | * Lots of small changes related to access. | Guido van Rossum | 1993-05-21 | 1 | -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 methods | Guido van Rossum | 1993-05-20 | 1 | -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. |