classification
Title: list inheritor with abstract content does not raise
Type: behavior Stage:
Components: Library (Lib) Versions: Python 3.7
process
Status: open Resolution:
Dependencies: Superseder:
Assigned To: Nosy List: vaslem
Priority: normal Keywords:

Created on 2018-11-30 15:30 by vaslem, last changed 2018-11-30 15:32 by vaslem.

Messages (1)
msg330793 - (view) Author: vassilis Lemonidis (vaslem) Date: 2018-11-30 15:30
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.
History
Date User Action Args
2018-11-30 15:32:36vaslemsettitle: list inheritor with abc method does not raise -> list inheritor with abstract content does not raise
2018-11-30 15:31:13vaslemsettype: behavior
2018-11-30 15:30:24vaslemcreate