Author rhettinger
Recipients brett.cannon, gvanrossum, rhettinger
Date 2016-07-24.16:44:39
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
In putting together a patch for this, I noticed that the __subclasshook__ classmethods don't compose well.   I'm unclear about the semantics about what these hooks are supposed to mean for subclasses and whether there is a bug in the existing code for Set, Sequence, and Mapping.  Each of those inherits from Sized, Iterable, and Container, but only the Sized.__subclasshook__ is visible to the subclass.  Also, the code for Sized.__subclasshook__ has an identity check for Sized which doesn't seem correct from the point-of-view of the subclasses.
Date User Action Args
2016-07-24 16:44:39rhettingersetrecipients: + rhettinger, gvanrossum, brett.cannon
2016-07-24 16:44:39rhettingersetmessageid: <>
2016-07-24 16:44:39rhettingerlinkissue27598 messages
2016-07-24 16:44:39rhettingercreate