Davide Rizzo <sor...@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 <rep...@bugs.python.org>
<http://bugs.python.org/issue12149>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to