Re: [Zope-dev] Adapter for class with slots

2009-12-15 Thread Wolfgang Schnerring
* Wolfgang Schnerring w...@gocept.com [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

Re: [Zope-dev] Adapter for class with slots

2009-12-06 Thread Wolfgang Schnerring
* Shane Hathaway sh...@hathawaymix.org [2009-12-03 11:44]: Wolfgang Schnerring wrote: The minimal reproduction recipe to see the error is this: class Slotted(object): __slots__ = ('__provides__') zope.component.provideAdapter( lambda x: True, (Slotted,),

Re: [Zope-dev] Adapter for class with slots

2009-12-03 Thread Shane Hathaway
Wolfgang Schnerring wrote: 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) Which will raise File