Message388860
Yeah, the runtime isinstance() checking is not required to give the right answer. Also, I believe one of the rules is "if you inherit from a protocol you are deemed to implement it". For methods, abstract methods can (but needn't) be used to indicate mandatory features. For attributes, there is no guarantee. |
|
Date |
User |
Action |
Args |
2021-03-16 17:06:36 | gvanrossum | set | recipients:
+ gvanrossum, levkivskyi, kj, paul-dest |
2021-03-16 17:06:36 | gvanrossum | set | messageid: <1615914396.67.0.843116875709.issue43512@roundup.psfhosted.org> |
2021-03-16 17:06:36 | gvanrossum | link | issue43512 messages |
2021-03-16 17:06:36 | gvanrossum | create | |
|