Staging
v0.8.1
https://github.com/python/cpython
Revision 86d8d3520d674bf66000e2930adf6df53f3fb0fa authored by Collin Winter on 10 March 2007, 03:31:44 UTC, committed by Collin Winter on 10 March 2007, 03:31:44 UTC
1 parent 8bf469d
Raw File
Tip revision: 86d8d3520d674bf66000e2930adf6df53f3fb0fa authored by Collin Winter on 10 March 2007, 03:31:44 UTC
Bug #1531963: Make SocketServer.TCPServer's server_address always be equal to calling getsockname() on the server's socket. Fixed by patch #1545011.
Tip revision: 86d8d35
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