Didn't see your answer, Gabriel. Thanks, now I understand it even better. <br><br><div><span class="gmail_quote">On 3/27/08, <b class="gmail_sendername">dave berk</b> <<a href="mailto:dave.brk@gmail.com">dave.brk@gmail.com</a>> wrote:</span><blockquote class="gmail_quote" style="margin-top: 0; margin-right: 0; margin-bottom: 0; margin-left: 0; margin-left: 0.80ex; border-left-color: #cccccc; border-left-width: 1px; border-left-style: solid; padding-left: 1ex">
sorry, forget all I wrote: I should have read this more thoroughly, it explained it all<span class="q"><br><a href="http://www.cafepy.com/article/python_attributes_and_methods/python_attributes_and_methods.html" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">http://www.cafepy.com/article/python_attributes_and_methods/python_attributes_and_methods.htm<span><br>
<br></span></a></span>Descriptors only works with type objects, not instance. and you can't write from an instance object to a class variable. You can only hide it. Also __slots__ works by creating descriptors in the class and preventing creation of any atrributes in the class instance, so everything is clear now<br>
<span class="sg"><br>Dave<br></span></blockquote></div><br>