[Zope-Coders] New API for Zope configuration info
Fred L. Drake, Jr.
fred@zope.com
Wed, 12 Feb 2003 10:36:04 -0500
Chris McDonough writes:
> The "ZConfig" package (which Zope will use) supports "import" and
> "include" using a "%include <filename>" or "%import <filename>"
> statements, so it should be possible to use these features to do what
> you describe as a "global" config shared between multiple instances.
There is no %import -- that was scraped since it was semantically
confusing, and there were enough ill-defined cases where we weren't
really sure how it *should* work.
Such a thing may be introduced in the future if the semantics are
clear.
%include is much simpler (similar to C's #include) and is expected to
remain (no one has suggested removing it, and I've no intention of
doing so).
-Fred
--
Fred L. Drake, Jr. <fred at zope.com>
PythonLabs at Zope Corporation