[Python-Dev] Need discussion for a PR about memory and objects
Greg Ewing
greg.ewing at canterbury.ac.nz
Sun Nov 18 17:39:50 EST 2018
Nick Coghlan wrote:
> - the object identity is like the registration number or license plate
> (unique within the particular system of registering vehicles, but not
> unique across systems, and may sometimes be transferred to a new
> vehicle after the old one is destroyed)
> - the object type is like the make and model (e.g. a 2007 Toyota
> Corolla Ascent Sedan)
> - the object value is a specific car (e.g. "that white Corolla over
> there with 89000 km on the odometer")
A bit confusing, because "that white Corolla over there" is referring
to its identity.
--
Greg
More information about the Python-Dev
mailing list