Open Protocols and Component Adaptation for Python
PyProtocols is an implementation of PEP 246 allowing Python programmers to
define Interfaces and adapters between them, thereby reducing or eliminating
fragile 'isinstance' if type() comparisons.
PyProtocols Release 0.9.3 (release candidate 1)
Copyright (C) 2003 by Phillip J. Eby. All rights reserved. This software may
be used under the same terms as Zope or Python. THERE ARE ABSOLUTELY NO
WARRANTIES OF ANY KIND.
Do you hate having to write lots of if-then logic to test what type
something is? Wouldn't it be nice if you could just declare "I want this
Fixes and changes since PyProtocols 0.9.3
- Added support to make 'protocols.advise()' operate correctly in a doctest
or other 'exec' scenario. 'protocols.advice.getFrameInfo()' now returns
a 'kind' of '"class"' when in a class body being exec'd.
- There is a new 'protocols.advice.add_assignment_advisor' function that
allows you to implement PEP 318-like decorators in Python 2.2 and
Browse inside python-protocols-1.0-0.3.a0dev_r2082.el4.ppc.rpm
Results 1 - 1 of 1Search over 15 billion files
© 1997-2017 FileWatcher.com