[Numpy-discussion] array flags not copied/deepcopied

2012-10-16 Thread Byron Blay
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

Re: [Numpy-discussion] distutils C++ Fortran

2012-10-16 Thread Charles R Harris
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

Re: [Numpy-discussion] array flags not copied/deepcopied

2012-10-16 Thread Nathaniel Smith
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

Re: [Numpy-discussion] Issue tracking

2012-10-16 Thread Thouis (Ray) Jones
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

Re: [Numpy-discussion] distutils C++ Fortran

2012-10-16 Thread Pauli Virtanen
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

Re: [Numpy-discussion] distutils C++ Fortran

2012-10-16 Thread Robert Kern
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

Re: [Numpy-discussion] Issue tracking

2012-10-16 Thread Nathaniel Smith
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

Re: [Numpy-discussion] Issue tracking

2012-10-16 Thread Thouis (Ray) Jones
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.