On 02/21/10 15:21, Steven D'Aprano wrote: >> > So it looks like variables in a list are stored as object references. > Python doesn't store variables in lists, it stores objects, always. > > Even Python variables aren't variables *grin*, although it's really > difficult to avoid using the term. Python variables are mappings between > names (strings) and objects, not memory locations.
Actually, no programming languages have used the term "variable" correctly, as per its original mathematical definition. -- http://mail.python.org/mailman/listinfo/python-list