[Idle-dev] CVS: idle rpc.py,1.20,1.21

Kurt B. Kaiser kbk@shore.net
Sat, 22 Mar 2003 15:06:34 -0500


Neal Norwitz <neal@metaslash.com> writes:

>> !         except:
>> !             erf = 'sys.__stderr__'
>> !             print>>erf, '-'*40
>> !             print>>erf, 'Unhandled server exception!'
>> !             print>>erf, 'Thread: %s' % threading.currentThread().getName()
>> !             print>>erf, 'Client Address: ', address
>> !             print>>erf, 'Request: ', repr(request)
>> !             traceback.print_exc(file=erf)
>> !             print>>erf, '\n*** Unrecoverable, server exiting!'
>> !             print>>erf, '-'*40
>> !             import os
>> !             os._exit
>
> Did you mean to call os._exit, ie, os._exit()?  Otherwise this doesn't
> seem to have any effect.

Yes, thanks!  There were some other problems, also.  I must have
"polished" it after testing it.

--
KBK