[SciPy-User] a=b operation in numpy

josef.pktd@gmai... josef.pktd@gmai...
Tue Jul 2 10:33:40 CDT 2013

On Tue, Jul 2, 2013 at 11:24 AM, Frédéric Parrenin
<parrenin.ujf@gmail.com> wrote:
> Dear all,
> Does anybody know what is the rational in defining for the 'a=b' operation a
> pointer copy and not a complete copy?
> It is inconsistent from an algebraic point of view, since 'a=b' is not the
> same as 'a=b+0'.
> And it is also confusing for starters.

python variables are references,
fortunately, we don't get copying of data all the time like some other
(special purpose) languages


> Best regards,
> Frédéric Parrenin
> _______________________________________________
> SciPy-User mailing list
> SciPy-User@scipy.org
> http://mail.scipy.org/mailman/listinfo/scipy-user

More information about the SciPy-User mailing list