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-08-28.09:11:01
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
Thanks for the bug report Anup. I'm mildly confused by what you meant, so please help me here:

I interpreted your request as wanting any type that implements `method` and `__iter__` to be considered a subtype of `IterableWithMethod`. But this already works at runtime and with mypy.

Are you perhaps saying that you want issubclass(Foo, IterableWithMethod) to work?
Date User Action Args
2021-08-28 09:11:01kjsetrecipients: + kj, gvanrossum, JelleZijlstra, anuppari
2021-08-28 09:11:01kjsetmessageid: <>
2021-08-28 09:11:01kjlinkissue45024 messages
2021-08-28 09:11:01kjcreate