Michael Bayer ha scritto:
> the "test" object you are loading in the "update" function is local to
> the "update" function itself.  when the function completes, "test"
> falls out of scope and is removed from the session (since it is weakly
> referenced in the session).
> 
> a change needs to be made to session whereby "dirty" objects dont get
> de-referenced from the session ("clean" objects have to, thats a
> long-accepted behavior).  
> since this is the second email in three days
> about this issue, ticket #388 is added.
> 



Thanks.
This is a crucial feature for me, since I use this pattern in Twisted 
(where in a separate thread I create a transaction and a session, 
passing the connection and session objects to an user define function).



Regards  Manlio Perillo

--~--~---------~--~----~------------~-------~--~----~
 You received this message because you are subscribed to the Google Groups 
"sqlalchemy" group.
To post to this group, send email to sqlalchemy@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/sqlalchemy?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to