This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author eryksun
Recipients docs@python, eryksun, joncle, mjpieters, ztane
Date 2015-04-04.22:51:34
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1428187895.08.0.392287426434.issue23864@psf.upfronthosting.co.za>
In-reply-to
Content
Probably I'm overlooking something, but why isn't this hook defined cooperatively, with a terminating base class method that returns True? If the call chain progresses to the base, then all of the interfaces have been satisfied. Otherwise one of the bases returns NotImplemented. If it's implemented cooperatively, then the `cls is Iterable` check can be removed, because it returns super().__subclasshook__(C) instead of True.
History
Date User Action Args
2015-04-04 22:51:35eryksunsetrecipients: + eryksun, mjpieters, joncle, docs@python, ztane
2015-04-04 22:51:35eryksunsetmessageid: <1428187895.08.0.392287426434.issue23864@psf.upfronthosting.co.za>
2015-04-04 22:51:35eryksunlinkissue23864 messages
2015-04-04 22:51:34eryksuncreate