Steve Holden wrote:
...
> First of all, five hour response time is a high expectation, you must be
> a Platinum customer :-)
I'm in the last week of my current job - start a new one on Monday, and
so I haven't got a great deal to do at the moment. Five hours is a
lifetime when you're staring at a
> This seems a really nasty hack though - any ideas for a cleaner way to
> do it?
You could overload handle_request instead. I think that makes more
sense anyway because you don't want to handle a SystemExit exception as
an error, you want to exit. Of course this only deals with catching the
excep
Ant wrote:
> Ant wrote:
>
>> OK, I've narrowed the problem back to the way HTTPServer (actually its
>> TCPServer parent) handles exceptions thrown by the process_request
>> method by catching them all, and then calling a handle_error method.
>> There doesn't seem to be a way of getting at the
Ant wrote:
...
> OK, I've narrowed the problem back to the way HTTPServer (actually its
> TCPServer parent) handles exceptions thrown by the process_request
> method by catching them all, and then calling a handle_error method.
> There doesn't seem to be a way of getting at the exception thrown
>
Ant wrote:
...
> However, at this point instead of getting back to a command prompt, I
> get an unresponsive console. Hitting CTRL-Break gets me the command
> prompt back, but I would have expected to get back the command prompt
> as soon as the sys.exit(0) had completed.
...
> class HelpHTTPReque