This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

classification
Title: list inheritor with abstract content does not raise
Type: behavior Stage: resolved
Components: Library (Lib) Versions: Python 3.7
process
Status: closed Resolution: duplicate
Dependencies: Superseder: No Instantiation Restrictions for AbstractBaseClasses derived from builtin types
View: 37927
Assigned To: Nosy List: vaslem
Priority: normal Keywords:

Created on 2018-11-30 15:30 by vaslem, last changed 2022-04-11 14:59 by admin. This issue is now closed.

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
2022-04-11 14:59:08adminsetgithub: 79543
2021-12-06 13:42:45iritkatrielsetstatus: open -> closed
superseder: No Instantiation Restrictions for AbstractBaseClasses derived from builtin types
resolution: duplicate
stage: resolved
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