Please help with MemoryError

Antoine Pitrou solipsis at
Fri Feb 12 23:37:55 CET 2010

Le Fri, 12 Feb 2010 23:12:06 +0100, Alf P. Steinbach a écrit :
> Steven talks about the standard meaning of "pass by reference".

See my answer to Steve's message. You can't postulate a "standard 
meaning" of "pass by reference" independently of the specificities of 
each language. For example a "variable" in Python means something 
different than in non-object languages; it is impossible to have an 
agnostic definition.

In Python and other true object languages, the operations on references 
(especially assignment) don't have the same semantics as in more archaic 
languages. This is no reason, IMO, to refuse using the term "pass by 
reference". The state of art in computing languages evolves, and it 
wouldn't be constructive to remain stuck with definitions from the 1960s.



More information about the Python-list mailing list