[Subversion] / Contextual / context.txt |
No default branch
Bookmark a link to HEAD:
(view)
(download)
Packaging cleanups for Cheeseshop registration.
Trim obsolete docs, add 2.3/2.4 compat docs to dev guide.
Major API overhaul. Service classes now act like peak.binding.Singletons, in that the class itself is a proxy for the current instance. This eliminates the need for two names to refer to the "same" object. Settings are now created with decorators, the module is peak.context instead of peak.util.context, and many many other changes. And there are still more to come, but mostly additions and some tweaks to how the App context works.
Use ProxyTypes' proxy types instead of defining local ones.
Begin re-org of tests/doc
Updated for PEP 343 changes in Python 2.5. If you want to have a working __context__ method, you now have to use the context.delegated_enter and context.delegated_exit functions as your __enter__ and __exit__ methods. This is due to Python 2.5 dropping support for the __context__ method. :(
Update to reflect the latest PEP 343 semantics, as implemented for Python 2.5 alpha 1.
Rough draft of context.Namespace, which is somewhat similar to a PEAK property namespace.
Initial draft of the "Contextual" library, peak.util.context. This library offers a variety of tools for dynamic context management, roughly equivalent to a subset of peak.config and peak.binding, but with far less code, complexity, and coupling. The contextual tools can be used without interfaces, components, or component hierarchies, and provide a more dynamic concept of operations than ServiceArea. In addition, the Context tools are thread-safe, even for generator-based pseudothreads. Python 2.4 is required.
cvs-admin@eby-sarna.com Powered by ViewCVS 1.0-dev |
ViewCVS and CVS Help |