diff options
author | Guido van Rossum <guido@python.org> | 1993-05-20 14:24:46 +0000 |
---|---|---|
committer | Guido van Rossum <guido@python.org> | 1993-05-20 14:24:46 +0000 |
commit | 81daa32c15cfa9f05eda037916cdbfd5b4323431 (patch) | |
tree | 82d67f6db4ff6f1ae1a682f2ec4b01d075f3e405 /Python/bltinmodule.c | |
parent | 25831652fd4c03323066d4cafdc0551c396a993e (diff) | |
download | cpython-git-81daa32c15cfa9f05eda037916cdbfd5b4323431.tar.gz |
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.
Diffstat (limited to 'Python/bltinmodule.c')
-rw-r--r-- | Python/bltinmodule.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Python/bltinmodule.c b/Python/bltinmodule.c index 3d9504bedc..c2c29662b6 100644 --- a/Python/bltinmodule.c +++ b/Python/bltinmodule.c @@ -212,7 +212,7 @@ exec_eval(v, start) } if (is_codeobject(str)) return eval_code((codeobject *) str, globals, locals, - (object *)NULL); + (object *)NULL, (object *)NULL); s = getstringvalue(str); if (strlen(s) != getstringsize(str)) { err_setstr(ValueError, "embedded '\\0' in string arg"); |