Message414208
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. |
|
Date |
User |
Action |
Args |
2022-02-28 16:58:45 | gvanrossum | set | recipients:
+ gvanrossum, rhettinger, docs@python, Yoshanuikabundi |
2022-02-28 16:58:45 | gvanrossum | set | messageid: <1646067525.8.0.39645670829.issue46814@roundup.psfhosted.org> |
2022-02-28 16:58:45 | gvanrossum | link | issue46814 messages |
2022-02-28 16:58:45 | gvanrossum | create | |
|