[issue9731] ABCMeta.register should verify that methods are present

Guido van Rossum report at bugs.python.org
Wed Sep 1 16:49:18 CEST 2010

Guido van Rossum <guido at python.org> added the comment:

That would be too hard-headed. A complaint I often hear about Interfaces in Java is that classes have a hard time if they choose not to implement a certain method. It also would not be enough -- there are tons of ways you would be able to satisfy such a check to the letter while still breaking any call.

It may be a good idea for a lint-style tool to warn about these though.

resolution:  -> rejected
status: open -> closed

Python tracker <report at bugs.python.org>

More information about the Python-bugs-list mailing list