Re: [Orbit-python-list] orbit-python and __setattr__ overloading
Status: Inactive
Brought to you by:
tack
From: Marcelo CB <co...@as...> - 2001-01-30 20:05:50
|
thanks, it just worked as expected! _set_<attribname> On 30 Jan 2001, Roland Mas wrote: > Marcelo CB (2001-01-30 16:43:29 -0200) : >=20 > > I was wondering if this is an expected behaviour, mostly because I > > would like to overload __setattr__ to know when an attribute was > > changed. I need this to control the persistency state of the class. >=20 > I think I coded that sometime last summer. You just have to use the > correct method names, namely _get_<attributename> and > _set_<attributename>. >=20 > Roland. > --=20 > Roland Mas >=20 > C r ' s d a u e e ll r a u i r . =20 > -- Signatures =E0 collectionner, s=E9rie n=B01, partie 1/3. >=20 > _______________________________________________ > Orbit-python-list mailing list > Orb...@li... > http://lists.sourceforge.net/lists/listinfo/orbit-python-list >=20 Marcelo Corbani de Barros co...@as... Async Open Source Development - Brasil |