[Python-Dev] Need discussion for a PR about memory and objects

Chris Angelico rosuav at gmail.com
Sun Nov 18 14:05:14 EST 2018


On Mon, Nov 19, 2018 at 6:01 AM Richard Damon <Richard at damon-family.org> wrote:
> One issue with things like vehicle registration numbers is that the VIN
> of a vehicle is really a UUID, it is globally unique no other vehicle
> will every have that same ID number, and people may not think of the
> fact that some other ID numbers, like the SSN do get reused. Since the
> Python Object Identities can get reused after the object goes away, the
> analogy really needs to keep that clear, and not give the other extreme
> of a false impression that the ID won't get reused after the object goes
> away.

Licence plate numbers do get reused.

ChrisA


More information about the Python-Dev mailing list