[issue2040] Class instance attributes that are property() should appear in __dict__

2008-02-07 Thread Jag Ginsberg
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.__

[issue2040] Class instance attributes that are property() should appear in __dict__

2008-02-07 Thread Jag Ginsberg
New submission from Jag Ginsberg: If I have a class: class Foo(object): bar = property(lambda self: 'baz') # ignore the value's trivial nature and then run: >>> foo_obj = Foo() >>> foo_obj.__dict__ ... I would expect to see: {'bar': 'baz