Re: [Sqlalchemy-tickets] [sqlalchemy] #1389: Calling __dict__ on a mapped object ruins the session'
Brought to you by:
zzzeek
From: sqlalchemy <mi...@zz...> - 2009-04-23 14:22:14
|
#1389: Calling __dict__ on a mapped object ruins the session's inner state -----------------------------------------+---------------------------------- Reporter: guest | Owner: zzzeek Type: defect | Status: new Priority: medium | Milestone: Component: orm | Severity: no triage selected yet Resolution: | Keywords: Status_field: needs questions answered | -----------------------------------------+---------------------------------- Changes (by zzzeek): * component: (none) => orm * status_field: awaiting triage => needs questions answered Comment: __dict__ is entirely accessible on mapped objects. You will have poor results if you populate it since you're bypassing the attribute tracking logic but it wouldn't produce anything like the above. Please attach a fully reproducing test case to this ticket to illustrate what specifically causes the issue else we'll have to close this ticket. -- Ticket URL: <http://www.sqlalchemy.org/trac/ticket/1389#comment:2> sqlalchemy <http://www.sqlalchemy.org/> The Database Toolkit for Python |