Benjamin Peterson added the comment: I think the creation of __del__ wrappers for extension types is separate from this issue of generator finalization. ---------- _______________________________________ Python tracker <report at bugs.python.org> <http://bugs.python.org/issue17468> _______________________________________