Stefan Krah added the comment: Antoine Pitrou <rep...@bugs.python.org> wrote: > Does pulling the Py_DECREF before the "if" fix the leaks?
Yes, but I get an additional failure in test_capi. Apparently not all values require the DECREF. Got to look on a case by case basis. ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue10241> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com