[sqlalchemy] Re: use of dict_ versus getting attributes from cls

2010-03-27 Thread Michael Bayer
On Mar 27, 2010, at 12:35 PM, Chris Withers wrote: Hi Again, I'm also curious about use of dict_ versus getting from cls in _as_declarative. IIRC, at pycon, you changed it so that DeclarativeMeta passes the class's __dict__ as dict_ and then made it so that only dict_ is consulted for

[sqlalchemy] Re: use of dict_ versus getting attributes from cls

2010-03-27 Thread Chris Withers
Michael Bayer wrote: I'm also curious about use of dict_ versus getting from cls in _as_declarative. IIRC, at pycon, you changed it so that DeclarativeMeta passes the class's __dict__ as dict_ and then made it so that only dict_ is consulted for attributes. I did that, I thought, because