Raymond Hettinger wrote:
> Someone once proposed overloadable behavior for the "is" operator.
> IMO, the reasons for rejecting that idea also apply to this proposal.

The reason for rejecting that is that it would leave us
with no way of reliably testing whether two references
point to the same object.

That objection doesn't apply here, because there would
still be a way of ensuring that you get boolean semantics
if it matters for some reason: bool(a) and bool(b), etc.

--
Greg
_______________________________________________
Python-3000 mailing list
Python-3000@python.org
http://mail.python.org/mailman/listinfo/python-3000
Unsubscribe: 
http://mail.python.org/mailman/options/python-3000/archive%40mail-archive.com

Reply via email to