Raymond Hettinger <[EMAIL PROTECTED]> added the comment: The next-nevernull patch is much cleaner than I expected. Nice work.
The assertion in abstract.c can be changed to: assert(iter==PyObject_NextNotImplemented || PyIter_Check(iter)); Armin, are you happy with the new approach? Though "del obj.next" isn't doing exactly what you would expect, that seems harmless to me. _______________________________________ Python tracker <[EMAIL PROTECTED]> <http://bugs.python.org/issue3720> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com