Why does python behave so? (removing list items)

bearophileHUGS at lycos.com bearophileHUGS at lycos.com
Wed Mar 26 23:28:58 CET 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