diff options
| author | Benjamin Peterson <benjamin@python.org> | 2012-04-26 00:27:06 -0400 |
|---|---|---|
| committer | Benjamin Peterson <benjamin@python.org> | 2012-04-26 00:27:06 -0400 |
| commit | 430597df07d2bcfb71cbfcb64fc39ca02886ac71 (patch) | |
| tree | 54a3bc6f2fefd5a5e2e94267f6c1840e745693e7 /Python | |
| parent | 134077c0558bbe9199cce0dd1815523802bb968d (diff) | |
| parent | 9acba005f60545d2de253976fbdaa80ca0819497 (diff) | |
| download | cpython-430597df07d2bcfb71cbfcb64fc39ca02886ac71.tar.gz | |
merge heads
Diffstat (limited to 'Python')
| -rw-r--r-- | Python/ceval.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Python/ceval.c b/Python/ceval.c index a4e5a327df..b9a006b675 100644 --- a/Python/ceval.c +++ b/Python/ceval.c @@ -2132,6 +2132,7 @@ PyEval_EvalFrameEx(PyFrameObject *f, int throwflag) GLOBAL_NAME_ERROR_MSG, w); break; } + Py_INCREF(x); } else { /* Slow-path if globals or builtins is not a dict */ @@ -2147,7 +2148,6 @@ PyEval_EvalFrameEx(PyFrameObject *f, int throwflag) } } } - Py_INCREF(x); PUSH(x); DISPATCH(); |
