[IronPython] abstract base classes
ronnie.maor at gmail.com
Wed Mar 17 11:03:53 CET 2010
This is probably something well known, but I just tried using ABCs in IPy
2.6 for first time and saw that they don't enforce anything:
from abc import ABCMeta, abstractmethod
__metaclass__ = ABCMeta
def foo(self, x):
class B(A): pass # no foo method
b = B() # shouldn't work, but does
Do you know if/when this is planned to be fixed?
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Ironpython-users