Laurence Rowe wrote:
> On Apr 28, 4:38 pm, Chris Withers <> wrote:
>> Laurence Rowe wrote:
>>> Chris,
>>> This is what the combination of repoze.tm2/transaction and
>>> zope.sqlalchemy does for you. You don't have to do anything special
>>> other than that.
>> It doesn't do the .remove().
>> BFG currently has a bit of horribleness to make that work.
>> I'd like to get rid of it or make it less horrible...
> Can you point me at where it does that please.

...the handle_teardown function.

I no longer believe this is necessary, pending absolute confirmation 
from Michael in the "Re: [sqlalchemy] session lifecycle and wsgi" thread.

It's certainly not necessary to do the close() *and* the remove() ;-)



Repoze-dev mailing list

Reply via email to