]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
Access checks now work, at least for instance data (not for methods
authorGuido van Rossum <guido@python.org>
Thu, 20 May 1993 14:24:46 +0000 (14:24 +0000)
committerGuido van Rossum <guido@python.org>
Thu, 20 May 1993 14:24:46 +0000 (14:24 +0000)
commit81daa32c15cfa9f05eda037916cdbfd5b4323431
tree82d67f6db4ff6f1ae1a682f2ec4b01d075f3e405
parent25831652fd4c03323066d4cafdc0551c396a993e
Access checks now work, at least for instance data (not for methods
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.
14 files changed:
Include/accessobject.h [new file with mode: 0644]
Include/ceval.h
Include/classobject.h
Include/eval.h
Include/frameobject.h
Objects/accessobject.c [new file with mode: 0644]
Objects/classobject.c
Objects/frameobject.c
Objects/moduleobject.c
Python/bltinmodule.c
Python/ceval.c
Python/compile.c
Python/import.c
Python/pythonrun.c