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 kj
Recipients JelleZijlstra, anuppari, gvanrossum, kj
Date 2021-09-02.15:28:45
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
I suspect this may be intentional. See related issues and

Copying verbatim from what Ivan said in the first issue:

The separation may look arbitrary, but the idea is quite simple. Only those classes with few methods support structural checks. Those classes have few independent abstract methods (or even just one method), while in classes with large APIs like `Sequence`, the methods are not logically independent, so you can't say a class is 100% a `Sequence` even if types/signatures of all methods are correct, because e.g. `__contains__()` and `index()` should behave in agreement with `__getitem__()`.
Date User Action Args
2021-09-02 15:28:45kjsetrecipients: + kj, gvanrossum, JelleZijlstra, anuppari
2021-09-02 15:28:45kjsetmessageid: <>
2021-09-02 15:28:45kjlinkissue45024 messages
2021-09-02 15:28:45kjcreate