diff options
author | Mark Shannon <mark@hotpy.org> | 2022-03-15 17:06:21 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-03-15 17:06:21 (GMT) |
commit | 099f75614100e88ed90b68d20a51a8d9c22f81a7 (patch) | |
tree | b65ff46978b50db65b5420bcdc1330048d592804 /Python/pystate.c | |
parent | a8c728b8b742fd8ca5a225f79d99014794b8fdf3 (diff) | |
download | cpython-099f75614100e88ed90b68d20a51a8d9c22f81a7.zip cpython-099f75614100e88ed90b68d20a51a8d9c22f81a7.tar.gz cpython-099f75614100e88ed90b68d20a51a8d9c22f81a7.tar.bz2 |
bpo-45923: Decouple suspension of tracing from tracing flag. (GH-31908)
Diffstat (limited to 'Python/pystate.c')
-rw-r--r-- | Python/pystate.c | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/Python/pystate.c b/Python/pystate.c index edf2f62..1b4e31b 100644 --- a/Python/pystate.c +++ b/Python/pystate.c @@ -1333,23 +1333,6 @@ PyThreadState_SetAsyncExc(unsigned long id, PyObject *exc) return 0; } - -void -PyThreadState_EnterTracing(PyThreadState *tstate) -{ - tstate->tracing++; - _PyThreadState_PauseTracing(tstate); -} - -void -PyThreadState_LeaveTracing(PyThreadState *tstate) -{ - tstate->tracing--; - _PyThreadState_ResumeTracing(tstate); -} - - - /* Routines for advanced debuggers, requested by David Beazley. Don't use unless you know what you are doing! */ |