Staging
v0.5.1
https://github.com/python/cpython
Revision e89b35dd2b87e85978b91e3e2dbdea1fc76d6be4 authored by Miss Islington (bot) on 07 September 2017, 21:18:45 UTC, committed by R. David Murray on 07 September 2017, 21:18:45 UTC
Also provide a solution if the user wants to keep multiple blank lines.
(cherry picked from commit 397c467c49385023de36411194d381ac993bae1a)
1 parent 76006f2
Raw File
Tip revision: e89b35dd2b87e85978b91e3e2dbdea1fc76d6be4 authored by Miss Islington (bot) on 07 September 2017, 21:18:45 UTC
[3.6] bpo-31330: Clarify that RawTextHelpFormatter collapses repeated newlines. (GH-3272) (GH-3429)
Tip revision: e89b35d
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