To clarify how Python handles two equal objects

Chris Angelico rosuav at gmail.com
Sat Jan 14 19:41:12 EST 2023


On Sun, 15 Jan 2023 at 11:38, Jen Kris <jenkris at tutanota.com> wrote:
>
> Yes, in fact I asked my original question – "I discovered something about Python array handling that I would like to clarify" -- because I saw that Python did it that way.
>

Yep. This is not specific to arrays; it is true of all Python objects.
Also, I suspect you're still thinking about things backwards, and am
trying to lead you to a completely different way of thinking that
actually does align with Python's object model.

ChrisA


More information about the Python-list mailing list