Re: Adapter for class with slots
Wolfgang Schnerring <[email protected]>
| Newsgroups | gmane.comp.web.zope.devel |
|---|---|
| Message-ID | <[email protected]> |
* Wolfgang Schnerring <[email protected]> [2009-12-07 08:53]: >>> The minimal reproduction recipe to see the error is this: >>> >>> class Slotted(object): >>> __slots__ = ('__provides__') >>> >>> zope.component.provideAdapter( >>> lambda x: True, (Slotted,), zope.interface.Interface) > I'll try and see whether I can come up with a way for zope.interface to > do the Right Thing(tm) in this situation. I forgot to mention this here: the edge case has been fixed and released in zope.interface-3.5.3 Wolfgang _______________________________________________ Zope-Dev maillist - [email protected] https://mail.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - https://mail.zope.org/mailman/listinfo/zope-announce https://mail.zope.org/mailman/listinfo/zope )