[issue15721] PEP 3121, 384 Refactoring applied to tkinter module

Antoine Pitrou report at bugs.python.org
Sun Aug 11 00:18:03 CEST 2013


Antoine Pitrou added the comment:

The first two patches (_tkinter_pep3121-384_v0.patch and _tkinter_pep3121-384_v1.patch) seemed to have the refcounts right, but Andrew's further patches lost the required Py_INCREF in the various new() functions (and the corresponding Py_DECREF in deallocs), which is the cause for the crash in #15667.

----------
nosy: +pitrou

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue15721>
_______________________________________


More information about the Python-bugs-list mailing list