Emanuel Barry added the comment: New patch with Jelle's suggestions. I completely removed the macros since we need to (potentially) call Python code with PyObject_IsInstance, and need to check for return code.
I also reverted some of the unrelated changes. ---------- Added file: http://bugs.python.org/file43211/partial_richcompare_2.patch _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue21130> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com