[Subversion] / PEAK / CHANGES.txt  

Revision 1501


Jump to revision:
Previous Next
Author: pje
Date: Fri Nov 28 21:51:50 2003 UTC (20 years, 4 months ago)

Log Message:

Added 'naming.Indirect(key)', a 'binding.IComponentKey' that can be used to
do an indirect lookup via another 'IComponentKey' (such as a name).  Using
'naming.Indirect()', you can replace code like this::

    socket = binding.Obtain(
        lambda self: self.lookupComponent(self.socketURL),
        adaptTo = [IListeningSocket]
    )

with code like this::

    socket = binding.Obtain(
        naming.Indirect('socketURL'), adaptTo = [IListeningSocket]
    )

Changed paths:

Path Action Text Changes Prop Changes Diff to Previous
PEAK/CHANGES.txt modified X   (diff to previous)
PEAK/TODO.txt modified X   (diff to previous)
PEAK/src/peak/binding/tests/__init__.py modified X   (diff to previous)
PEAK/src/peak/naming/names.py modified X   (diff to previous)

cvs-admin@eby-sarna.com

Powered by ViewCVS 1.0-dev

ViewCVS and CVS Help