[Guido] > I have a tentative fix for this (use PyNumber_Check() in > default_3way_compare() and augment PyNumber_Check() to test whether > the type defines nb_int). Sounds good to me. It's interesting then that complex numbers will pass the PyNumber_Check test because they set nb_int to a routine that unconditionally raises an exception. Checking for nb_negative may be crisper?
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