diff options
author | Benjamin Peterson <benjamin@python.org> | 2013-05-16 19:37:25 (GMT) |
---|---|---|
committer | Benjamin Peterson <benjamin@python.org> | 2013-05-16 19:37:25 (GMT) |
commit | e8e14591ebb729b4fa19626ce245fa0811cf6f32 (patch) | |
tree | 6448a655b30bd5f6d1f23137ebb5f8183547f109 /Python/ceval.c | |
parent | e914123d1f07159f32bf4330556397ce4d590189 (diff) | |
download | cpython-e8e14591ebb729b4fa19626ce245fa0811cf6f32.zip cpython-e8e14591ebb729b4fa19626ce245fa0811cf6f32.tar.gz cpython-e8e14591ebb729b4fa19626ce245fa0811cf6f32.tar.bz2 |
rather than passing locals to the class body, just execute the class body in the proper environment
Diffstat (limited to 'Python/ceval.c')
-rw-r--r-- | Python/ceval.c | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/Python/ceval.c b/Python/ceval.c index e211e4f..60a71f9 100644 --- a/Python/ceval.c +++ b/Python/ceval.c @@ -1873,14 +1873,6 @@ PyEval_EvalFrameEx(PyFrameObject *f, int throwflag) goto error; } - TARGET(STORE_LOCALS) { - PyObject *locals = POP(); - PyObject *old = f->f_locals; - Py_XDECREF(old); - f->f_locals = locals; - DISPATCH(); - } - TARGET(RETURN_VALUE) { retval = POP(); why = WHY_RETURN; |