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
On Sun, Oct 14, 2012 at 11:53 AM, Pauli Virtanen p...@iki.fi wrote:
Hi,
I'd like to link both C++ and Fortran code into a single
Python extension, using numpy.distutils (for scipy.special).
But it seems the distutils-based tools actually cannot do this?
Does someone know if there's a way
On Tue, Oct 16, 2012 at 4:36 PM, Byron Blay byronb...@googlemail.com 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
On Sun, Oct 7, 2012 at 10:15 AM, Thouis (Ray) Jones tho...@gmail.com wrote:
I plan to import all the Trac issues to github by the end of this
week. I want to get an up-to-date snapshot of the Trac DB, and run
another test import with it (just to make sure there's nothing in
recent bugs that
Charles R Harris charlesr.harris at gmail.com writes:
On Sun, Oct 14, 2012 at 11:53 AM, Pauli Virtanen pav at iki.fi wrote:
Hi,
I'd like to link both C++ and Fortran code into a single
Python extension, using numpy.distutils (for scipy.special).
But it seems the distutils-based tools
On Tue, Oct 16, 2012 at 9:56 PM, Pauli Virtanen p...@iki.fi wrote:
Charles R Harris charlesr.harris at gmail.com writes:
On Sun, Oct 14, 2012 at 11:53 AM, Pauli Virtanen pav at iki.fi wrote:
Hi,
I'd like to link both C++ and Fortran code into a single
Python extension, using numpy.distutils
On Tue, Oct 16, 2012 at 9:06 PM, Thouis (Ray) Jones tho...@gmail.com wrote:
On Sun, Oct 7, 2012 at 10:15 AM, Thouis (Ray) Jones tho...@gmail.com wrote:
I plan to import all the Trac issues to github by the end of this
week. I want to get an up-to-date snapshot of the Trac DB, and run
another
On Tue, Oct 16, 2012 at 5:54 PM, Nathaniel Smith n...@pobox.com wrote:
On Tue, Oct 16, 2012 at 9:06 PM, Thouis (Ray) Jones tho...@gmail.com wrote:
On Sun, Oct 7, 2012 at 10:15 AM, Thouis (Ray) Jones tho...@gmail.com wrote:
I plan to import all the Trac issues to github by the end of this
week.