[issue5867] No way to create an abstract classmethod
Guido van Rossum
report at bugs.python.org
Fri Aug 13 23:42:43 CEST 2010
Guido van Rossum <guido at python.org> added the comment:
As you figured out it is not yet supported.
I object to making changes to the classmethod implementation.
I expect the best thing to do is to add a new
@abc.abstractclassmethod
decorator defined in pure Python (maybe the definition of abstractproperty provides a hint on how to do this).
You may want to define @abc.abstractstaticmethod as well.
----------
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue5867>
_______________________________________
More information about the Python-bugs-list
mailing list