diff options
author | Antoine Pitrou <solipsis@pitrou.net> | 2009-11-10 19:50:40 (GMT) |
---|---|---|
committer | Antoine Pitrou <solipsis@pitrou.net> | 2009-11-10 19:50:40 (GMT) |
commit | 074e5ed974be65fbcfe75a4c0529dbc53f13446f (patch) | |
tree | dc07f407c721cad3da8659ba173ce0c778bf59a9 /Objects | |
parent | 434736a1a621f785858e58efe682320178de7993 (diff) | |
download | cpython-074e5ed974be65fbcfe75a4c0529dbc53f13446f.zip cpython-074e5ed974be65fbcfe75a4c0529dbc53f13446f.tar.gz cpython-074e5ed974be65fbcfe75a4c0529dbc53f13446f.tar.bz2 |
Merge in the new GIL.
Diffstat (limited to 'Objects')
-rw-r--r-- | Objects/longobject.c | 5 |
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); |