[Python-Dev] py3k and not equal; re names

Barry Warsaw barry at python.org
Fri Feb 10 00:25:29 CET 2006


On Thu, 2006-02-09 at 19:10 -0500, Jim Jewett wrote:

> 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.

Visually, "==" looks very symmetrical and stands out nicely, while "!="
is asymmetric and jarring.  "<>" has a visual symmetry that is a nice
counterpart to "==".  For me, that's enough of a reason to keep it.

-Barry

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 307 bytes
Desc: This is a digitally signed message part
Url : http://mail.python.org/pipermail/python-dev/attachments/20060209/d4236221/attachment.pgp 


More information about the Python-Dev mailing list