[BlueBream] seeking clarifications in zope.container
Thierry Florac
thierry.florac at onf.fr
Mon Oct 11 09:19:32 EDT 2010
Le lundi 11 octobre 2010,
Adam GROSZER <agroszer at gmail.com> 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. : thierry.florac at onf.fr
Web. : http://www.onf.fr
More information about the bluebream
mailing list