[Cython] Cython array type: Summary, introducing CEP 518

Roland Schulz roland at utk.edu
Thu Jun 18 21:15:04 CEST 2009


On Thu, Jun 18, 2009 at 3:11 PM, Dag Sverre Seljebotn <
dagss at student.matnat.uio.no> wrote:

> Dag Sverre Seljebotn wrote:
> > Stefan Behnel wrote:
> >> Dag Sverre Seljebotn wrote:
>
>
> I stand corrected:
>
> In [13]: a = [1,2,3]
>
> In [14]: b = a
>
> In [15]: a += [1,2,3]
>
> In [16]: b
> Out[16]: [1, 2, 3, 1, 2, 3]
>
> OK, so this seems like a non-issue.


interestingly :

 >>> a=(1,2,3)
>>> b=a
>>> b+=(4,)
>>> a
(1, 2, 3)


Roland

>
>
>
> --
> Dag Sverre
> _______________________________________________
> Cython-dev mailing list
> Cython-dev at codespeak.net
> http://codespeak.net/mailman/listinfo/cython-dev
>



-- 
ORNL/UT Center for Molecular Biophysics cmb.ornl.gov
865-241-1537, ORNL PO BOX 2008 MS6309
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://codespeak.net/pipermail/cython-dev/attachments/20090618/dec8c517/attachment.htm 


More information about the Cython-dev mailing list