Re: cleaning up after a request, always?

2011-11-20 Thread Michael Bayer
On Nov 20, 2011, at 10:59 PM, Wyatt Baldwin wrote: > On Sunday, November 20, 2011 3:17:54 PM UTC-8, Iain Duncan wrote: > On Sun, Nov 20, 2011 at 2:48 PM, Iain Duncan wrote: > Hey folks, I'm using the pattern of making sqlalchemy sessions in a request > factory, but I've mucked up and the sessio

Re: cleaning up after a request, always?

2011-11-20 Thread Wyatt Baldwin
On Sunday, November 20, 2011 3:17:54 PM UTC-8, Iain Duncan wrote: > > On Sun, Nov 20, 2011 at 2:48 PM, Iain Duncan wrote: > >> Hey folks, I'm using the pattern of making sqlalchemy sessions in a >> request factory, but I've mucked up and the session's aren't always getting >> close. I think it's

Re: Pyramid 1.2.2 released

2011-11-20 Thread Chris McDonough
1.2.2 distribution was f'ed up. 1.2.3 is out which replaces it. On Sun, 2011-11-20 at 15:45 -0500, Chris McDonough wrote: > Pyramid 1.2.2 has been released. This is a bug fix release. The > changes from 1.2.1 are as follows: > > Features > > > - Backport from master: a ``mako.di

Re: cleaning up after a request, always?

2011-11-20 Thread Iain Duncan
On Sun, Nov 20, 2011 at 2:48 PM, Iain Duncan wrote: > Hey folks, I'm using the pattern of making sqlalchemy sessions in a > request factory, but I've mucked up and the session's aren't always getting > close. I think it's happening when some methods short circuit and raise > HTTPExceptions. Wonder

cleaning up after a request, always?

2011-11-20 Thread Iain Duncan
Hey folks, I'm using the pattern of making sqlalchemy sessions in a request factory, but I've mucked up and the session's aren't always getting close. I think it's happening when some methods short circuit and raise HTTPExceptions. Wondering what's the 'right way' to make sure that the request.sess

Pyramid 1.2.2 released

2011-11-20 Thread Chris McDonough
Pyramid 1.2.2 has been released. This is a bug fix release. The changes from 1.2.1 are as follows: Features - Backport from master: a ``mako.directories`` setting is no longer required to use Mako templates. Rationale: Mako template renderers can be specified using an abs