Jag Ginsberg added the comment:

I appreciate your quick response, and I certainly hope you won't read
this as me being anything but ignorant, but how can a property whose
function definitions include "self" be "about" the class and not the
instance?

I agree that Foo.__dict__ should include the <property object>
reference, but if a property is supposed to be a function that behaves
like an instance attribute (I say "instance" because of the presence of
self in the arguments and not cls), wouldn't it make sense for its value
to be included in foo_obj.__dict__ like every other attribute whose
value is specific to the instance?

I'm sure my misunderstanding is in the intended definitions of __dict__
and of property(). :-/

__________________________________
Tracker <[EMAIL PROTECTED]>
<http://bugs.python.org/issue2040>
__________________________________
_______________________________________________
Python-bugs-list mailing list 
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to