Raymond Hettinger <rhettin...@users.sourceforge.net> added the comment:

> A possible solution could be in 
> collections.Iterator.__subclasshook__ 
> checking for both required methods.

That makes sense.  PEP 234 requires
iterators to support both methods.

----------
assignee:  -> rhettinger

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue10565>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to