Guido van Rossum added the comment:
> Would it be useful to provide a separate function to perform the check, which
> could be used by lint-style tools as well as automated tests?
>
> It would be great if every call to .register in the standard library had a
> corresponding test that verified
Daniel Stutzbach added the comment:
Would it be useful to provide a separate function to perform the check, which
could be used by lint-style tools as well as automated tests?
It would be great if every call to .register in the standard library had a
corresponding test that verified that the
Guido van Rossum 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 che
New submission from Daniel Stutzbach :
In Issue 9212, I mused:
> I sort of wonder if .register() should verify that the concrete class
> provides all of the methods of the ABC.
Éric Araujo suggested I open that as an issue for consideration.
I have found a few bugs in the standard library wh