STINNER Victor <vstin...@python.org> added the comment:
My first attempt: Add PyThreadState_EnterTracing() and PyThreadState_LeaveTracing() https://github.com/python/cpython/pull/28542 It adds an abstraction on accesses to PyThreadState.tracing and PyThreadState.cframe.use_tracing members. ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue45247> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com