Re: Plone Conference approacheth

2011-10-13 Thread John Rusnak
Hi Chris, Thanks for spreading the news. Should I assume the the BOF meeting requires attendees to pay the conference fee? -John On Sun, Oct 9, 2011 at 8:43 AM, Chris McDonough wrote: > Hi folks, > > There will be a Plone conference in San Francisco between Nov. 1-8 (less > than a month away

Re: in defense of traversal

2011-10-13 Thread Parnell Springmeyer
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Iain Duncan writes: > I agree, and actually we are indeed actually using traversal for our restful > api admin interface too. We did this by making some proxy container objects, > we call ResourceContainers, that represent a class of resources. The >

Re: in defense of traversal

2011-10-13 Thread Iain Duncan
> I can't speak for the OP, but our API is built using traversal (I > thought about using a hybrid approach but decided not to do that) - I > think there are a number of general misconceptions many programmers have > about how to build a "RESTful" API; that's a conversation *not* for this > thread

Re: ApplicationDelete event

2011-10-13 Thread Chris McDonough
On Thu, 2011-10-13 at 11:28 -0700, Adam Ryan wrote: > Rude indeed :) Thanks Chris. But it looks like paste/paste/ > reloader.py hasn't been updated since 2008-10-2, and this behavior > changed between pyramid 1.0 and 1.2. It's a poor idea to rely on any object's __del__ for shutdown cleanup purp

Re: ApplicationDelete event

2011-10-13 Thread Adam Ryan
Rude indeed :) Thanks Chris. But it looks like paste/paste/ reloader.py hasn't been updated since 2008-10-2, and this behavior changed between pyramid 1.0 and 1.2. Regards, Adam On Oct 13, 10:21 am, Chris McDonough wrote: > On Thu, 2011-10-13 at 10:16 -0700, Adam Ryan wrote: > > Thanks Michae

Re: ApplicationDelete event

2011-10-13 Thread Chris McDonough
On Thu, 2011-10-13 at 10:16 -0700, Adam Ryan wrote: > Thanks Michael. > > I tried this before but it doesn't work because, I think, the > interpreter isn't going through its normal termination routine since > there are still threads alive. I think this is a cart before the > horse sort of thing.

Re: ApplicationDelete event

2011-10-13 Thread Adam Ryan
Thanks Michael. I tried this before but it doesn't work because, I think, the interpreter isn't going through its normal termination routine since there are still threads alive. I think this is a cart before the horse sort of thing. -Adam On Oct 13, 10:06 am, Michael Merickel wrote: > How a

Re: ApplicationDelete event

2011-10-13 Thread Michael Merickel
How about registering an atexit handler to cleanup the thread. http://docs.python.org/library/atexit.html -- Michael -- You received this message because you are subscribed to the Google Groups "pylons-discuss" group. To post to this group, send email to pylons-discuss@googlegroups.com. To u

Re: freezing fields in a colander schema

2011-10-13 Thread Kai Groner
Code that basically does what I described. https://github.com/groner/colander/compare/master...field-freeze Kai -- You received this message because you are subscribed to the Google Groups "pylons-discuss" group. To view this discussion on the web visit https://groups.google.com/d/msg/pylons

ApplicationDelete event

2011-10-13 Thread Adam Ryan
Hi, I have a pyramid app that internally creates threads to process a large number of data files per request. The threads block on a queue and when I ctrl-c a paster app, the app hangs because the threads are still alive. I have to send a sigterm with kill. If I use paster with --reload, the f

freezing fields in a colander schema

2011-10-13 Thread Kai Groner
Hello, I'm looking for a way to selectively freeze fields in a form. That is, I'd like the field to still be serialized (maybe with a different template), but deserialize would ignore it. Is this a feature others would find useful? Kai -- You received this message because you are subscribe

Re: in defense of traversal

2011-10-13 Thread Parnell Springmeyer
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 I can't speak for the OP, but our API is built using traversal (I thought about using a hybrid approach but decided not to do that) - I think there are a number of general misconceptions many programmers have about how to build a "RESTful" API; that's

Re: in defense of traversal

2011-10-13 Thread Luciano Ramalho
On Wed, Oct 12, 2011 at 2:10 PM, Iain Duncan wrote: > I challenge anyone who has dismissed it, to sit a client down in front of a > traversal based CMS and watch them. Wow, you don't need to tell them > anything, they get it right away because it looks and acts *just like their > file system*. We,

Re: in defense of traversal

2011-10-13 Thread cropr
I use a combination of routes and traversal in my own CMS-app. I've developed it with Pylons 0.9.6, before Pyramid joined Pylons. It basically means that only one part of my routes scheme triggers a controller responsible for the traversal and CMS. The routes config looks like map.connect('conte