[Checkins]
SVN: martian/branches/jw-philipp-using-ndir-directives/CHANGES.txt
Changelog for the work of this branch.
Philipp von Weitershausen
philikon at philikon.de
Sun May 4 09:22:41 EDT 2008
Log message for revision 86367:
Changelog for the work of this branch.
Changed:
U martian/branches/jw-philipp-using-ndir-directives/CHANGES.txt
-=-
Modified: martian/branches/jw-philipp-using-ndir-directives/CHANGES.txt
===================================================================
--- martian/branches/jw-philipp-using-ndir-directives/CHANGES.txt 2008-05-04 13:22:11 UTC (rev 86366)
+++ martian/branches/jw-philipp-using-ndir-directives/CHANGES.txt 2008-05-04 13:22:41 UTC (rev 86367)
@@ -7,6 +7,24 @@
Features changes
----------------
+* Replaced the various directive base classes with a single
+ ``martian.Directive`` base class:
+
+ - The directive scope is now defined with the ``scope`` class
+ attribute using one of ``martian.CLASS``, ``martian.MODULE``,
+ ``martian.CLASS_OR_MODULE``.
+
+ - The type of storage is defined with the ``store`` class attribute
+ using one of ``martian.ONCE``, ``martian.MULTIPLE``,
+ ``martian.DICT``.
+
+ - Directives have now gained the ability to read the value that they
+ have set on a component or module using a ``get()`` method. The
+ ``class_annotation`` and ``class_annotation_list`` helpers have
+ been removed as a consequence.
+
+* Moved the ``baseclass()`` directive from Grok to Martian.
+
* Added a ``martian.util.check_provides_one`` helper, in analogy to
``check_implements_one``.
More information about the Checkins
mailing list