Serhiy Storchaka added the comment:

> Perhaps the incref/decref pair ought to be moved into 
> PyObject_RichCompareBool().

This wouldn't help because key can be used after PyObject_RichCompareBool().

----------

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

Reply via email to