Commit fb5d29e2 authored by da-woods's avatar da-woods Committed by Stefan Behnel

Fix tracing after adapting it to Py3.11 (GH-4420)

parent cbddad23
...@@ -77,7 +77,7 @@ ...@@ -77,7 +77,7 @@
#define __Pyx_LeaveTracing(tstate) \ #define __Pyx_LeaveTracing(tstate) \
do { \ do { \
tstate->tracing--; \ tstate->tracing--; \
tstate->use_tracing = ((CYTHON_TRACE && tstate->c_tracefunc != NULL) \ tstate->cframe->use_tracing = ((CYTHON_TRACE && tstate->c_tracefunc != NULL) \
|| tstate->c_profilefunc != NULL); \ || tstate->c_profilefunc != NULL); \
} while (0) } while (0)
...@@ -93,7 +93,7 @@ ...@@ -93,7 +93,7 @@
#define __Pyx_LeaveTracing(tstate) \ #define __Pyx_LeaveTracing(tstate) \
do { \ do { \
tstate->tracing--; \ tstate->tracing--; \
tstate->cframe->use_tracing = ((CYTHON_TRACE && tstate->c_tracefunc != NULL) \ tstate->use_tracing = ((CYTHON_TRACE && tstate->c_tracefunc != NULL) \
|| tstate->c_profilefunc != NULL); \ || tstate->c_profilefunc != NULL); \
} while (0) } while (0)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment