Jack Diederich wrote: >> For avoidance of doubt: the change is to use Py_XDECREF, yes/no? > > Yes. not necessarily: the bug is that you're using an uninitialized object in a context that expects an initialized object. might be a better idea to raise a SystemError exception. </F>