Addressing the last element of a list

Jerzy Karczmarczuk karczma at info.unicaen.fr
Tue Nov 8 04:30:23 EST 2005


Peter Otten wrote:
> pinkfloydhomer at gmail.com wrote:
> 
> 
>>Just to satisfy my curiousity: Is there a way to do something like the
>>reference solution I suggest above?
> 
> 
> No. You cannot overload assignment. 

I have the impression that this is not an issue, to overload assignments,
which btw. *can* be overloaded, but the absence of *aliasing* (undiscriminate
handling of pointers) in Python. Am I wrong?

Jerzy Karczmarczuk



More information about the Python-list mailing list