Staging
v0.5.1
https://github.com/python/cpython
Revision fc1e0efa799c8ae58b2e8dc3a0c8ddf3c356ad09 authored by Martin v. Löwis on 19 November 2008, 09:11:49 UTC, committed by Martin v. Löwis on 19 November 2008, 09:11:49 UTC
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r67279 | martin.v.loewis | 2008-11-19 10:09:41 +0100 (Mi, 19 Nov 2008) | 2 lines

  Issue #4116: Resolve member name conflict in ScrolledCanvas.__init__
........
1 parent 83be3d2
Raw File
Tip revision: fc1e0efa799c8ae58b2e8dc3a0c8ddf3c356ad09 authored by Martin v. Löwis on 19 November 2008, 09:11:49 UTC
Merged revisions 67279 via svnmerge from
Tip revision: fc1e0ef
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