[issue12149] Segfault in _PyObject_GenericGetAttrWithDict

Davide Rizzo report at bugs.python.org
Thu Dec 15 10:03:43 CET 2011


Davide Rizzo <sorcio at gmail.com> added the comment:

Mark, it's been a long time since I went through this bug and don't remember the details. Are you sure subtype_dealloc should not call PyType_Modified? It looked like the appropriate place at the time. In the example the reference cycle was introduced on purpose by the Python program. Maybe we can try and explore the reference graph again?

I understood while posting the patch that this would have impacted performance. But deallocation of a subtype is not something that happens a lot in most programs. An overall 4% looks huge though.

----------

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


More information about the Python-bugs-list mailing list