Rich Comparisons Gotcha
Terry Reedy
tjreedy at udel.edu
Mon Dec 8 13:40:58 EST 2008
Robert Kern wrote:
> There is an explicit policy that __eq__() methods can return non-bools
> for various purposes. I consider that policy to a "presence that can be
> removed". There is no check because that policy exists, not the other
> way around.
OK, presence in manual versus presence in code.
>
> Anyways, this is really a semantic digression, and not particularly
> important. Peace?
Yes
More information about the Python-list
mailing list