A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://mail.python.org/pipermail/python-dev/2010-December/106909.html below:

[Python-Dev] Issue #8863 adds a new PYTHONNOFAULTHANDLER environment variable

[Python-Dev] Issue #8863 adds a new PYTHONNOFAULTHANDLER environment variableMichael Foord fuzzyman at voidspace.org.uk
Mon Dec 20 01:57:04 CET 2010
On 19/12/2010 23:02, Victor Stinner wrote:
> Le samedi 18 décembre 2010 à 08:50 -0500, James Y Knight a écrit :
>> I think instead of calling abort() to kill the process, you should:
>> - install the signal handler with SA_NODEFER|SA_RESETHAND (or if sigaction is not present, explicitly reset the action to SIG_DFL and unblock first thing upon entering the handler), and then,
>> - at the end of the handler, kill(getpid(), orig_signal) in order to abort the process.
> I don't think that kill() is available on Windows.

Thanks to Brian Curtin there is now an os.kill() on Windows, but it 
doesn't handle the full range of signals.

Michael

-- 

http://www.voidspace.org.uk/

May you do good and not evil
May you find forgiveness for yourself and forgive others
May you share freely, never taking more than you give.
-- the sqlite blessing http://www.sqlite.org/different.html

More information about the Python-Dev mailing list

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4