STINNER Victor <vstinner at python.org> added the comment: See also bpo-35370: "Add _PyEval_SetTrace(tstate, func, arg) function". ---------- _______________________________________ Python tracker <report at bugs.python.org> <https://bugs.python.org/issue1021318> _______________________________________