Nick Coghlan added the comment: Antoine came up with a scheme (see issue 17807) that should eliminate the tp_del implementation from generator objects by moving the cleanup code to the frame deallocation.
This will restore Guido's original assumption that types implemented in C won't need to provide tp_del, so this proposal becomes obsolete. ---------- dependencies: -Generator memory leak resolution: -> out of date superseder: -> Generator cleanup without tp_del _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue17800> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com