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/2008-December/084235.html below:

[Python-Dev] Trap SIGSEGV and SIGFPE

[Python-Dev] Trap SIGSEGV and SIGFPE [Python-Dev] Trap SIGSEGV and SIGFPEMaciej Fijalkowski fijall at gmail.com
Thu Dec 11 11:10:14 CET 2008
>
> If we could calculate how much stack is left we'd have a much more
> robust way of doing recursion limits.  I suppose this could be done by
> reading a byte from each page with a temporary SIGSEGV handler
> installed, but I'm not convinced you can't ask the platform directly
> somehow.  I'd also be considered about thread-safety.
>

It's something as hard as taking address of local variable at the
beginning of the program and at any arbitrary point. Of course 'how
much is left' means additional arithmetics.

Cheers,
fijal
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