--__--__-- Pilot Systems http://www.pilotsystems.net 66, rue de Provence 75009 Paris Tel (direct): +33 1 44 53 25 93 Tel (standard): +33 1 44 53 05 55 Fax : +33 1 44 53 04 44 mailto:gilles@pilotsystems.net ----- Original Message ----- From: "Matt" <matt@inuan.com> To: "Gilles Lenfant" <gilles@pilotsystems.net>; <zope@zope.org> Sent: Tuesday, July 29, 2003 12:47 AM Subject: Re: [Zope] Object
You can define a __setstate__ method, but be aware that it has some restrictions, such as self not being acquisition wrapped. If you need those features of a fully instantiated published object, then attribute checks in a getter will allow you to test for the presence of the attribute and create it if needed.
Many thanks Matt... Where can I find the signature of that __setstate__ method ? Cheers --Gilles