Guido van Rossum <gu...@python.org> added the comment:

Raymond, I agree that this is going too far. I believe the OP has taken the 
position that "abstract" has only one meaning and it is defined by 
inspect.isabstract(). I disagree with this.

An ABC is an ABC is an ABC, and it provides certain functionality through the 
ABCMeta metaclass: (1) forbid instantiation when at least one 
@abstractmethod-decorated method exist that isn't overridden, and (2) virtual 
subclasses.

Calling out that a class with metaclass=ABCMeta is only abstract when it has at 
least one @abstractmethod left, over and over, is not helpful.

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<https://bugs.python.org/issue46814>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to