summaryrefslogtreecommitdiffstats
path: root/Objects/longobject.c
diff options
context:
space:
mode:
authorAntoine Pitrou <solipsis@pitrou.net>2009-11-10 19:50:40 (GMT)
committerAntoine Pitrou <solipsis@pitrou.net>2009-11-10 19:50:40 (GMT)
commit074e5ed974be65fbcfe75a4c0529dbc53f13446f (patch)
treedc07f407c721cad3da8659ba173ce0c778bf59a9 /Objects/longobject.c
parent434736a1a621f785858e58efe682320178de7993 (diff)
downloadcpython-074e5ed974be65fbcfe75a4c0529dbc53f13446f.zip
cpython-074e5ed974be65fbcfe75a4c0529dbc53f13446f.tar.gz
cpython-074e5ed974be65fbcfe75a4c0529dbc53f13446f.tar.bz2
Merge in the new GIL.
Diffstat (limited to 'Objects/longobject.c')
-rw-r--r--Objects/longobject.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/Objects/longobject.c b/Objects/longobject.c
index ba86970..4d71ea2 100644
--- a/Objects/longobject.c
+++ b/Objects/longobject.c
@@ -96,10 +96,7 @@ maybe_small_long(PyLongObject *v)
#define MIN(x, y) ((x) > (y) ? (y) : (x))
#define SIGCHECK(PyTryBlock) \
- if (--_Py_Ticker < 0) { \
- _Py_Ticker = _Py_CheckInterval; \
- if (PyErr_CheckSignals()) PyTryBlock \
- }
+ if (PyErr_CheckSignals()) PyTryBlock \
/* forward declaration */
static int bits_in_digit(digit d);