Python internals
Jan Claeys
usenet at janc.be
Tue Jul 15 15:00:47 EDT 2008
Op Tue, 15 Jul 2008 09:29:58 -0500, schreef Larry Bates:
> Names are pointers in Python that point to values in memory.
But "pointers" doesn't have the same meaning as in "C" here.
Memory in Python is not (necessarily) an "array of bytes"; how & where
the values are stored in "physical memory" at any time during the
lifetime of an object is an implementation detail.
Maybe you can compare it to how a (university) library works: you ask a
librarian for a book named "The Taste Of Man by Slavenka Draculić" and
they fetch it for you, using whatever internal classification/retrieval
system they use.
--
JanC
More information about the Python-list
mailing list