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 bf06c2d commit a259ba4Copy full SHA for a259ba4
Python/legacy_tracing.c
@@ -131,7 +131,7 @@ _PyEval_SetOpcodeTrace(
131
) {
132
assert(frame != NULL);
133
134
- PyCodeObject *code = _PyFrame_GetCode(frame->f_frame);
+ PyObject *code = (PyObject *)_PyFrame_GetCode(frame->f_frame);
135
_PyMonitoringEventSet events = 0;
136
137
if (_PyMonitoring_GetLocalEvents(code, PY_MONITORING_SYS_TRACE_ID, &events) < 0) {
0 commit comments