[Zope3-dev] interface.adapter/interface.surrogate

Jim Fulton jim at zope.com
Tue Mar 9 15:00:04 EST 2004


Jim Fulton wrote:
> Sidnei da Silva wrote:
> 
>> On Mon, Mar 08, 2004 at 11:33:23AM -0500, Jim Fulton wrote:
>> | | An old adapter implementation lives in interface.adapter.  I'd 
>> like to | replace
>> | this old implementation with the new one, which is currently hiding in
>> | interface.surrogate. The new implementations are not 
>> interchangeable, | however.
>> | I seriously doubt that this will affect anyone, so I'm going to go 
>> ahead.
>> | If I'm wrong, please let me know so we can sort it out. :)
>> | | I also assume that no one (outside the core) is importing | 
>> interface.surrogate,
>> | so I'm going to get rid of that.
> 
> 
> Done
> 
>> Nice timing. I was about to start creating an adapter registry based
>> on interface.surrogate for project that will depend only on
>> zope.interface.
>>
>> /me moves items down in todo list.
> 
> 
> You can move it back to the top if you want.

Except that I'm monkeying with the interface a bit.  Of course, there
wasn't an interface before, so I'm free to do what I want. ;)  I'll
write one this time.

Jim

-- 
Jim Fulton           mailto:jim at zope.com       Python Powered!
CTO                  (540) 361-1714            http://www.python.org
Zope Corporation     http://www.zope.com       http://www.zope.org




More information about the Zope3-dev mailing list