Re: [sqlalchemy] Re: Objects are wrongly getting removed/expunged from session

2011-01-15 Thread Michael Bayer
On Jan 15, 2011, at 8:37 PM, Tvrtko wrote: > > > On Jan 15, 5:53 pm, Tvrtko wrote: >> This is my first such case in 5-6 years of using the SA. Usually the >> problem was with my code. This could also be the case now, but it >> escapes me where I made a mistake. >> >> Thank you for your time.

Re: [sqlalchemy] Re: Objects are wrongly getting removed/expunged from session

2011-01-15 Thread Michael Bayer
On Jan 15, 2011, at 11:53 AM, Tvrtko wrote: > This is my first such case in 5-6 years of using the SA. Usually the > problem was with my code. This could also be the case now, but it > escapes me where I made a mistake. not suggesting you made a mistake. suggesting that some artifact of your

Re: [sqlalchemy] Re: Objects are wrongly getting removed/expunged from session

2011-01-15 Thread Michael Bayer
On Jan 15, 2011, at 11:10 AM, Tvrtko wrote: > > > On Jan 15, 4:35 pm, Michael Bayer wrote: >> So, you have A->B, an exception occurs, you do the rollback, then you're >> somehow trying to continue on within the web request ? The code examples >> here are out of context snippets and I don

Re: [sqlalchemy] Re: Objects are wrongly getting removed/expunged from session

2011-01-15 Thread Michael Bayer
So, you have A->B, an exception occurs, you do the rollback, then you're somehow trying to continue on within the web request ? The code examples here are out of context snippets and I don't see any exception handling happening so they don't really tell me much.When the flush fails, the