[Python-Dev] PyObject_RichCompareBool identity shortcut

Glenn Linderman v+python at g.nevcal.com
Thu Apr 28 03:22:03 CEST 2011


On 4/27/2011 6:15 PM, Glenn Linderman wrote:
> I think it is perfectly reasonable that containers containing items 
> with non-reflexive equality should sometimes have non-reflexive 
> equality also (depends on the placement of the item in the container, 
> and the values of other items, whether the non-reflexive equality of 
> an internal item will actually affect the equality of the container in 
> practice).

Pardon me, please ignore the parenthetical statement... it was really 
inspired by inequality comparisons, not equality comparisons.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-dev/attachments/20110427/f4aff658/attachment.html>


More information about the Python-Dev mailing list