thinkings on shallow copy

Steven Taschuk staschuk at telusplanet.net
Thu Jun 19 20:19:22 EDT 2003


Quoth Kendear:
  [...]
> >>I wonder if it is actually to insert *the same object references*
> >>into the new compound object...
  [...]
> essentially, "same object references" are the same as
> "references to the same objects"... just as
> "character pointer" is the same as "pointer to character"
> in C.

This analogy might hold if "same object references" were parsed as
"(same object) references".  In my dialect, this is simply not so:
it's "same (object references)".  Perhaps your dialect is
different.

-- 
Steven Taschuk              Aral: "Confusion to the enemy, boy."
staschuk at telusplanet.net    Mark: "Turn-about is fair play, sir."
                             -- _Mirror Dance_, Lois McMaster Bujold





More information about the Python-list mailing list