[Python-Dev] py3k and not equal; re names (original) (raw)

Jim Jewett jimjjewett at gmail.com
Fri Feb 10 01:10:38 CET 2006


Smith asked:

I'm wondering if it's just "foolish consistency" (to quote a PEP 8) that is calling for the dropping of <> in preference of only !=.

Logically, "<=" means the same as "< or ="

<> does not mean the same as "< or >"; it might just mean that they aren't comparable. Whether that is a strong enough reason to remove it is another question.

-jJ



More information about the Python-Dev mailing list