* Wolfgang Schnerring [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
* Shane Hathaway [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,), zope.interface.I
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
> "/h
Hello,
I've stumbled upon a wrinkly edge case (bug?) in zope.component.
What I was trying to do is register an AbsoluteURL adapter for
lovely.remotetask.processor.ProcessorRequest objects, and since they
don't implement a specific interface, I thought I'd use the class
itself as the required comp