Re: Pyramid 1.0a8 released

2010-12-30 Thread Mike Orr
On Thu, Dec 30, 2010 at 9:17 AM, Seth wrote: > Thanks for all the input and I suppose Marius' answer is the most > straightforward solution. Perhaps I was expecting something a little more > like Mike's "category" style implementation, b Credit to Eli Collins for the implementation. > but I can

Re: Pyramid 1.0a8 released

2010-12-30 Thread Seth
Thanks for all the input and I suppose Marius' answer is the most straightforward solution. Perhaps I was expecting something a little more like Mike's "category" style implementation, but I can see how that could become "too much complexity for too little value." With regards to the peek_flash

Re: Pyramid 1.0a8 released

2010-12-29 Thread Chris McDonough
On Wed, 2010-12-29 at 15:42 -0800, Mike Orr wrote: > On Wed, Dec 29, 2010 at 1:28 PM, Marius Gedminas wrote: > > On Wed, Dec 29, 2010 at 10:56:29AM -0800, Seth wrote: > > The docs say that messages don't have to be strings, so you can do > > exactly that, if you push dicts like this: > > > > requ

Re: Pyramid 1.0a8 released

2010-12-29 Thread Mike Orr
On Wed, Dec 29, 2010 at 1:28 PM, Marius Gedminas wrote: > On Wed, Dec 29, 2010 at 10:56:29AM -0800, Seth wrote: > The docs say that messages don't have to be strings, so you can do > exactly that, if you push dicts like this: > >  request.session.flash(dict(message='Hello!', queue='welcome')). > >

Re: Pyramid 1.0a8 released

2010-12-29 Thread Marius Gedminas
On Wed, Dec 29, 2010 at 10:56:29AM -0800, Seth wrote: > With regards to the flash messaging API, is there a reason why you chose not > to provide a method which returns *any* flash message from any queue > (preferably with a msg:queue key:val)? It would sure make template code > easier if I *do*

Re: Pyramid 1.0a8 released

2010-12-29 Thread Seth
Hey Chris, With regards to the flash messaging API, is there a reason why you chose not to provide a method which returns *any* flash message from any queue (preferably with a msg:queue key:val)? It would sure make template code easier if I *do* want different queues but *don't* really need the

Re: Pyramid 1.0a8 released

2010-12-28 Thread Chris McDonough
On Mon, 2010-12-27 at 20:12 -0800, Jerry wrote: > Hi Chris, > > Thank you very much for the new release! > > Is it possible to sync the flash functions to pyramid_beaker? I've > tried to look into pyramid_beaker myself but haven't figured out how > to jam pyramid session.py's @manage_accessed in.

Re: Pyramid 1.0a8 released

2010-12-28 Thread Chris McDonough
On Tue, 2010-12-28 at 17:03 -0800, Mike Orr wrote: > On Tue, Dec 28, 2010 at 2:48 PM, Seth wrote: > > Chris, > > My apologies, the 2nd issue was because I took > > out config.begin()/config.end() from my unittest setUp/tearDown methods > > because I thought they were no longer required. Adding the

Re: Pyramid 1.0a8 released

2010-12-28 Thread Mike Orr
On Tue, Dec 28, 2010 at 2:48 PM, Seth wrote: > Chris, > My apologies, the 2nd issue was because I took > out config.begin()/config.end() from my unittest setUp/tearDown methods > because I thought they were no longer required. Adding them back causes the > tests to pass. I thought they were obsol

Re: Pyramid 1.0a8 released

2010-12-28 Thread Seth
Chris, My apologies, the 2nd issue was because I took out config.begin()/config.end() from my unittest setUp/tearDown methods because I thought they were no longer required. Adding them back causes the tests to pass. Seth -- You received this message because you are subscribed to the Google

Re: Pyramid 1.0a8 released

2010-12-28 Thread Chris McDonough
On Mon, 2010-12-27 at 23:13 -0800, Seth wrote: > Thanks Chris, I'm loving the new flash and CSRF APIs. > > > Two thing though: > 1. If you run the new proutes and it encounters an exception (i.e. > an intentionally raised pyramid.exceptions.Forbidden) then it dies. Is > this the intended way?

Re: Pyramid 1.0a8 released

2010-12-27 Thread Seth
Thanks Chris, I'm loving the new flash and CSRF APIs. Two thing though: 1. If you run the new proutes and it encounters an exception (i.e. an intentionally raised pyramid.exceptions.Forbidden) then it dies. Is this the intended way? 2. A bunch of my unit tests are now failing which used

Re: Pyramid 1.0a8 released

2010-12-27 Thread Chris McDonough
On Mon, 2010-12-27 at 23:26 -0500, Chris McDonough wrote: > On Mon, 2010-12-27 at 20:12 -0800, Jerry wrote: > > Hi Chris, > > > > Thank you very much for the new release! > > > > Is it possible to sync the flash functions to pyramid_beaker? I've > > tried to look into pyramid_beaker myself but ha

Re: Pyramid 1.0a8 released

2010-12-27 Thread Chris McDonough
On Mon, 2010-12-27 at 20:12 -0800, Jerry wrote: > Hi Chris, > > Thank you very much for the new release! > > Is it possible to sync the flash functions to pyramid_beaker? I've > tried to look into pyramid_beaker myself but haven't figured out how > to jam pyramid session.py's @manage_accessed in.

Re: Pyramid 1.0a8 released

2010-12-27 Thread Jerry
Hi Chris, Thank you very much for the new release! Is it possible to sync the flash functions to pyramid_beaker? I've tried to look into pyramid_beaker myself but haven't figured out how to jam pyramid session.py's @manage_accessed in... Jerry On Dec 28, 6:59 am, Chris McDonough wrote: > Hi fo

Pyramid 1.0a8 released

2010-12-27 Thread Chris McDonough
Hi folks, I've just made a Pyramid 1.0a8 release. It implements features and documentation topics that were previously on the 1.0 "must have" list. You can install it via: easy_install pyramid Or update an existing installation via: easy_install -U pyramid The docs at http://docs.pylonsh