Re: Changing class name causes process to 'hang'

2011-03-14 Thread Vinay Sajip
On Mar 13, 11:48 pm, Tim Johnson wrote: >  :) I like my logging module, I believe it may have 'anticipated' >  the 2.7 module. And I can't count on my client's servers to host >  2.7 for a while. Perhaps you already know this, but you don't have to use Python 2.7 to use the standard logging packa

Re: Changing class name causes process to 'hang'

2011-03-13 Thread Tim Johnson
* Terry Reedy [110313 13:46]: > On 3/13/2011 3:17 PM, Tim Johnson wrote: > >* Tim Johnson [110313 08:27]: > > Your fundamental problem is that you changed the api of your module. > When you do that, No. I created a 'fork' of the original so that the 'fork' uses a different interface. The or

Re: Changing class name causes process to 'hang'

2011-03-13 Thread Terry Reedy
On 3/13/2011 3:17 PM, Tim Johnson wrote: * Tim Johnson [110313 08:27]: One other thing I just realized: The process stops inside of a function call to another object method, if that method call is removed, the process teminates. :) I may have a solution later today, and will relay i

Re: Changing class name causes process to 'hang'

2011-03-13 Thread Tim Johnson
* Tim Johnson [110313 08:27]: > One other thing I just realized: > The process stops inside of a function call to another object > method, if that method call is removed, the process teminates. > :) I may have a solution later today, and will relay it to you if > found. Must have coffee

Re: Changing class name causes process to 'hang'

2011-03-13 Thread Tim Johnson
* Terry Reedy [110312 17:45]: > >## code below > > import cgi > > self.form = cgi.FieldStorage(keep_blank_values=1) > >## /code > And cgitools is a class therein? Code above is called with/from cgitools > > Hmm! I'm unsure what you mean here, but > > If the name 'cgitools' is used

Re: Changing class name causes process to 'hang'

2011-03-12 Thread Terry Reedy
On 3/12/2011 7:18 PM, Tim Johnson wrote: * Terry Reedy [110312 13:28]: On 3/12/2011 2:53 PM, Tim Johnson wrote: Is 'cgilib' *your* wrapper of the cgi module, or from a third party. cgilib is my module. I use the cgi module as follows: ## code below import cgi self.form = cgi.Fi

Re: Changing class name causes process to 'hang'

2011-03-12 Thread Tim Johnson
* Terry Reedy [110312 13:28]: > On 3/12/2011 2:53 PM, Tim Johnson wrote: > > Is 'cgilib' *your* wrapper of the cgi module, or from a third party. cgilib is my module. I use the cgi module as follows: ## code below import cgi self.form = cgi.FieldStorage(keep_blank_values=1) ## /code > W

Re: Changing class name causes process to 'hang'

2011-03-12 Thread Terry Reedy
On 3/12/2011 2:53 PM, Tim Johnson wrote: I'm using Python 2.6.5 on ubuntu 10.04 32-bit. My issue however, is with a code base that goes back to 2002, which at that time was 1.5~ or so. I have been since that time using my own cgi module which in turn, uses the python standard `cgi' module. The

Changing class name causes process to 'hang'

2011-03-12 Thread Tim Johnson
I'm using Python 2.6.5 on ubuntu 10.04 32-bit. My issue however, is with a code base that goes back to 2002, which at that time was 1.5~ or so. I have been since that time using my own cgi module which in turn, uses the python standard `cgi' module. The object instantiation has looked something l