Commit 246e5a2a authored by Jim Fulton's avatar Jim Fulton

Need to allow deactivation on successfull return from set operations.

parent 34358fd3
...@@ -85,7 +85,7 @@ ...@@ -85,7 +85,7 @@
static char intSet_module_documentation[] = static char intSet_module_documentation[] =
"" ""
"\n$Id: intSet.c,v 1.16 1999/06/10 20:31:23 jim Exp $" "\n$Id: intSet.c,v 1.17 1999/08/05 13:28:13 jim Exp $"
; ;
#include <limits.h> #include <limits.h>
...@@ -405,6 +405,8 @@ intSet_set_operation(intSet *self, PyObject *other, ...@@ -405,6 +405,8 @@ intSet_set_operation(intSet *self, PyObject *other,
r->len += lo; r->len += lo;
} }
PER_ALLOW_DEACTIVATION(self);
PER_ALLOW_DEACTIVATION(o);
return OBJECT(r); return OBJECT(r);
err: err:
...@@ -612,7 +614,7 @@ void ...@@ -612,7 +614,7 @@ void
initintSet() initintSet()
{ {
PyObject *m, *d; PyObject *m, *d;
char *rev="$Revision: 1.16 $"; char *rev="$Revision: 1.17 $";
UNLESS(ExtensionClassImported) return; UNLESS(ExtensionClassImported) return;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment