• Jeroen Demeyer's avatar
    bpo-35983: skip trashcan for subclasses (GH-11841) · 351c6741
    Jeroen Demeyer yazdı
    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.
    351c6741
object.h 28.7 KB