Xiang Zhang added the comment:

Ooh, I treat dereference as decref, sorry. Then I think it may happen when 
there is not enough memory. But your patch is not complete, at least you should 
Py_DECREF(result). But this function may need more care since the malloc 
failure in it will alter states.

----------

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

Reply via email to