Feature Request: Reposition Execution

Steven D'Aprano steve+comp.lang.python at pearwood.info
Mon May 11 08:35:46 EDT 2015


On Mon, 11 May 2015 09:57 pm, Dave Angel wrote:

> On 05/11/2015 07:46 AM, Skybuck Flying wrote:
>> Hello,
>>
>> Sometimes it can be handy to "interrupt/reset/reposition" a running
>> script.
>>
>> For example something externally goes badly wrong.
>>
> 
> os.kill()
> 
> then in your process, handle the exception, and do whatever you think is
> worthwhile.


Are you suggesting that the app sends itself a signal?

Is that even allowed?



-- 
Steven




More information about the Python-list mailing list