Public bug reported:

It is not currently possible to include __slots__ in Interfaces to
compel classes to use it.

>>> from beeseek.interfaces import *
>>> class IExample(Interface):
...     __slots__ = tuple
... 
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
TypeError: Error when calling the metaclass bases
    'type' object is not iterable

** Affects: beeseek-base
     Importance: Low
         Status: Confirmed

** Changed in: beeseek-base
   Importance: Undecided => Low
       Status: New => Confirmed

-- 
It is not currently possible to declare __slots__ in an Interface
https://bugs.launchpad.net/bugs/313272
You received this bug notification because you are a member of BeeSeek
Quality Assurance, which is subscribed to BeeSeek Base.

_______________________________________________
Mailing list: https://launchpad.net/~beeseek-qa
Post to     : beeseek-qa@lists.launchpad.net
Unsubscribe : https://launchpad.net/~beeseek-qa
More help   : https://help.launchpad.net/ListHelp

Reply via email to