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 29a04b7 commit 3d9c294Copy full SHA for 3d9c294
1 file changed
Python/ceval.c
@@ -3064,6 +3064,9 @@ PyEval_MergeCompilerFlags(PyCompilerFlags *cf)
3064
{
3065
PyThreadState *tstate = _PyThreadState_GET();
3066
_PyInterpreterFrame *current_frame = tstate->current_frame;
3067
+ if (current_frame == tstate->base_frame) {
3068
+ current_frame = NULL;
3069
+ }
3070
int result = cf->cf_flags != 0;
3071
3072
if (current_frame != NULL) {
0 commit comments