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. Regards, Stephan -- Stephan Richter CBU Physics & Chemistry (B.S.) / Tufts Physics (Ph.D. student) Web2k - Web Software Design, Development and Training _______________________________________________ Zope3-users mailing list Zope3-users@zope.org http://mail.zope.org/mailman/listinfo/zope3-users