Raymond Hettinger wrote: > * The coercion logic for comparisons won't match the > coercion logic for arithmetic operations. The former > strives to be exact and to be consistent with hashing > while the latter goes in the opposite direction.
Although Guido pointed out that float/long comparisons and coercions blazed the trail on this particular discrepancy years ago. Cheers, Nick. -- Nick Coghlan | ncogh...@gmail.com | Brisbane, Australia --------------------------------------------------------------- _______________________________________________ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/python-dev Unsubscribe: http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com