Changes by Serhiy Storchaka :
--
dependencies: -abstract class instantiable when subclassing dict
resolution: -> duplicate
stage: -> resolved
status: open -> closed
superseder: -> abstract class instantiable when subclassing dict
___
Python tracke
Xiang Zhang added the comment:
Yes. This is the case for builtin types which usually get their own __new__
methods. See #5996.
--
dependencies: +abstract class instantiable when subclassing dict
nosy: +xiang.zhang
versions: +Python 3.5, Python 3.7
__
New submission from chrysn:
The "TypeError: Can't instantiate abstract class C with abstract methods x"
exception does not get raised when when the involved ABCMeta class is derived
from an Exception.
The attached file shows that a class without an implementation of an
abstractmethod can get