Le lundi 11 octobre 2010, Adam GROSZER <[email protected]> a écrit : ====================================================================== > Hello Joshua, > > If you decrypt ;-) zope.container.constraints.[contains and > containers] they just do the same. > I prefer zope.container.constraints.[contains and containers], they're > more concise and readble. ======================================================================
And, moreover, they are defined at the **interface** level and don't depend on the implementation !!! Several pre-defined containers classes already check for these pre-conditions so you don't have to override anything to check for them. Regards, Thierry -- Chef de projets intranet/internet Office National des Forêts - Département Informatique 2, Avenue de Saint-Mandé 75570 Paris Cedex 12 Tél. : 01 40 19 59 64 Fax. : 01 40 19 58 85 Mél. : [email protected] Web. : http://www.onf.fr _______________________________________________ bluebream mailing list [email protected] https://mail.zope.org/mailman/listinfo/bluebream
