[Tim, claims that PyObject_RichCompareBool isn't documented because David hasn't yet submitted a doc patch] [David Abrahams] > ...and I didn't volunteer a doc patch yet because the source is too > complicated to easily determine if it's exactly what I'm looking for. > Umm, OK, I guess I was looking in the wrong place when poring over the > implementation of PyObject_RichCompare: ceval.c calls > PyObject_RichCompare directly. OK, doc patch coming up. 1. You really want PyObject_RichCompareBool in your example, not PyObject_RichCompare. The former is much more efficient in some cases (e.g., a total ordering on dicts is much hairer to determine than just equality). 2. This is why I keep pulling your leg. Sometimes you fall for it <wink>. Thanks for the patch!
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4