Use newer py_trace_event