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.

Author nikvanderhoof
Recipients Michael Hooreman, nikvanderhoof
Date 2018-08-08.00:29:58
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1533688199.66.0.56676864532.issue34338@psf.upfronthosting.co.za>
In-reply-to
Content
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 (such as C().f())."

In this case, it can't be called on an instance because it is abstract, but since it's a classmethod, it is still okay to call it on the class directly.
History
Date User Action Args
2018-08-08 00:29:59nikvanderhoofsetrecipients: + nikvanderhoof, Michael Hooreman
2018-08-08 00:29:59nikvanderhoofsetmessageid: <1533688199.66.0.56676864532.issue34338@psf.upfronthosting.co.za>
2018-08-08 00:29:59nikvanderhooflinkissue34338 messages
2018-08-08 00:29:58nikvanderhoofcreate