[PEAK] interfaces as factory?

Phillip J. Eby pje at telecommunity.com
Fri Jun 18 01:14:54 EDT 2004


At 06:20 PM 6/17/04 -0500, Tracy S. Ruggles wrote:
>Hi all,
>
>I'm a pretty solid user of the PyProtocols package and came across this 
>option as a way of creating/adapting objects to an interface.  Is it a bad 
>thing to do, and, if so, why?

No, it's not.  And the CVS version of PyProtocols actually already 
implements this, albeit in a different way.  It also allows the 'default' 
and 'factory' options to be supplied.

You might take a look at:

    http://peak.telecommunity.com/protocol_api/CHANGES.txt.html

and

    http://peak.telecommunity.com/protocol_api/TODO.txt.html

for a heads-up on what else is coming.




More information about the PEAK mailing list