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 | 9364a384f44d078fb358e05e05008496c5a38ff8 (patch) | |
tree | f2932900e7b326a634789c763912e3780005d0e8 /Python/pythonrun.c | |
parent | 3658ba2edc4ad5b14552c563c5d9ffe6b3c7fe98 (diff) | |
download | cpython-9364a384f44d078fb358e05e05008496c5a38ff8.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/pythonrun.c')
-rw-r--r-- | Python/pythonrun.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Python/pythonrun.c b/Python/pythonrun.c index 3898d13af2..b85be921c0 100644 --- a/Python/pythonrun.c +++ b/Python/pythonrun.c @@ -320,7 +320,7 @@ eval_node(n, filename, globals, locals) freetree(n); if (co == NULL) return NULL; - v = eval_code(co, globals, locals, (object *)NULL); + v = eval_code(co, globals, locals, (object *)NULL, (object *)NULL); DECREF(co); return v; } |