[issue16690] Reference leak with custom tp_dealloc in PyType_FromSpec

2019-09-12 Thread Petr Viktorin
Petr Viktorin added the comment: This is fixed in Python 3.5+. -- resolution: -> fixed stage: -> resolved status: open -> closed ___ Python tracker ___

[issue16690] Reference leak with custom tp_dealloc in PyType_FromSpec

2015-06-04 Thread Roundup Robot
Roundup Robot added the comment: New changeset 265eeb60443a by Nick Coghlan in branch '3.5': Issue #24373: Eliminate PEP 489 test refleaks https://hg.python.org/cpython/rev/265eeb60443a -- nosy: +python-dev ___ Python tracker rep...@bugs.python.org

[issue16690] Reference leak with custom tp_dealloc in PyType_FromSpec

2015-05-29 Thread Nick Coghlan
Changes by Nick Coghlan ncogh...@gmail.com: -- nosy: +ncoghlan ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue16690 ___ ___ Python-bugs-list

[issue16690] Reference leak with custom tp_dealloc in PyType_FromSpec

2015-05-29 Thread Nick Coghlan
Nick Coghlan added the comment: The new test cases for PEP 489 (multi-phase extension module import) appear to be encountering this leak. See issue 24268 for context. -- nosy: +encukou ___ Python tracker rep...@bugs.python.org

[issue16690] Reference leak with custom tp_dealloc in PyType_FromSpec

2012-12-19 Thread Bradley Froehle
Changes by Bradley Froehle brad.froe...@gmail.com: -- nosy: +pitrou ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue16690 ___ ___ Python-bugs-list

[issue16690] Reference leak with custom tp_dealloc in PyType_FromSpec

2012-12-19 Thread Bradley Froehle
Bradley Froehle added the comment: The attached file `heaptype_refcnt_testcases.py` runs through several test cases (ssl.SSLError, a subclass of ssl.SSLError, and xxlimited.Xxo) seeing if references are leaked in each instance. Unfortunately `xxlimited.Xxo` isn't set to be a base type and I

[issue16690] Reference leak with custom tp_dealloc in PyType_FromSpec

2012-12-15 Thread Antoine Pitrou
Changes by Antoine Pitrou pit...@free.fr: -- nosy: +Robin.Schreiber, loewis ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue16690 ___ ___

[issue16690] Reference leak with custom tp_dealloc in PyType_FromSpec

2012-12-14 Thread Bradley Froehle
New submission from Bradley Froehle: There is a reference leak when using PyType_FromSpec with custom tp_dealloc. This was first noted in issue #15142, where a fix was given which only applies to types which do not override tp_dealloc. For example, the xxlimited.Xxo type suffers from this:

[issue16690] Reference leak with custom tp_dealloc in PyType_FromSpec

2012-12-14 Thread Bradley Froehle
Bradley Froehle added the comment: I see this issue came up in the course of #15653 as well. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue16690 ___