are not called once I set the property.
.... def __init__(self):>>class Test:
.... self._color = 12
.... def _setcolor(self,value):
.... print 'setting'
.... self._color = value
.... def _getcolor(self):
.... print 'getting'
.... return self._color
.... color = property(_getcolor,_setcolor)
....
getting>>a = Test()
a.color
12
22>>a.color = 22
a.color
For some reason the set method is not getting called at all, Anybody
has any clue?
thanks.
--
Suresh