Message400465
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:01 | kj | set | recipients:
+ kj, gvanrossum, JelleZijlstra, anuppari |
2021-08-28 09:11:01 | kj | set | messageid: <1630141861.74.0.833529059689.issue45024@roundup.psfhosted.org> |
2021-08-28 09:11:01 | kj | link | issue45024 messages |
2021-08-28 09:11:01 | kj | create | |
|