On Thursday 29 June 2006 00:18, Baiju M wrote:
> Why z.a.c.c.ContainerTypesConstraint and
> z.a.c.c.ItemTypePrecondition is not deprecated yet? There is
> z.a.c.c.contains and z.a.c.c.containers functions.
Because contains() and containers() use those two classes; they are just
syntactic sugar. See the code in the referenced modules.
> Which is the preferred/recommended way to set constraints?
contains/containers is recommended.
CBU Physics & Chemistry (B.S.) / Tufts Physics (Ph.D. student)
Web2k - Web Software Design, Development and Training
Zope3-users mailing list