[issue45530] Improve listobject.c's unsafe_tuple_compare()

Stefan Pochmann report at bugs.python.org
Tue Oct 19 23:19:02 EDT 2021


Stefan Pochmann <stefan.pochmann at gmail.com> added the comment:

> What justifies "shouldn't"?

I based that on your old comments. Looked like tuple comparison results in sorting shouldn't differ from tuple comparison results elsewhere. I had actually proposed this exact method in a comment under your stackoverflow answer, but deleted it when I found that it had been discussed and discarded back then. But if it feels ok now, then good :-)

----------

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue45530>
_______________________________________


More information about the Python-bugs-list mailing list