I'm wrong or Will we fix the ducks limp?

Marko Rauhamaa marko at pacujo.net
Wed Jun 8 12:37:46 EDT 2016


Antoon Pardon <antoon.pardon at rece.vub.ac.be>:

> You can do something like that in simula, but only because
> simula has two kinds of assignments. One kind that is
> simular to python and one that is similar to C.
> The one that is similar that python is the reference assignment.

I see Python as doing the exact same thing with variables as C.

What is different is that in Python, every expression evaluates to a
pointer. Thus, you can only assign pointers to variables.


Marko



More information about the Python-list mailing list