[issue35362] list inheritor with abc method does not raise

vassilis Lemonidis report at bugs.python.org
Fri Nov 30 10:30:25 EST 2018


New submission from vassilis Lemonidis <vaslemonidis at hotmail.com>:

The following does not raise:

class Test(list, metaclass=ABCMeta):
    @abstractmethod
    def test(self):
        pass
test = Test()

There is not enough documentation to support this problem, so I believe this can be classified as a bug. Anyone please elaborate.

----------
components: Library (Lib)
messages: 330793
nosy: vaslem
priority: normal
severity: normal
status: open
title: list inheritor with abc method does not raise
versions: Python 3.7

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue35362>
_______________________________________


More information about the Python-bugs-list mailing list