references/pointers in Python?

Anton Lavrik asl at
Wed Sep 12 22:40:47 CEST 2001

On Wed, Sep 12, 2001 at 12:06:06PM -0700, Cliff Wells wrote:
> On Wednesday 12 September 2001 10:09, you wrote:
> > And does this all mean that I should move on to Perl or any other
> > language, if I need effective implementation of references :) ?
> Without knowing more about the problem you are trying to solve, it is 
> difficult to say, but if you try and program in Python as if you are 
> programming in Perl (or C or any other language), then you will probably not 
> be using the most efficient method.  I wonder if you really need references 
> or if there is a more "Pythonish" way of accomplishing your goal.
You are right! I'v already found one wonderfull solution for the
problem. Actually references were not the only way for making it.
But anyway, I can't understend why such powerfull Perl-like references
haven't been implemented in Python.


More information about the Python-list mailing list