[New-bugs-announce] [issue37879] Segfaults in C heap type subclasses

Eddie Elizondo report at bugs.python.org
Sat Aug 17 16:47:31 EDT 2019


New submission from Eddie Elizondo <eduardo.elizondorueda at gmail.com>:

`subtype_dealloc` is not correctly handling the reference count of c heap type subclasses. It has some builtin assumptions which can result in the type getting its reference count decreased more that it needs to be, leading to its destruction when it should still be alive.

Also, this bug is a blocker for the full adoption of PEP384.

The full details of the bug along with a fix and tests are described in the Github PR.

----------
messages: 349905
nosy: eelizondo
priority: normal
severity: normal
status: open
title: Segfaults in C heap type subclasses

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue37879>
_______________________________________


More information about the New-bugs-announce mailing list