Planning a Python Course for Beginners

Ned Batchelder ned at nedbatchelder.com
Fri Aug 11 10:37:53 EDT 2017


On 8/11/17 6:37 AM, Python wrote:
>  Marko Rauhamaa wrote:
>> Python <python at example.invalid>:
>>
>>> Marko Rauhamaa wrote:
>>> I didn't disagree with any of these statements about __hash__, but only
>>> your statement about id and __eq__:
>>>
>>>> id() is actually an ideal return value of __hash__(). The only
>>>> criterion is that the returned number should be different if the
>>>> __eq__() is False. That is definitely true for id()
>>>
>>> nan is a clear, simple, undeniable counterexample to that claim.
>>
>> Still, I don't see the point you are trying to make.
>
> You do have a cognitive disease, don't you?
>
>
>

Maybe it's time to just drop it, rather than starting to insult each other?

--Ned.



More information about the Python-list mailing list