Automatic debugging of copy by reference errors?

Marc 'BlackJack' Rintsch bj_666 at gmx.net
Sat Dec 9 07:58:22 EST 2006


In <1165666093.996141.244760 at n67g2000cwd.googlegroups.com>, Niels L
Ellegaard wrote:

> I have been using scipy for some time now, but in the beginning I made
> a few mistakes with copying by reference.

But "copying by reference" is the way Python works.  Python never copies
objects unless you explicitly ask for it.  So what you want is a warning
for *every* assignment.

Ciao,
	Marc 'BlackJack' Rintsch



More information about the Python-list mailing list