[C++-sig] Python Assignment

Enrico Ng enrico at fnal.gov
Fri Aug 16 20:55:02 CEST 2002

I would like the beable to tell python when to make a copy and when not

In python, if I do:


changes in b will affect a and vice versa because b points to a.
I would like to tell python to make a copy if I try to change b so a is
not affected.
Same if I try to change a.

Is there a way to do this?

More information about the Cplusplus-sig mailing list