Skip to content

Commit

Permalink
fix handling error from instrumentation call
Browse files Browse the repository at this point in the history
  • Loading branch information
carljm committed May 1, 2023
1 parent 159b2aa commit e32166d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Python/bytecodes.c
Original file line number Diff line number Diff line change
Expand Up @@ -1606,7 +1606,7 @@ dummy_func(
tstate, PY_MONITORING_EVENT_C_RETURN,
frame, next_instr-1, global_super, arg);
if (err < 0) {
Py_CLEAR(res);
Py_CLEAR(super);
}
}
}
Expand Down
2 changes: 1 addition & 1 deletion Python/generated_cases.c.h

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit e32166d

Please sign in to comment.