10 Sep
2014
10 Sep
'14
11:41 p.m.
On 09/10/2014 01:59 PM, Erik Bray wrote:
--> import abc --> class Meta(type, metaclass=abc.ABCMeta): ... @abc.abstractmethod ... def foo(cls): pass ... --> class A(metaclass=Meta): pass ... --> A
I think this is a bug. However, if the class were: --> class A(metaclass=Meta): ... def foo(self): ... pass ... Then this should succeed, and I don't think your Abstractable type allows it. -- ~Ethan~