Rich Comparisons Gotcha
tjreedy at udel.edu
Mon Dec 8 19:40:58 CET 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?
More information about the Python-list