Staging
v0.5.1
https://github.com/python/cpython
Revision 491afb533e40ac2066e427bdce6a77ce8f20d73b authored by larryhastings on 22 June 2017, 23:01:00 UTC, committed by GitHub on 22 June 2017, 23:01:00 UTC
CPython workflow is changing!  We're going to start using "blurb"
to manage Misc/NEWS entries:
    https://github.com/python/core-workflow
(This will be a big win for release managers, honest.)

This checkin simply populates the "Misc/NEWS.d" subdirectory tree
so that people can start putting their news entries in there.
No other changes (yet).
1 parent 91d171b
Raw File
Tip revision: 491afb533e40ac2066e427bdce6a77ce8f20d73b authored by larryhastings on 22 June 2017, 23:01:00 UTC
Add "Misc/NEWS.d" directory tree for "blurb". GH-2330
Tip revision: 491afb5
sigcheck.c

/* Sigcheck is similar to intrcheck() but sets an exception when an
   interrupt occurs.  It can't be in the intrcheck.c file since that
   file (and the whole directory it is in) doesn't know about objects
   or exceptions.  It can't be in errors.c because it can be
   overridden (at link time) by a more powerful version implemented in
   signalmodule.c. */

#include "Python.h"

/* ARGSUSED */
int
PyErr_CheckSignals(void)
{
	if (!PyOS_InterruptOccurred())
		return 0;
	PyErr_SetNone(PyExc_KeyboardInterrupt);
	return -1;
}
back to top