[IronPython] abstract base classes

Ronnie Maor 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
class A(object):
    __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...
URL: <http://mail.python.org/pipermail/ironpython-users/attachments/20100317/23e176f0/attachment.html>

More information about the Ironpython-users mailing list