arguments crashed in INCREF() calls which should be XINCREF() calls.
timemodule.c: fix for SEQUENT port (sys/select, struct timezone) by
Jaap Vermeulen
xxobject.c: include modsupport.h
/* Xx objects */
#include "allobjects.h"
+#include "modsupport.h" /* For getargs() etc. */
typedef struct {
OB_HEAD
if (args == None)
args = NULL;
else
- INCREF(args);
+ XINCREF(args);
XDECREF(sys_trace);
sys_trace = args;
INCREF(None);
if (args == None)
args = NULL;
else
- INCREF(args);
+ XINCREF(args);
XDECREF(sys_profile);
sys_profile = args;
INCREF(None);