Staging
v0.5.1
https://github.com/python/cpython
Revision aa580508431d231677cfaa13ac9b6aa37538b9ef authored by Miss Islington (bot) on 11 December 2018, 06:39:34 UTC, committed by GitHub on 11 December 2018, 06:39:34 UTC
(cherry picked from commit 7cf3d8e25174c8871883e42f3240fd7f01efd3a8)

Co-authored-by: Ned Deily <nad@python.org>
1 parent 55076cc
Raw File
Tip revision: aa580508431d231677cfaa13ac9b6aa37538b9ef authored by Miss Islington (bot) on 11 December 2018, 06:39:34 UTC
bpo-35402: Update macOS installer to use Tcl 8.6.9 / Tk 8.6.9.1 (GH-11101)
Tip revision: aa58050
pyfpe.c
#include "pyconfig.h"
#include "pyfpe.h"
/* 
 * The signal handler for SIGFPE is actually declared in an external
 * module fpectl, or as preferred by the user.  These variable
 * definitions are required in order to compile Python without
 * getting missing externals, but to actually handle SIGFPE requires
 * defining a handler and enabling generation of SIGFPE.
 */

#ifdef WANT_SIGFPE_HANDLER
jmp_buf PyFPE_jbuf;
int PyFPE_counter = 0;
#endif

/* Have this outside the above #ifdef, since some picky ANSI compilers issue a 
   warning when compiling an empty file. */

double
PyFPE_dummy(void *dummy)
{
	return 1.0;
}
back to top