[Python-ideas] abc.optionalabstractmethod

James William Pye x at jwp.io
Tue Aug 7 08:51:07 CEST 2012

On Aug 6, 2012, at 10:02 PM, Nick Coghlan <ncoghlan at gmail.com> wrote:
> No. That leads to a combinatorial explosion of interface classes that
> only makes sense in languages which don't readily support attribute
> level introspection (*cough*such-as-Java*cough*).

Yes, so don't do that. =)

What's the matter with having a set of *distinct* interface classes and having
a given *implementation* cherry pick the appropriate ones?

More information about the Python-ideas mailing list