3 ms·
> The fundamental issue is that Python doesn't really have a way to enforce this When (as to make this even worth discussing, one must) one includes the typech
by dragonwriter 6y ago
> The fundamental issue is that Python doesn't really have a way to enforce this
When (as to make this even worth discussing, one must) one includes the typecheckers (which are technically external) in “Python”, that's not true; both mypy and pyright enforce that abstract classes (either those explicitly declared as abcs, or derived classes with any non-overridden declared-as-abstract methods) cannot be instantiated.