[Subversion] / Contextual / test_context.py |
No default branch
Bookmark a link to HEAD:
(view)
(download)
(as text)
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.
Make README testable, add new files that 'context.txt' will be refactored into. Add 'context.replaces()' class decorator to make it easier to define an alternative service implementation.
Refactor class hiearchy slightly, and add a README that presents the library as it should be seen on PyPI. Still a lot of cleanup to do and tests to add, though.
cvs-admin@eby-sarna.com Powered by ViewCVS 1.0-dev |
ViewCVS and CVS Help |