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

2018-11-20 Thread Jeff Allen
On 20/11/2018 00:14, Chris Barker via Python-Dev wrote: On Mon, Nov 19, 2018 at 1:41 AM Antoine Pitrou > wrote: I'd rather keep the reference to memory addressing than start doing car analogies in the reference documentation. I agree -- and any of the

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

2018-11-19 Thread Steven D'Aprano
Responding to a few points out of order. On Mon, Nov 19, 2018 at 04:14:03PM -0800, Chris Barker via Python-Dev wrote: > I think being a bit more explicit about what properties an ID has, and how > the id() function works, and we may not need an anlogy at all, it's not > that difficult a concept.

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

2018-11-19 Thread Glenn Linderman
On 11/19/2018 4:14 PM, Chris Barker via Python-Dev wrote: On Mon, Nov 19, 2018 at 1:41 AM Antoine Pitrou > wrote: I'd rather keep the reference to memory addressing than start doing car analogies in the reference documentation. I agree -- and any of the

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

2018-11-19 Thread Chris Barker via Python-Dev
On Mon, Nov 19, 2018 at 1:41 AM Antoine Pitrou wrote: > I'd rather keep the reference to memory addressing than start doing car > analogies in the reference documentation. > I agree -- and any of the car analogies will probably be only valid in some jurisdictions, anyway. I think being a bit

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

2018-11-19 Thread Antoine Pitrou
On Sun, 18 Nov 2018 22:32:35 +1000 Nick Coghlan wrote: > > Chris's initial suggestion was to use "license number" or "social > security number" (i.e. numbers governments assign to people), but I'm > thinking a better comparison might be to vehicle registration numbers, > since that analogy can

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

2018-11-18 Thread Greg Ewing
Chris Angelico wrote: Licence plate numbers do get reused. And they can change, e.g. if you get a personalised plate. -- Greg ___ Python-Dev mailing list Python-Dev@python.org https://mail.python.org/mailman/listinfo/python-dev Unsubscribe:

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

2018-11-18 Thread Greg Ewing
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

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

2018-11-18 Thread Hugh Fisher
> Date: Sun, 18 Nov 2018 22:32:35 +1000 > From: Nick Coghlan > To: "Steven D'Aprano" > Cc: python-dev > Subject: Re: [Python-Dev] Need discussion for a PR about memory and > objects [ munch background ] > > Chris's initial suggestion was to use &quo

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

2018-11-18 Thread Jeff Allen
I found this (very good) summary ended in a surprising conclusion. On 18/11/2018 12:32, Nick Coghlan wrote: On Sun, 4 Nov 2018 at 23:33, Steven D'Aprano wrote: On Sun, Nov 04, 2018 at 11:43:50AM +0100, Stephane Wirtel wrote: In this PR [https://github.com/python/cpython/pull/3382] "Remove

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

2018-11-18 Thread Chris Angelico
On Mon, Nov 19, 2018 at 6:01 AM Richard Damon 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

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

2018-11-18 Thread Richard Damon
On 11/18/18 7:32 AM, Nick Coghlan wrote: > On Sun, 4 Nov 2018 at 23:33, Steven D'Aprano wrote: >> On Sun, Nov 04, 2018 at 11:43:50AM +0100, Stephane Wirtel wrote: >>> In this PR [https://github.com/python/cpython/pull/3382] "Remove reference >>> to >>> address from the docs, as it only causes

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

2018-11-18 Thread Nick Coghlan
On Sun, 4 Nov 2018 at 23:33, Steven D'Aprano wrote: > > On Sun, Nov 04, 2018 at 11:43:50AM +0100, Stephane Wirtel wrote: > > In this PR [https://github.com/python/cpython/pull/3382] "Remove reference > > to > > address from the docs, as it only causes confusion", opened by Chris > > Angelico,

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

2018-11-04 Thread Steven D'Aprano
On Sun, Nov 04, 2018 at 11:43:50AM +0100, Stephane Wirtel wrote: > In this PR [https://github.com/python/cpython/pull/3382] "Remove reference > to > address from the docs, as it only causes confusion", opened by Chris > Angelico, there is a discussion about the right term to use for the > address