Why does python behave so? (removing list items)

bearophileHUGS at lycos.com bearophileHUGS at lycos.com
Wed Mar 26 18:28:58 EDT 2008


Michał Bentkowski:
> Why does python create a reference here, not just copy the variable?

I think to increase performance, in memory used and running time (and
to have a very uniform way of managing objects).

Bye,
bearophile



More information about the Python-list mailing list