Terminology: "reference" versus "pointer"
4kir4.1i at gmail.com
Mon Sep 14 16:48:36 CEST 2015
Random832 <random832 at fastmail.com> writes:
> Why can't it describe range(1)? A range object in my model would include
> the start, stop, and step; _not_ the contents of what you would get by
> iterating over it; since that's not part of the physical structure of
> the object, but the consequences of calling methods on it.
start, stop, step attributes (corresponding Python ints) may not exist
("the objects we've talking about have never been created") until you
request them explicitly.
I've mentioned it in another message but to be clear, I consider "parcel
tags"  and "box and arrows"  (boxes are always empty, they only
point to objects) models to be the same and different from "labelled
box"  model (boxes contain objects).
More information about the Python-list