Pablo Galindo Salgado <pablog...@gmail.com> added the comment:
> Moving INCREF and DECREF is a huge change. It is just a future idea to > prevent same type of bugs. I think it can not be backported. Now I am wondering how many other APIs are affected by the same pattern other than PyObject_RichCompareBool.... > To fix this issue with minimum performance regression, I think PR 17766 is > the best solution. So no need to revert PR 17734. Thanks for the quick fix and the analysis. I reviewed PR 17734. ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue38588> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com