Re: does python have a generic object pool like commons-pool in Java

2009-07-16 Thread Graham Dumpleton
On Jul 16, 3:05 pm, John Nagle na...@animats.com wrote: alex23 wrote: On Jul 16, 2:03 pm, John Nagle na...@animats.com wrote:      fcgi is an option for this sort of thing.  With mod_fcgi installed in Apache, and fcgi.py used to manage the Python side of the problem, you can have

Re: does python have a generic object pool like commons-pool in Java

2009-07-15 Thread Jonathan Gardner
On Jul 14, 6:34 pm, Rick Lawson lawso...@gmail.com wrote: Appreciate any help on this. I am porting an app from Java to python and need generic object pooling with hooks for object initialization / cleanup and be able to specify an object timeout. Are you looking for something like a thread

Re: does python have a generic object pool like commons-pool in Java

2009-07-15 Thread Rick Lawson
On Jul 15, 4:53 am, Jonathan Gardner jgard...@jonathangardner.net wrote: On Jul 14, 6:34 pm, Rick Lawson lawso...@gmail.com wrote: Appreciate any help on this. I am porting an app from Java to python and need generic object pooling with hooks for object initialization / cleanup and be able

Re: does python have a generic object pool like commons-pool in Java

2009-07-15 Thread Diez B. Roggisch
Rick Lawson wrote: On Jul 15, 4:53 am, Jonathan Gardner jgard...@jonathangardner.net wrote: On Jul 14, 6:34 pm, Rick Lawson lawso...@gmail.com wrote: Appreciate any help on this. I am porting an app from Java to python and need generic object pooling with hooks for object initialization /

Re: does python have a generic object pool like commons-pool in Java

2009-07-15 Thread Diez B. Roggisch
Diez B. Roggisch wrote: Rick Lawson wrote: On Jul 15, 4:53 am, Jonathan Gardner jgard...@jonathangardner.net wrote: On Jul 14, 6:34 pm, Rick Lawson lawso...@gmail.com wrote: Appreciate any help on this. I am porting an app from Java to python and need generic object pooling with hooks

Re: does python have a generic object pool like commons-pool in Java

2009-07-15 Thread John Nagle
Rick Lawson wrote: On Jul 15, 4:53 am, Jonathan Gardner jgard...@jonathangardner.net wrote: On Jul 14, 6:34 pm, Rick Lawson lawso...@gmail.com wrote: Appreciate any help on this. I am porting an app from Java to python and need generic object pooling with hooks for object initialization /

Re: does python have a generic object pool like commons-pool in Java

2009-07-15 Thread alex23
On Jul 16, 2:03 pm, John Nagle na...@animats.com wrote:      fcgi is an option for this sort of thing.  With mod_fcgi installed in Apache, and fcgi.py used to manage the Python side of the problem, you can have semi-persistent programs started up and shut down for you on the server side. Hey

Re: does python have a generic object pool like commons-pool in Java

2009-07-15 Thread John Nagle
alex23 wrote: On Jul 16, 2:03 pm, John Nagle na...@animats.com wrote: fcgi is an option for this sort of thing. With mod_fcgi installed in Apache, and fcgi.py used to manage the Python side of the problem, you can have semi-persistent programs started up and shut down for you on the

does python have a generic object pool like commons-pool in Java

2009-07-14 Thread Rick Lawson
Appreciate any help on this. I am porting an app from Java to python and need generic object pooling with hooks for object initialization / cleanup and be able to specify an object timeout. Thanks ! Rick -- http://mail.python.org/mailman/listinfo/python-list