summaryrefslogtreecommitdiff
path: root/Lib/test/test_asyncio/test_locks.py
diff options
context:
space:
mode:
authorVictor Stinner <vstinner@python.org>2021-07-01 02:30:46 +0200
committerGitHub <noreply@github.com>2021-07-01 02:30:46 +0200
commit818628c2da99ba0376313971816d472c65c9a9fc (patch)
tree60d50461785e6ddc16f35a047ece9dc83890eef8 /Lib/test/test_asyncio/test_locks.py
parent1b28187a0e3e914ee48de8032cbba0a965dd5563 (diff)
downloadcpython-git-818628c2da99ba0376313971816d472c65c9a9fc.tar.gz
bpo-44531: Add _PyType_AllocNoTrack() function (GH-26947)
Add an internal _PyType_AllocNoTrack() function to allocate an object without tracking it in the GC. Modify dict_new() to use _PyType_AllocNoTrack(): dict subclasses are now only tracked once all PyDictObject members are initialized. Calling _PyObject_GC_UNTRACK() is no longer needed for the dict type. Similar change in tuple_subtype_new() for tuple subclasses. Replace tuple_gc_track() with _PyObject_GC_TRACK().
Diffstat (limited to 'Lib/test/test_asyncio/test_locks.py')
0 files changed, 0 insertions, 0 deletions