On Tue, Oct 16, 2012 at 4:36 PM, Byron Blay wrote:
> Copying / deepcopying an array does not copy the writeable flag:
>
import numpy
from copy import deepcopy
a = numpy.array([1,2,3,4,5])
a.flags.writeable = False
b = deepcopy(a)
b.flags.writeable
> True
>
> Is this a
Copying / deepcopying an array does not copy the writeable flag:
>>> import numpy
>>> from copy import deepcopy
>>> a = numpy.array([1,2,3,4,5])
>>> a.flags.writeable = False
>>> b = deepcopy(a)
>>> b.flags.writeable
True
Is this a bug?
Should I raise an issue on github?
Many thanks,
Byron
_