Re: [sqlalchemy] Confusion regarding how sessions affect mapped objects (plus a gc oddity)

2011-01-07 Thread Michael Bayer
On Jan 7, 2011, at 2:15 AM, Russ wrote: I'm running into some issues with objects being attached to sessions that I don't quite understand. Basically, if I create some objects, add them to a session, commit, then turf the session (or at least let it fall out of scope), one expectation I

[sqlalchemy] Confusion regarding how sessions affect mapped objects (plus a gc oddity)

2011-01-06 Thread Russ
I'm running into some issues with objects being attached to sessions that I don't quite understand. Basically, if I create some objects, add them to a session, commit, then turf the session (or at least let it fall out of scope), one expectation I have is that I will still be able to access the