[issue34338] abstractmethod can run on classes

2021-12-06 Thread Irit Katriel
Change by Irit Katriel : -- resolution: -> not a bug stage: -> resolved status: open -> closed ___ Python tracker ___ ___ Python-b

[issue34338] abstractmethod can run on classes

2018-08-07 Thread Nikolas Vanderhoof
Nikolas Vanderhoof added the comment: I've also posted that response on stackoverflow to your question in case others have the same confusion. -- ___ Python tracker ___ _

[issue34338] abstractmethod can run on classes

2018-08-07 Thread Nikolas Vanderhoof
Nikolas Vanderhoof added the comment: This behavior is consistent with the behavior described in the documentation for `@classmethod`. https://docs.python.org/3.6/library/functions.html?highlight=classmethod#classmethod "It can be called either on the class (such as C.f()) or on an instance

[issue34338] abstractmethod can run on classes

2018-08-05 Thread Michael Hooreman
New submission from Michael Hooreman : Hello, When I decorate a class method with abc.abstractmethod, and I call it from the class (not the instance), the call is successful. It looks like ID 5867 which was closed years ago. See https://stackoverflow.com/questions/51669362/python-3-6-abc-ab