Richard Oudkerk <shibt...@gmail.com> added the comment:

BTW, BaseException_init() has the code

    Py_XDECREF(self->args);
    self->args = args;
    Py_INCREF(self->args);

Presumably the Py_XDECREF(self->args) would be better replaced by 
Py_CLEAR(self->args)?

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue1692335>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to