Odd SQLAlchemy params in debug_toolbar (using 1.3a2, alchemy scaffold)

2011-12-21 Thread Thijs Engels
Noticed an odditity in the debug toolbar for the latest (alpha) release of pyramid. After default project is created this is what is shown as the params when visiting the home page: %5B%22one%22%C2%201%2C%200%5D. I assume that should be (encoded?) differently. For completeness sake I have attached

Cornice 0.6 released

2011-12-21 Thread Tarek Ziadé
Hey, I guess this is the proper place for this kind of announcement ... = We've released Cornice 0.6 Cornice provides helpers to build document REST-ish Web Services with Pyramid. This version has: - multiple bug fixes - a Paster template to quickly start a new Cornice project - a tutorial a

Re: Cornice 0.6 released

2011-12-21 Thread Tony Theodore
On 21 December 2011 21:24, Tarek Ziadé ziade.ta...@gmail.com wrote: Hey, I guess this is the proper place for this kind of announcement ... = We've released Cornice 0.6 Cornice provides helpers to build document REST-ish Web Services with Pyramid. Perfect! I'd just decided to try

Re: memory leak debugging

2011-12-21 Thread Doug Farrell
Marius, Sorry to take so long to get back to you. Unfortunately I've been pulled off the memory leak problem to add some features to another application to meet a deadline. I hope to get back to this soon, but that could take a week or so. I wanted to let you know to keep you from hanging waiting

Re: Serving Dynamic/Template js files

2011-12-21 Thread Wyatt Baldwin
On Wednesday, December 21, 2011 3:28:25 AM UTC-8, Marius Gedminas wrote: On Tue, Dec 20, 2011 at 09:07:58AM -0800, Wyatt Baldwin wrote: In an earlier version of my code, I did some dynamic JavaScript configuration using Mako constructs: # app.mako script % if

Re: Cornice 0.6 released

2011-12-21 Thread Steve Schmechel
Following the tutorial did not work for me using pip, but worked fine using easy_install (distribute). It was done with Python 2.7 in a virtual environment created with --no-site-packages. (The pro-Pip people claim that problems encountered with Pip are due to authors not setting things up

Re: Cornice 0.6 released

2011-12-21 Thread Chris McDonough
On Wed, 2011-12-21 at 12:17 -0600, Steve Schmechel wrote: Following the tutorial did not work for me using pip, but worked fine using easy_install (distribute). It was done with Python 2.7 in a virtual environment created with --no-site-packages. The error message doesn't seem to show

Re: Cornice 0.6 released

2011-12-21 Thread Tarek Ziadé
On Wed, Dec 21, 2011 at 7:17 PM, Steve Schmechel shma...@gmail.com wrote: Following the tutorial did not work for me using pip, but worked fine using easy_install (distribute). It was done with Python 2.7 in a virtual environment created with --no-site-packages. (The pro-Pip people claim

Re: Cornice 0.6 released

2011-12-21 Thread Chris McDonough
On Wed, 2011-12-21 at 21:09 +0100, Tarek Ziadé wrote: I guess it's fine here, unless Chris and other people managing the Pylons/Pyramid project think it's innapropriate, in that case I could create another one. No it's fine here to me, glad to see it being discussed! - C -- You

Re: Cornice 0.6 released

2011-12-21 Thread Gael Pasgrimaud
Hi, On Wed, Dec 21, 2011 at 11:24 AM, Tarek Ziadé ziade.ta...@gmail.com wrote: We'd love feedback new contributors ! Looks like a clever way to build some APIs. I have a project where I may switch to cornice. But I have a few questions. First, are you planning to add a support for class based

Re: Cornice 0.6 released

2011-12-21 Thread Tarek Ziadé
On Wed, Dec 21, 2011 at 11:00 PM, Gael Pasgrimaud g...@gawel.org wrote: Hi, On Wed, Dec 21, 2011 at 11:24 AM, Tarek Ziadé ziade.ta...@gmail.com wrote: We'd love feedback new contributors ! Looks like a clever way to build some APIs. I have a project where I may switch to cornice. But I

Re: Cornice 0.6 released

2011-12-21 Thread Gael Pasgrimaud
On Wed, Dec 21, 2011 at 11:18 PM, Tarek Ziadé ziade.ta...@gmail.com wrote: On Wed, Dec 21, 2011 at 11:00 PM, Gael Pasgrimaud g...@gawel.org wrote: Hi, On Wed, Dec 21, 2011 at 11:24 AM, Tarek Ziadé ziade.ta...@gmail.com wrote: We'd love feedback new contributors ! Looks like a clever

Re: Cornice 0.6 released

2011-12-21 Thread Tarek Ziadé
On Wed, Dec 21, 2011 at 11:59 PM, Gael Pasgrimaud g...@gawel.org wrote: Here is a proof of concept (can be improved) http://friendpaste.com/4MnSHaRPkNU9RCtHkd4ggU I like it -- I think it solves a problem I had with using a bunch of functions - having to keep some globals around. If you want

Re: Cornice 0.6 released

2011-12-21 Thread Steve Schmechel
Maybe I used the wrong term in pinning. Or maybe the tutorial should be a special case. Say I write some code today that relies on Cornice version 0.6 and it works splendidly. Then in a few weeks/months I decide to write something similar with Cornice version 0.6 (assuming that is still the

Re: Cornice 0.6 released

2011-12-21 Thread Chris McDonough
On Wed, 2011-12-21 at 21:03 -0600, Steve Schmechel wrote: Maybe I used the wrong term in pinning. Or maybe the tutorial should be a special case. Say I write some code today that relies on Cornice version 0.6 and it works splendidly. Then in a few weeks/months I decide to write

Re: Cornice 0.6 released

2011-12-21 Thread Steve Schmechel
Just curious, did the idea of separate indexes for current and development versions go away? I remember: bin/easy_install -i http://dist.repoze.org/bfg/current/simple \ repoze.bfg Was it too hard to manage the private indexes? Pyramid has separate documentation for version 1.0, 1.1, 1.2,

Re: Cornice 0.6 released

2011-12-21 Thread Chris McDonough
On Wed, 2011-12-21 at 22:01 -0600, Steve Schmechel wrote: Just curious, did the idea of separate indexes for current and development versions go away? I remember: bin/easy_install -i http://dist.repoze.org/bfg/current/simple \ repoze.bfg Was it too hard to manage the private indexes?