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/106976.html below:

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

[Python-Dev] Issue #8863 adds a new?PYTHONNOFAULTHANDLER?environment variable [Python-Dev] Issue #8863 adds a new?PYTHONNOFAULTHANDLER?environment variableBobby Impollonia bobbyi at gmail.com
Thu Dec 23 19:29:17 CET 2010
On Wed, Dec 22, 2010 at 9:26 PM, Victor Stinner <vstinner at edenwall.com> wrote:
> If the kernel doesn't do that for us, I
> suppose that the compiler or something else does it for us.

GCC does this for you if you declare your function with
__attribute__(signal). In general, the compiler doesn't know that a
function will be used as a signal and no portable way to indicate
this.

> Anyway, it would just be horrible if a signal handler was responsible to
> save/restore integer registers.

Horrible or not, the existence of __attribute__(signal) seems to
indicate that this is the case on some platform, or at least was
historically. I don't know whether it's the case now on any platform
that Python supports.
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