On Mon, Apr 20, 2020 at 09:50:06AM -0600, Thiago Macieira wrote: > On Monday, 20 April 2020 03:28:48 MDT Florian Bruhin wrote: > > FWIW that's the choice Python had taken with Python 2 (ordering different > > types by their type name). It was widely regarded as a bad decision and > > replaced by a TypeError exception in Python 3. > > Interesting. Do you have more information on why it is regarded a bad > decision? A PEP, hopefully?
I have to admit my "widely regarded as" was perhaps a bit too anecdotal. It doesn't look like a PEP exists for this, which seems quite surprising. There was some discussion via email, but it's quite a mess to read, unfortunately: https://mail.python.org/pipermail/python-dev/2004-June/thread.html (the "Comparing heterogeneous types" threads) https://mail.python.org/archives/search?q=Comparing+heterogeneous+types&page=1&mlist=python-dev%40python.org&sort=date-asc (same content, more modern archive webinterface) Florian -- m...@the-compiler.org (Mail/XMPP) | https://www.qutebrowser.org https://bruhin.software/ | https://github.com/sponsors/The-Compiler/ GPG: 916E B0C8 FD55 A072 | https://the-compiler.org/pubkey.asc I love long mails! | https://email.is-not-s.ms/
signature.asc
Description: PGP signature
_______________________________________________ Interest mailing list Interest@qt-project.org https://lists.qt-project.org/listinfo/interest