mirror of
https://github.com/python/cpython.git
synced 2025-08-04 00:48:58 +00:00
gh-93502: Add new C-API functions to trace object creation and destruction (#115945)
This commit is contained in:
parent
2770d5caca
commit
6bcbee09df
10 changed files with 207 additions and 8 deletions
|
@ -128,6 +128,10 @@ extern PyTypeObject _PyExc_MemoryError;
|
|||
}, \
|
||||
.faulthandler = _faulthandler_runtime_state_INIT, \
|
||||
.tracemalloc = _tracemalloc_runtime_state_INIT, \
|
||||
.ref_tracer = { \
|
||||
.tracer_func = NULL, \
|
||||
.tracer_data = NULL, \
|
||||
}, \
|
||||
.stoptheworld = { \
|
||||
.is_global = 1, \
|
||||
}, \
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue