PySequence_SetItem

Fredrik Lundh fredrik at pythonware.com
Thu Aug 17 03:08:55 EDT 2006


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>




More information about the Python-list mailing list