Browse Source
Issue #13992: The trashcan mechanism is now thread-safe. This eliminates
Issue #13992: The trashcan mechanism is now thread-safe. This eliminates
sporadic crashes in multi-thread programs when several long deallocator chains ran concurrently and involved subclasses of built-in container types. Because of this change, a couple extension modules compiled for 3.2.4 (those which use the trashcan mechanism, despite it being undocumented) will not be loadable by 3.2.3 and earlier. However, extension modules compiled for 3.2.3 and earlier will be loadable by 3.2.4.pull/2332/head
7 changed files with 140 additions and 9 deletions
-
27Include/object.h
-
3Include/pystate.h
-
69Lib/test/test_gc.py
-
5Misc/NEWS
-
37Objects/object.c
-
5Objects/typeobject.c
-
3Python/pystate.c
Write
Preview
Loading…
Cancel
Save
Reference in new issue