New submission from Eddie Elizondo <eduardo.elizondoru...@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 <rep...@bugs.python.org> <https://bugs.python.org/issue37879> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com