[New-bugs-announce] [issue34338] abstractmethod can run on classes

Michael Hooreman report at bugs.python.org
Sun Aug 5 12:29:46 EDT 2018


New submission from Michael Hooreman <mhooreman at gmail.com>:

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-abstracmethod-on-classmethod-no-check-on-class-level-call

Thanks!

----------
components: Library (Lib)
messages: 323157
nosy: Michael Hooreman
priority: normal
severity: normal
status: open
title: abstractmethod can run on classes
type: behavior
versions: Python 3.6

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


More information about the New-bugs-announce mailing list