On Tue, May 25, 2021 at 8:09 AM Joren <jhammudo...@gmail.com> wrote:
>
> We could define "change" in terms of the hash of the object the name points 
> to, as well as the name itself (the pointer to the object).

The hash of a random.Random() object doesn't change when its state
does (its derived solely from its id). Nor does the hash of a class.
Nor an instance of a class defined simply as "class Thing: pass".

ChrisA
_______________________________________________
Python-ideas mailing list -- python-ideas@python.org
To unsubscribe send an email to python-ideas-le...@python.org
https://mail.python.org/mailman3/lists/python-ideas.python.org/
Message archived at 
https://mail.python.org/archives/list/python-ideas@python.org/message/7RNAMRPFYCEKQORLMW34YW27V35YQZ36/
Code of Conduct: http://python.org/psf/codeofconduct/

Reply via email to