SIGN IN SIGN UP

bpo-35983: skip trashcan for subclasses (GH-11841)

Add new trashcan macros to deal with a double deallocation that could occur when the `tp_dealloc` of a subclass calls the `tp_dealloc` of a base class and that base class uses the trashcan mechanism.

Patch by Jeroen Demeyer.
J
Jeroen Demeyer committed
351c67416ba4451eb3928fa0b2e933c2f25df1a3
Parent: a2fedd8
Committed by Antoine Pitrou <antoine@python.org> on 5/10/2019, 5:21:10 PM