Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent aed9773 commit 1138944Copy full SHA for 1138944
1 file changed
Python/ceval.c
@@ -2132,6 +2132,7 @@ PyEval_EvalFrameEx(PyFrameObject *f, int throwflag)
2132
GLOBAL_NAME_ERROR_MSG, w);
2133
break;
2134
}
2135
+ Py_INCREF(x);
2136
2137
else {
2138
/* Slow-path if globals or builtins is not a dict */
@@ -2147,7 +2148,6 @@ PyEval_EvalFrameEx(PyFrameObject *f, int throwflag)
2147
2148
2149
2150
- Py_INCREF(x);
2151
PUSH(x);
2152
DISPATCH();
2153
0 commit comments