Re: Testing mod_python SVN trunk with Apache 2.2 on Win32

2006-02-15 Thread Graham Dumpleton
I have already noted that apache.register_cleanup() and req.server.register_cleanup() are prone to failure. The problem is that they are run in the context of a signal handler. See: http://issues.apache.org/jira/browse/MODPYTHON-109 I suggested in the JIRA issue that these functions may need t

Re: Testing mod_python SVN trunk with Apache 2.2 on Win32

2006-02-15 Thread Nicolas Lehuen
2006/2/15, Jim Gallacher <[EMAIL PROTECTED]>: > Nicolas Lehuen wrote: > > 2006/2/15, Jim Gallacher <[EMAIL PROTECTED]>: > > > >>Nicolas Lehuen wrote: > >> > >>>Hi, > >>> > >>>I've built Apache 2.2 and tested mod_python SVN trunk with it. > >>> > >>>The two register_cleanup tests fail. Apparently it

Re: Testing mod_python SVN trunk with Apache 2.2 on Win32

2006-02-15 Thread Jim Gallacher
Nicolas Lehuen wrote: 2006/2/15, Jim Gallacher <[EMAIL PROTECTED]>: Nicolas Lehuen wrote: Hi, I've built Apache 2.2 and tested mod_python SVN trunk with it. The two register_cleanup tests fail. Apparently it's because the test code registers a cleanup function giving the current request as

Re: Testing mod_python SVN trunk with Apache 2.2 on Win32

2006-02-15 Thread Nicolas Lehuen
2006/2/15, Jim Gallacher <[EMAIL PROTECTED]>: > Nicolas Lehuen wrote: > > Hi, > > > > I've built Apache 2.2 and tested mod_python SVN trunk with it. > > > > The two register_cleanup tests fail. Apparently it's because the test > > code registers a cleanup function giving the current request as > >

Re: Testing mod_python SVN trunk with Apache 2.2 on Win32

2006-02-15 Thread Jim Gallacher
Nicolas Lehuen wrote: Hi, I've built Apache 2.2 and tested mod_python SVN trunk with it. The two register_cleanup tests fail. Apparently it's because the test code registers a cleanup function giving the current request as parameter. Of course when the cleanup function is called, the request ob

Re: Testing mod_python SVN trunk with Apache 2.2 on Win32

2006-02-15 Thread Graham Dumpleton
On 15/02/2006, at 5:29 PM, Nicolas Lehuen wrote: Hi, I've built Apache 2.2 and tested mod_python SVN trunk with it. The two register_cleanup tests fail. Apparently it's because the test code registers a cleanup function giving the current request as parameter. Of course when the cleanup funct

Testing mod_python SVN trunk with Apache 2.2 on Win32

2006-02-14 Thread Nicolas Lehuen
Hi, I've built Apache 2.2 and tested mod_python SVN trunk with it. The two register_cleanup tests fail. Apparently it's because the test code registers a cleanup function giving the current request as parameter. Of course when the cleanup function is called, the request object is no longer valid,