summaryrefslogtreecommitdiff
path: root/Objects/longobject.c
diff options
context:
space:
mode:
authorAntoine Pitrou <solipsis@pitrou.net>2009-11-10 19:50:40 +0000
committerAntoine Pitrou <solipsis@pitrou.net>2009-11-10 19:50:40 +0000
commit074e5ed974be65fbcfe75a4c0529dbc53f13446f (patch)
treedc07f407c721cad3da8659ba173ce0c778bf59a9 /Objects/longobject.c
parent434736a1a621f785858e58efe682320178de7993 (diff)
downloadcpython-git-074e5ed974be65fbcfe75a4c0529dbc53f13446f.tar.gz
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 ba869701c7..4d71ea2ce3 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);