Re: Adding "abort" and "redirect" to Pyramid

2011-05-25 Thread Mike Orr
On Sun, May 15, 2011 at 11:27 PM, Chris McDonough wrote: > I've created a branch named "httpexception-utils" on GitHub which > contains an implementation of "redirect" and "abort" for Pyramid that > act like their Pylons brethren. > > In short, the abort feature is used like this: > >    from prya

Re: Adding "abort" and "redirect" to Pyramid

2011-05-25 Thread Alice Bevan–McGregor
Howdy! Apologies if this post sounds too "absolutist", but I see this as an issue that was resolved many years ago. The way I see it there are three options: :: Raise an exception from a pool of available exceptions. :: Return an object, possibly an instance of something. :: Execute a functio

Re: Adding "abort" and "redirect" to Pyramid

2011-05-25 Thread Chris McDonough
On Mon, 2011-05-16 at 02:27 -0400, Chris McDonough wrote: > I've created a branch named "httpexception-utils" on GitHub which > contains an implementation of "redirect" and "abort" for Pyramid that > act like their Pylons brethren. Thanks a lot for everybody's input on this. There was pushback on

Re: Pyramid 2 Brainstorm & Marrow

2011-05-25 Thread Mike Orr
On Wed, May 25, 2011 at 12:09 PM, Alice Bevan–McGregor wrote: > Howdy! > > I've updated the Brainstorm Wiki page [1] to include some > comments-to-the-comments, copied and elaborated upon below.  There seems to > be a lot of confusion and/or misinformation being spread about the Marrow > component

Pyramid 2 Brainstorm & Marrow

2011-05-25 Thread Alice Bevan–McGregor
Howdy! I've updated the Brainstorm Wiki page [1] to include some comments-to-the-comments, copied and elaborated upon below. There seems to be a lot of confusion and/or misinformation being spread about the Marrow components and I'd like to correct a few points here. MO: My main concerns ar

Re: zope.testbrowser's handleErrors and pyramid

2011-05-25 Thread Brian Sutherland
On Tue, May 24, 2011 at 08:41:38PM +0200, Wichert Akkerman wrote: > On 2011-5-24 18:48, Brian Sutherland wrote: > >Hi, > > > >I'm using zope.testbrowser to test a pyramid application I'm working on. > >I'd really like to get the Browser.handleErrors knob working. > > > >zope.testbrowser puts two va