Re: [Numpy-discussion] Failure to build numpy 1.6.1

2011-11-08 Thread David Cournapeau
On Tue, Nov 8, 2011 at 9:01 AM, David Cournapeau courn...@gmail.com wrote: Hi Mads, On Tue, Nov 8, 2011 at 8:40 AM, Mads Ipsen madsip...@gmail.com wrote: Hi, I am trying to build numpy-1.6.1 with the following gcc compiler specs: Reading specs from /usr/lib/gcc/x86_64-redhat-linux/3.4.6

Re: [Numpy-discussion] Failure to build numpy 1.6.1

2011-11-08 Thread David Cournapeau
On Tue, Nov 8, 2011 at 9:20 AM, Mads Ipsen madsip...@gmail.com wrote: Yup, that fixes it. For now, we can apply a temporary fix on our build system. Is this something that'll go into, say, 1.6.2? That's more of a workaround than a fix. We need to decide whether we disable intrinsics altogether

Re: [Numpy-discussion] Memory hungry reduce ops in Numpy

2011-11-14 Thread David Cournapeau
On Mon, Nov 14, 2011 at 12:46 PM, Andreas Müller amuel...@ais.uni-bonn.de wrote: Hi everybody. When I did some normalization using numpy, I noticed that numpy.std uses more ram than I was expecting. A quick google search gave me this: http://luispedro.org/software/ncreduce The site claims

Re: [Numpy-discussion] Odd-looking long double on windows 32 bit

2011-11-14 Thread David Cournapeau
On Mon, Nov 14, 2011 at 9:01 PM, Matthew Brett matthew.br...@gmail.com wrote: Hi, On Sun, Nov 13, 2011 at 5:03 PM, Charles R Harris charlesr.har...@gmail.com wrote: On Sun, Nov 13, 2011 at 3:56 PM, Matthew Brett matthew.br...@gmail.com wrote: Hi, On Sun, Nov 13, 2011 at 1:34 PM,

Re: [Numpy-discussion] Odd-looking long double on windows 32 bit

2011-11-15 Thread David Cournapeau
On Tue, Nov 15, 2011 at 6:22 AM, Matthew Brett matthew.br...@gmail.com wrote: Hi, On Mon, Nov 14, 2011 at 10:08 PM, David Cournapeau courn...@gmail.com wrote: On Mon, Nov 14, 2011 at 9:01 PM, Matthew Brett matthew.br...@gmail.com wrote: Hi, On Sun, Nov 13, 2011 at 5:03 PM, Charles R

Re: [Numpy-discussion] failure to register ufunc loops for user defined types

2011-12-05 Thread David Cournapeau
On Sun, Dec 4, 2011 at 9:45 PM, Charles R Harris charlesr.har...@gmail.com wrote: We'll see how much interest there is. If it becomes official you may get more feedback on features. There are some advantages to having some user types in numpy. One is that otherwise they tend to get lost,

Re: [Numpy-discussion] Slow Numpy/MKL vs Matlab/MKL

2011-12-07 Thread David Cournapeau
On Tue, Dec 6, 2011 at 5:31 PM, Oleg Mikulya olegmi...@gmail.com wrote: Hi, How to make Numpy to match Matlab in term of performance ? I have tryied with different options, using different MKL libraries and ICC versions, still Numpy is below Matalb for certain basic tasks by ~2x. About 5

Re: [Numpy-discussion] Moving to gcc 4.* for win32 installers ?

2011-12-14 Thread David Cournapeau
On Tue, Dec 13, 2011 at 3:43 PM, Ralf Gommers ralf.gomm...@googlemail.com wrote: On Sun, Oct 30, 2011 at 12:18 PM, David Cournapeau courn...@gmail.com wrote: On Thu, Oct 27, 2011 at 5:19 PM, Ralf Gommers ralf.gomm...@googlemail.com wrote: Hi David, On Thu, Oct 27, 2011 at 3:02 PM, David

Re: [Numpy-discussion] Negative indexing.

2012-01-15 Thread David Cournapeau
On Sat, Jan 14, 2012 at 11:53 PM, Nathan Faggian nathan.fagg...@gmail.com wrote: Hi, I am finding it less than useful to have the negative index wrapping on nd-arrays. Here is a short example: import numpy as np a = np.zeros((3, 3)) a[:,2] = 1000 print a[0,-1] print a[0,-1] print

Re: [Numpy-discussion] Moving to gcc 4.* for win32 installers ?

2012-02-06 Thread David Cournapeau
On Sat, Feb 4, 2012 at 3:55 PM, Ralf Gommers ralf.gomm...@googlemail.com wrote: On Wed, Dec 14, 2011 at 6:50 PM, Ralf Gommers ralf.gomm...@googlemail.com wrote: On Wed, Dec 14, 2011 at 3:04 PM, David Cournapeau courn...@gmail.com wrote: On Tue, Dec 13, 2011 at 3:43 PM, Ralf Gommers

Re: [Numpy-discussion] fast method to to count a particular value in a large matrix

2012-02-06 Thread David Cournapeau
On Mon, Feb 6, 2012 at 1:17 AM, Wes McKinney wesmck...@gmail.com wrote: Whenever I get motivated enough I'm going to make a pull request on NumPy with something like khash.h and start fixing all the O(N log N) algorithms floating around that ought to be O(N). NumPy should really have a match

Re: [Numpy-discussion] Moving to gcc 4.* for win32 installers ?

2012-02-07 Thread David Cournapeau
On Tue, Feb 7, 2012 at 1:30 PM, Sturla Molden stu...@molden.no wrote: On 27.10.2011 15:02, David Cournapeau wrote:    - we need to recompile atlas (but I can take care of it)    - the biggest: it is difficult to combine gfortran with visual studio (more exactly you cannot link gfortran

Re: [Numpy-discussion] Moving to gcc 4.* for win32 installers ?

2012-02-07 Thread David Cournapeau
On Tue, Feb 7, 2012 at 1:55 PM, Sturla Molden stu...@molden.no wrote: On 07.02.2012 14:38, Sturla Molden wrote: May I suggest GotoBLAS2 instead of ATLAS? Or OpenBLAS, which is GotoBLAS2 except it is still maintained. I did not know GotoBLAS2 was open source (it wasn't last time I checked).

Re: [Numpy-discussion] On making Numpy 1.7 a long term support release.

2012-02-10 Thread David Cournapeau
On Sun, Feb 5, 2012 at 7:19 AM, Ralf Gommers ralf.gomm...@googlemail.com wrote: On Sun, Feb 5, 2012 at 7:33 AM, Travis Oliphant tra...@continuum.io wrote: I think supporting Python 2.5 and above is completely fine.  I'd even be in favor of bumping up to Python 2.6 for NumPy 1.7 and certainly

Re: [Numpy-discussion] On making Numpy 1.7 a long term support release.

2012-02-11 Thread David Cournapeau
On Sat, Feb 11, 2012 at 9:08 AM, Ralf Gommers ralf.gomm...@googlemail.com wrote: On Fri, Feb 10, 2012 at 8:51 PM, Ralf Gommers ralf.gomm...@googlemail.com wrote: On Fri, Feb 10, 2012 at 10:25 AM, David Cournapeau courn...@gmail.com wrote: On Sun, Feb 5, 2012 at 7:19 AM, Ralf Gommers

Re: [Numpy-discussion] On making Numpy 1.7 a long term support release.

2012-02-11 Thread David Cournapeau
On Sat, Feb 11, 2012 at 1:30 PM, Ralf Gommers ralf.gomm...@googlemail.com wrote: As Bruce said, 29 Feb 2012 and not 2014: https://access.redhat.com/support/policy/updates/errata/ I think Bruce and me were not talking about the same RHEL version (4 vs 5). Let me see if I can set up a buildbot

Re: [Numpy-discussion] Migrating issues to GitHub

2012-02-11 Thread David Cournapeau
On Sat, Feb 11, 2012 at 9:49 PM, Mark Wiebe mwwi...@gmail.com wrote: On Sat, Feb 11, 2012 at 3:12 PM, Eric Firing efir...@hawaii.edu wrote: On 02/11/2012 10:44 AM, Travis Oliphant wrote:snip 2) You must be an admin to label an issue (i.e. set it as a bug, enhancement, or so forth). A

Re: [Numpy-discussion] Updated differences between 1.5.1 to 1.6.1

2012-02-14 Thread David Cournapeau
Hi Travis, It is great that some resources can be spent to have people paid to work on NumPy. Thank you for making that happen. I am slightly confused about roadmaps for numpy 1.8 and 2.0. This needs discussion on the ML, and our release manager currently is Ralf - he is the one who ultimately

Re: [Numpy-discussion] [cython-users] Discussion with Guido van Rossum and (hopefully) core python-dev on scientific Python and Python3

2012-02-14 Thread David Cournapeau
On Mon, Feb 13, 2012 at 9:55 PM, Fernando Perez fperez@gmail.com wrote: Hi folks, [ I'm broadcasting this widely for maximum reach, but I'd appreciate it if replies can be kept to the *numpy* list, which is sort of the 'base' list for scientific/numerical work.  It will make it much

Re: [Numpy-discussion] Numpy governance update

2012-02-15 Thread David Cournapeau
On Wed, Feb 15, 2012 at 10:30 PM, Peter Wang pw...@streamitive.com wrote: On Feb 15, 2012, at 3:36 PM, Matthew Brett wrote: Honestly - as I was saying to Alan and indirectly to Ben - any formal model - at all - is preferable to the current situation. Personally, I would say that making the

Re: [Numpy-discussion] Proposed Roadmap Overview

2012-02-17 Thread David Cournapeau
Hi Travis, On Thu, Feb 16, 2012 at 10:39 PM, Travis Oliphant tra...@continuum.io wrote: Mark Wiebe and I have been discussing off and on (as well as talking with Charles) a good way forward to balance two competing desires:        * addition of new features that are needed in NumPy        *

Re: [Numpy-discussion] Proposed Roadmap Overview

2012-02-17 Thread David Cournapeau
On Fri, Feb 17, 2012 at 3:39 PM, Charles R Harris charlesr.har...@gmail.com wrote: On Fri, Feb 17, 2012 at 8:01 AM, David Cournapeau courn...@gmail.com wrote: Hi Travis, On Thu, Feb 16, 2012 at 10:39 PM, Travis Oliphant tra...@continuum.io wrote: Mark Wiebe and I have been discussing

Re: [Numpy-discussion] Proposed Roadmap Overview

2012-02-17 Thread David Cournapeau
exported to other languages is in c... David Le 17 févr. 2012 18:21, Mark Wiebe mwwi...@gmail.com a écrit : On Fri, Feb 17, 2012 at 11:52 AM, Eric Firing efir...@hawaii.edu wrote: On 02/17/2012 05:39 AM, Charles R Harris wrote: On Fri, Feb 17, 2012 at 8:01 AM, David Cournapeau courn

Re: [Numpy-discussion] Proposed Roadmap Overview

2012-02-17 Thread David Cournapeau
Le 17 févr. 2012 17:58, Mark Wiebe mwwi...@gmail.com a écrit : On Fri, Feb 17, 2012 at 10:27 AM, David Cournapeau courn...@gmail.com wrote: On Fri, Feb 17, 2012 at 3:39 PM, Charles R Harris charlesr.har...@gmail.com wrote: On Fri, Feb 17, 2012 at 8:01 AM, David Cournapeau courn

Re: [Numpy-discussion] Proposed Roadmap Overview

2012-02-17 Thread David Cournapeau
Le 18 févr. 2012 00:58, Charles R Harris charlesr.har...@gmail.com a écrit : On Fri, Feb 17, 2012 at 4:44 PM, David Cournapeau courn...@gmail.com wrote: I don't think c++ has any significant advantage over c for high performance libraries. I am not convinced by the number of people argument

Re: [Numpy-discussion] Proposed Roadmap Overview

2012-02-17 Thread David Cournapeau
Le 17 févr. 2012 18:21, Mark Wiebe mwwi...@gmail.com a écrit : On Fri, Feb 17, 2012 at 11:52 AM, Eric Firing efir...@hawaii.edu wrote: On 02/17/2012 05:39 AM, Charles R Harris wrote: On Fri, Feb 17, 2012 at 8:01 AM, David Cournapeau courn...@gmail.com mailto:courn...@gmail.com wrote

Re: [Numpy-discussion] Proposed Roadmap Overview

2012-02-17 Thread David Cournapeau
Le 18 févr. 2012 03:53, Charles R Harris charlesr.har...@gmail.com a écrit : On Fri, Feb 17, 2012 at 7:29 PM, David Cournapeau courn...@gmail.com wrote: Le 18 févr. 2012 00:58, Charles R Harris charlesr.har...@gmail.com a écrit : On Fri, Feb 17, 2012 at 4:44 PM, David Cournapeau

Re: [Numpy-discussion] Proposed Roadmap Overview

2012-02-17 Thread David Cournapeau
Le 18 févr. 2012 04:37, Charles R Harris charlesr.har...@gmail.com a écrit : On Fri, Feb 17, 2012 at 9:18 PM, David Cournapeau courn...@gmail.com wrote: Le 18 févr. 2012 03:53, Charles R Harris charlesr.har...@gmail.com a écrit : On Fri, Feb 17, 2012 at 7:29 PM, David Cournapeau

Re: [Numpy-discussion] Proposed Roadmap Overview

2012-02-17 Thread David Cournapeau
Le 18 févr. 2012 06:18, Christopher Jordan-Squire cjord...@uw.edu a écrit : On Fri, Feb 17, 2012 at 8:30 PM, Sturla Molden stu...@molden.no wrote: Den 18. feb. 2012 kl. 05:01 skrev Jason Grout jason-s...@creativetrax.com: On 2/17/12 9:54 PM, Sturla Molden wrote: We would have to

Re: [Numpy-discussion] Proposed Roadmap Overview

2012-02-18 Thread David Cournapeau
Le 18 févr. 2012 11:25, Robert Kern robert.k...@gmail.com a écrit : On Sat, Feb 18, 2012 at 04:54, Charles R Harris charlesr.har...@gmail.com wrote: I found this , which references 0mq (used by ipython) as an example of a C++ library with a C interface. It seems enums can have different

Re: [Numpy-discussion] Proposed Roadmap Overview

2012-02-18 Thread David Cournapeau
On Sat, Feb 18, 2012 at 8:45 PM, Charles R Harris charlesr.har...@gmail.com wrote: On Sat, Feb 18, 2012 at 1:39 PM, Matthew Brett matthew.br...@gmail.com wrote: Hi, On Sat, Feb 18, 2012 at 12:35 PM, Charles R Harris charlesr.har...@gmail.com wrote: On Sat, Feb 18, 2012 at 12:21 PM,

Re: [Numpy-discussion] Proposed Roadmap Overview

2012-02-18 Thread David Cournapeau
On Sat, Feb 18, 2012 at 9:40 PM, Charles R Harris charlesr.har...@gmail.com wrote: Well, we already have code obfuscation (DOUBLE_your_pleasure, FLOAT_your_boat), so we might as well let the compiler handle it. Yes, those are not great, but on the other hand, it is not that a fundamental

Re: [Numpy-discussion] Proposed Roadmap Overview

2012-02-18 Thread David Cournapeau
On Sat, Feb 18, 2012 at 10:50 PM, Sturla Molden stu...@molden.no wrote:   In an ideal world, we would have a better language than C++ that can be spit out as C for portability. What about a statically typed Python? (That is, not Cython.) We just need to make the compiler :-) There are

Re: [Numpy-discussion] How a transition to C++ could work

2012-02-19 Thread David Cournapeau
Hi Mark, thank you for joining this discussion. On Sun, Feb 19, 2012 at 7:18 AM, Mark Wiebe mwwi...@gmail.com wrote: The suggestion of transitioning the NumPy core code from C to C++ has sparked a vigorous debate, and I thought I'd start a new thread to give my perspective on some of the

Re: [Numpy-discussion] Proposed Roadmap Overview

2012-02-19 Thread David Cournapeau
On Sun, Feb 19, 2012 at 8:08 AM, Mark Wiebe mwwi...@gmail.com wrote: On Sat, Feb 18, 2012 at 4:24 PM, David Cournapeau courn...@gmail.com wrote: On Sat, Feb 18, 2012 at 9:40 PM, Charles R Harris charlesr.har...@gmail.com wrote: Well, we already have code obfuscation (DOUBLE_your_pleasure

Re: [Numpy-discussion] How a transition to C++ could work

2012-02-19 Thread David Cournapeau
On Sun, Feb 19, 2012 at 9:19 AM, Mark Wiebe mwwi...@gmail.com wrote: On Sun, Feb 19, 2012 at 2:56 AM, David Cournapeau courn...@gmail.com wrote: Hi Mark, thank you for joining this discussion. On Sun, Feb 19, 2012 at 7:18 AM, Mark Wiebe mwwi...@gmail.com wrote: The suggestion

Re: [Numpy-discussion] Proposed Roadmap Overview

2012-02-19 Thread David Cournapeau
On Sun, Feb 19, 2012 at 9:28 AM, Mark Wiebe mwwi...@gmail.com wrote: Is there anyone who uses a blue gene or small device which needs up-to-date numpy support, that I could talk to directly? We really need a list of supported platforms on the numpy wiki we can refer to when discussing this

Re: [Numpy-discussion] How a transition to C++ could work

2012-02-19 Thread David Cournapeau
On Sun, Feb 19, 2012 at 9:52 AM, Mark Wiebe mwwi...@gmail.com wrote: On Sun, Feb 19, 2012 at 3:10 AM, Ben Walsh ben_w_...@yahoo.co.uk wrote: Date: Sun, 19 Feb 2012 01:18:20 -0600 From: Mark Wiebe mwwi...@gmail.com Subject: [Numpy-discussion] How a transition to C++ could work To:

Re: [Numpy-discussion] [Numpy] quadruple precision

2012-02-29 Thread David Cournapeau
On Wed, Feb 29, 2012 at 10:22 AM, Paweł Biernat pw...@wp.pl wrote: I am completely new to Numpy and I know only the basics of Python, to this point I was using Fortran 03/08 to write numerical code. However, I am starting a new large project of mine and I am looking forward to using Python to

Re: [Numpy-discussion] C++ Example

2012-03-03 Thread David Cournapeau
On Sat, Mar 3, 2012 at 8:07 AM, Luis Pedro Coelho l...@cmu.edu wrote: Hi, I sort of missed the big C++ discussion, but I'd like to give some examples of how writing code can become much simpler if you are based on C++. This is from my mahotas package, which has a thin C++ wrapper around

Re: [Numpy-discussion] dtype comparison, hash

2012-03-05 Thread David Cournapeau
On Tue, Jan 17, 2012 at 9:28 AM, Robert Kern robert.k...@gmail.com wrote: On Tue, Jan 17, 2012 at 05:11, Andreas Kloeckner li...@informa.tiker.net wrote: Hi Robert, On Fri, 30 Dec 2011 20:05:14 +, Robert Kern robert.k...@gmail.com wrote: On Fri, Dec 30, 2011 at 18:57, Andreas Kloeckner

Re: [Numpy-discussion] Fixing PyArray_Descr flags member size, ABI vs pickling issue

2012-03-06 Thread David Cournapeau
On Tue, Mar 6, 2012 at 6:20 AM, Robert Kern robert.k...@gmail.com wrote: On Tue, Mar 6, 2012 at 03:53, David Cournapeau courn...@gmail.com wrote: Hi, This is following the discussion on bug http://projects.scipy.org/numpy/ticket/2017 Essentially, there is a discrepency between the actual

Re: [Numpy-discussion] Fixing PyArray_Descr flags member size, ABI vs pickling issue

2012-03-06 Thread David Cournapeau
On Tue, Mar 6, 2012 at 1:25 PM, Travis Oliphant tra...@continuum.io wrote: Why do we want to return a single string char instead of an int? There is a need for more flags on the dtype object.   Using an actual attribute call seems like the way to go.  This could even merge the contents of

Re: [Numpy-discussion] (2012) Accessing LAPACK and BLAS from the numpy C API

2012-03-06 Thread David Cournapeau
On Tue, Mar 6, 2012 at 2:57 PM, Sturla Molden stu...@molden.no wrote: On 05.03.2012 14:26, V. Armando Solé wrote: In 2009 there was a thread in this mailing list concerning the access to BLAS from C extension modules. If I have properly understood the thread:

Re: [Numpy-discussion] Fixing PyArray_Descr flags member size, ABI vs pickling issue

2012-03-07 Thread David Cournapeau
On Tue, Mar 6, 2012 at 1:44 PM, Robert Kern robert.k...@gmail.com wrote: On Tue, Mar 6, 2012 at 18:25, Travis Oliphant tra...@continuum.io wrote: Why do we want to return a single string char instead of an int? I suspect just to ensure that any provided value fits in the range 0..255. But

Re: [Numpy-discussion] float96 on windows32 is float64?

2012-03-15 Thread David Cournapeau
On Thu, Mar 15, 2012 at 11:10 PM, Matthew Brett matthew.br...@gmail.comwrote: Hi, Am I right in thinking that float96 on windows 32 bit is a float64 padded to 96 bits? Yes If so, is it useful? Yes: this is what allows you to use dtype to parse complex binary files directly in numpy

Re: [Numpy-discussion] Linking against MKL but still slow?

2012-03-26 Thread David Cournapeau
Hi Christoph, On Mon, Mar 26, 2012 at 10:06 AM, Christoph Dann ch.ro.d...@googlemail.comwrote: Dear list, so far I used Enthoughts Python Distribution which contains a compiled version of numpy linked against MKL. Now, I want to implement my own extensions to numpy, so I need my build numpy

[Numpy-discussion] [ANN] Bento 0.0.8.1

2012-04-01 Thread David Cournapeau
Hi, I am pleased to announce a new release of bento, a packaging solution for python which aims at reproducibility, extensibility and simplicity. The main features of this 0.0.8.1 release are: - Path sections can now use conditionals - More reliable convert command to migrate

Re: [Numpy-discussion] NumPy EIG much slower than MATLAB EIG

2012-04-02 Thread David Cournapeau
On Sun, Apr 1, 2012 at 2:28 PM, Kamesh Krishnamurthy kames...@gmail.comwrote: Hello all, I profiled NumPy EIG and MATLAB EIG on the same Macbook pro, and both were linking to the Accelerate framework BLAS. NumPy turns out to be ~4x slower. I've posted details on Stackoverflow:

Re: [Numpy-discussion] NumPy EIG much slower than MATLAB EIG

2012-04-02 Thread David Cournapeau
On Mon, Apr 2, 2012 at 4:45 PM, Chris Barker chris.bar...@noaa.gov wrote: On Mon, Apr 2, 2012 at 2:25 AM, Nathaniel Smith n...@pobox.com wrote: To see if this is an effect of numpy using C-order by default instead of Fortran-order, try measuring eig(x.T) instead of eig(x)? Just to be

Re: [Numpy-discussion] YouTrack testbed

2012-04-10 Thread David Cournapeau
On Tue, Apr 10, 2012 at 8:40 PM, Ralf Gommers ralf.gomm...@googlemail.comwrote: On Mon, Apr 9, 2012 at 10:32 PM, Bryan Van de Ven bry...@continuum.iowrote: On 4/3/12 4:18 PM, Ralf Gommers wrote: Here some first impressions. The good: - It's responsive! - It remembers my preferences

Re: [Numpy-discussion] YouTrack testbed

2012-04-12 Thread David Cournapeau
On Thu, Apr 12, 2012 at 5:43 PM, Ralf Gommers ralf.gomm...@googlemail.comwrote: On Tue, Apr 10, 2012 at 9:53 PM, David Cournapeau courn...@gmail.comwrote: On Tue, Apr 10, 2012 at 8:40 PM, Ralf Gommers ralf.gomm...@googlemail.com wrote: On Mon, Apr 9, 2012 at 10:32 PM, Bryan Van de

Re: [Numpy-discussion] YouTrack testbed

2012-04-12 Thread David Cournapeau
On Thu, Apr 12, 2012 at 9:29 PM, william ratcliff william.ratcl...@gmail.com wrote: Has anyone tried Rietveld, Gerrit, or Phabricator? rietveld and gerrit are code review tools. I have not heard of phabricator, but this article certainly makes it sounds interesting:

Re: [Numpy-discussion] What is consensus anyway

2012-04-25 Thread David Cournapeau
On Wed, Apr 25, 2012 at 10:54 PM, Matthew Brett matthew.br...@gmail.comwrote: Hi, On Wed, Apr 25, 2012 at 2:35 PM, Travis Oliphant tra...@continuum.io wrote: Do you agree that Numpy has not been very successful in recruiting and maintaining new developers compared to its large

Re: [Numpy-discussion] Quaternion data type

2012-05-06 Thread David Cournapeau
On Sat, May 5, 2012 at 9:43 PM, Mark Wiebe mwwi...@gmail.com wrote: On Sat, May 5, 2012 at 1:06 PM, Charles R Harris charlesr.har...@gmail.com wrote: On Sat, May 5, 2012 at 11:19 AM, Mark Wiebe mwwi...@gmail.com wrote: On Sat, May 5, 2012 at 11:55 AM, Charles R Harris

Re: [Numpy-discussion] Fixing issue of future opaqueness of ndarray this summer

2012-05-14 Thread David Cournapeau
On Mon, May 14, 2012 at 5:31 PM, mark florisson markflorisso...@gmail.comwrote: On 12 May 2012 22:55, Dag Sverre Seljebotn d.s.seljeb...@astro.uio.no wrote: On 05/11/2012 03:37 PM, mark florisson wrote: On 11 May 2012 12:13, Dag Sverre Seljebotnd.s.seljeb...@astro.uio.no wrote:

Re: [Numpy-discussion] Masked Array for NumPy 1.7

2012-05-19 Thread David Cournapeau
On Sat, May 19, 2012 at 3:17 PM, Charles R Harris charlesr.har...@gmail.com wrote: On Fri, May 18, 2012 at 3:47 PM, Travis Oliphant tra...@continuum.iowrote: Hey all, After reading all the discussion around masked arrays and getting input from as many people as possible, it is clear that

Re: [Numpy-discussion] [SciPy-Dev] Ubuntu PPA for NumPy / SciPy / ...

2012-06-08 Thread David Cournapeau
On Thu, Jun 7, 2012 at 5:24 PM, Andreas Hilboll li...@hilboll.de wrote: Hi, I just noticed that there's a PPA for NumPy/SciPy on Launchpad: https://launchpad.net/~scipy/+archive/ppa However, it's painfully outdated. Does anyone know of its status? Is it 'official'? Are there any plans

Re: [Numpy-discussion] Neighborhood iterator: way to easily check which elements have already been visited in parent iterator?

2012-06-13 Thread David Cournapeau
Not the neighborhood one, though. It would be good if this iterator had a cython wrapper, and ndimage used that, though. Le 13 juin 2012 18:59, Ralf Gommers ralf.gomm...@googlemail.com a écrit : On Wed, Jun 13, 2012 at 6:57 PM, Thouis (Ray) Jones tho...@gmail.comwrote: Hello, I'm rewriting

[Numpy-discussion] [ANN] Bento 0.1.0

2012-06-14 Thread David Cournapeau
Hi, I am pleased to announce a new release of bento, a packaging solution for python which aims at reproducibility, extensibility and simplicity. The main features of this 0.1.0 release are: - new commands register_pypi and upload_pypi to register a package to pypi and

Re: [Numpy-discussion] Pull request: Split maskna support out of mainline into a branch

2012-06-14 Thread David Cournapeau
On Thu, Jun 14, 2012 at 5:17 PM, Nathaniel Smith n...@pobox.com wrote: On Wed, Jun 6, 2012 at 11:08 PM, Nathaniel Smith n...@pobox.com wrote: Just submitted this pull request for discussion: https://github.com/numpy/numpy/pull/297 As per earlier discussion on the list, this PR attempts

Re: [Numpy-discussion] Pull request: Split maskna support out of mainline into a branch

2012-06-17 Thread David Cournapeau
On Sat, Jun 16, 2012 at 9:39 PM, Nathaniel Smith n...@pobox.com wrote: On Thu, Jun 14, 2012 at 5:20 PM, David Cournapeau courn...@gmail.com wrote: On Thu, Jun 14, 2012 at 5:17 PM, Nathaniel Smith n...@pobox.com wrote: On Wed, Jun 6, 2012 at 11:08 PM, Nathaniel Smith n...@pobox.com

Re: [Numpy-discussion] Created NumPy 1.7.x branch

2012-06-25 Thread David Cournapeau
On Tue, Jun 26, 2012 at 4:10 AM, Ondřej Čertík ondrej.cer...@gmail.com wrote: My understanding is that Travis is simply trying to stress We have to think about the implications of our changes on existing users. and also that little changes (with the best intentions!) that however mean either

Re: [Numpy-discussion] Created NumPy 1.7.x branch

2012-06-25 Thread David Cournapeau
On Tue, Jun 26, 2012 at 4:42 AM, Ondřej Čertík ondrej.cer...@gmail.com wrote: On Mon, Jun 25, 2012 at 8:35 PM, David Cournapeau courn...@gmail.com wrote: On Tue, Jun 26, 2012 at 4:10 AM, Ondřej Čertík ondrej.cer...@gmail.com wrote: My understanding is that Travis is simply trying to stress

Re: [Numpy-discussion] Created NumPy 1.7.x branch

2012-06-25 Thread David Cournapeau
On Tue, Jun 26, 2012 at 5:17 AM, Travis Oliphant tra...@continuum.io wrote: On Jun 25, 2012, at 10:35 PM, David Cournapeau wrote: On Tue, Jun 26, 2012 at 4:10 AM, Ondřej Čertík ondrej.cer...@gmail.com wrote: My understanding is that Travis is simply trying to stress We have to think

Re: [Numpy-discussion] Created NumPy 1.7.x branch

2012-06-26 Thread David Cournapeau
On Tue, Jun 26, 2012 at 10:27 AM, Dag Sverre Seljebotn d.s.seljeb...@astro.uio.no wrote: On 06/26/2012 05:35 AM, David Cournapeau wrote: On Tue, Jun 26, 2012 at 4:10 AM, Ondřej Čertíkondrej.cer...@gmail.com   wrote: My understanding is that Travis is simply trying to stress We have to think

[Numpy-discussion] moving forward around ABI/API compatibilities (was numpy 1.7.x branch)

2012-06-26 Thread David Cournapeau
Hi, I am just continuing the discussion around ABI/API, the technical side of things that is, as this is unrelated to 1.7.x. release. On Tue, Jun 26, 2012 at 11:41 AM, Dag Sverre Seljebotn d.s.seljeb...@astro.uio.no wrote: On 06/26/2012 11:58 AM, David Cournapeau wrote: On Tue, Jun 26, 2012

Re: [Numpy-discussion] moving forward around ABI/API compatibilities (was numpy 1.7.x branch)

2012-06-26 Thread David Cournapeau
On Tue, Jun 26, 2012 at 2:40 PM, Dag Sverre Seljebotn d.s.seljeb...@astro.uio.no wrote: On 06/26/2012 01:48 PM, David Cournapeau wrote: Hi, I am just continuing the discussion around ABI/API, the technical side of things that is, as this is unrelated to 1.7.x. release. On Tue, Jun 26, 2012

Re: [Numpy-discussion] Created NumPy 1.7.x branch

2012-06-26 Thread David Cournapeau
On Tue, Jun 26, 2012 at 5:24 PM, Travis Oliphant tra...@continuum.io wrote: Let us note that that problem was due to Travis convincing David to include the Datetime work in the release against David's own best judgement. The result was a delay of several months until Ralf could get up to speed

Re: [Numpy-discussion] Combined versus separate build

2012-06-27 Thread David Cournapeau
On Wed, Jun 27, 2012 at 7:17 PM, Nathaniel Smith n...@pobox.com wrote: Currently the numpy build system(s) support two ways of building numpy: either by compiling a giant concatenated C file, or by the more conventional route of first compiling each .c file to a .o file, and then linking those

Re: [Numpy-discussion] Combined versus separate build

2012-06-27 Thread David Cournapeau
On Wed, Jun 27, 2012 at 8:07 PM, Nathaniel Smith n...@pobox.com wrote: On Wed, Jun 27, 2012 at 7:50 PM, David Cournapeau courn...@gmail.com wrote: On Wed, Jun 27, 2012 at 7:17 PM, Nathaniel Smith n...@pobox.com wrote: Currently the numpy build system(s) support two ways of building numpy

Re: [Numpy-discussion] Combined versus separate build

2012-06-27 Thread David Cournapeau
On Wed, Jun 27, 2012 at 8:53 PM, Nathaniel Smith n...@pobox.com wrote: On Wed, Jun 27, 2012 at 8:29 PM, David Cournapeau courn...@gmail.com wrote: On Wed, Jun 27, 2012 at 8:07 PM, Nathaniel Smith n...@pobox.com wrote: On Wed, Jun 27, 2012 at 7:50 PM, David Cournapeau courn...@gmail.com wrote

Re: [Numpy-discussion] Combined versus separate build

2012-06-27 Thread David Cournapeau
On Wed, Jun 27, 2012 at 8:57 PM, Dag Sverre Seljebotn d.s.seljeb...@astro.uio.no wrote: On 06/27/2012 09:53 PM, Nathaniel Smith wrote: On Wed, Jun 27, 2012 at 8:29 PM, David Cournapeaucourn...@gmail.com  wrote: On Wed, Jun 27, 2012 at 8:07 PM, Nathaniel Smithn...@pobox.com  wrote: On Wed, Jun

Re: [Numpy-discussion] Dropping support for Python 2.4 in NumPy 1.8

2012-06-28 Thread David Cournapeau
Hi Travis, On Thu, Jun 28, 2012 at 1:25 PM, Travis Oliphant tra...@continuum.io wrote: Hey all, I'd like to propose dropping support for Python 2.4 in NumPy 1.8 (not the 1.7 release).      What does everyone think of that? I think it would depend on 1.7 state. I am unwilling to drop support

Re: [Numpy-discussion] Non-deterministic test failure in master

2012-06-28 Thread David Cournapeau
On Thu, Jun 28, 2012 at 8:06 PM, Nathaniel Smith n...@pobox.com wrote: On Thu, Jun 28, 2012 at 7:13 AM, Pierre Haessig pierre.haes...@crans.org wrote: Hi Nathaniel, Le 27/06/2012 20:22, Nathaniel Smith a écrit : According to the Travis-CI build logs, this code produces non-deterministic

Re: [Numpy-discussion] Strange problem

2012-06-29 Thread David Cournapeau
On Fri, Jun 29, 2012 at 9:54 AM, Uwe Schmitt uschm...@mineway.de wrote: Hi, I have unreproducable crashes on a customers Win 7 machine with Python 2.7.2 and Numpy 1.6.1.  He gets the following message:   Problem signature:   Problem Event Name: APPCRASH   Application Name: python.exe  

Re: [Numpy-discussion] Combined versus separate build

2012-07-01 Thread David Cournapeau
On Sun, Jul 1, 2012 at 6:36 PM, Nathaniel Smith n...@pobox.com wrote: On Wed, Jun 27, 2012 at 9:05 PM, David Cournapeau courn...@gmail.com wrote: On Wed, Jun 27, 2012 at 8:53 PM, Nathaniel Smith n...@pobox.com wrote: But seriously, what compilers do we support that don't have -fvisibility

Re: [Numpy-discussion] Combined versus separate build

2012-07-01 Thread David Cournapeau
On Sun, Jul 1, 2012 at 8:32 PM, Nathaniel Smith n...@pobox.com wrote: On Sun, Jul 1, 2012 at 7:36 PM, David Cournapeau courn...@gmail.com wrote: On Sun, Jul 1, 2012 at 6:36 PM, Nathaniel Smith n...@pobox.com wrote: On Wed, Jun 27, 2012 at 9:05 PM, David Cournapeau courn...@gmail.com wrote

Re: [Numpy-discussion] import numpy performance

2012-07-02 Thread David Cournapeau
On Mon, Jul 2, 2012 at 8:17 PM, Andrew Dalke da...@dalkescientific.com wrote: In this email I propose a few changes which I think are minor and which don't really affect the external NumPy API but which I think could improve the import numpy performance by at least 40%. This affects me because

Re: [Numpy-discussion] import numpy performance

2012-07-02 Thread David Cournapeau
On Mon, Jul 2, 2012 at 11:15 PM, Andrew Dalke da...@dalkescientific.com wrote: On Jul 2, 2012, at 11:38 PM, Fernando Perez wrote: No, that's the wrong thing to test, because it effectively amounts to 'import numpy', sicne the numpy __init__ file is still executed. As David indicated, you must

Re: [Numpy-discussion] Combined versus separate build

2012-07-02 Thread David Cournapeau
On Mon, Jul 2, 2012 at 11:34 PM, Nathaniel Smith n...@pobox.com wrote: To be clear, this subthread started with the caveat *as far as our officially supported platforms go* -- I'm not saying that we should go around and remove all the NPY_NO_EXPORT macros tomorrow. However, the only reason

Re: [Numpy-discussion] Code Freeze for NumPy 1.7

2012-07-15 Thread David Cournapeau
On Sun, Jul 15, 2012 at 5:42 PM, Charles R Harris charlesr.har...@gmail.com wrote: On Sun, Jul 15, 2012 at 10:32 AM, Ralf Gommers ralf.gomm...@googlemail.com wrote: On Sun, Jul 15, 2012 at 5:57 PM, Nathaniel Smith n...@pobox.com wrote: On Sun, Jul 15, 2012 at 1:08 PM, Ralf Gommers

Re: [Numpy-discussion] Lazy imports again

2012-07-17 Thread David Cournapeau
On Mon, Jul 16, 2012 at 5:28 PM, Charles R Harris charlesr.har...@gmail.com wrote: Hi All, Working lazy imports would be useful to have. Ralf is opposed to the idea because it caused all sorts of problems on different platforms when it was tried in scipy. I thought I'd open the topic for

Re: [Numpy-discussion] Lazy imports again

2012-07-17 Thread David Cournapeau
On Tue, Jul 17, 2012 at 1:13 PM, Charles R Harris charlesr.har...@gmail.com wrote: On Tue, Jul 17, 2012 at 1:31 AM, David Cournapeau courn...@gmail.com wrote: On Mon, Jul 16, 2012 at 5:28 PM, Charles R Harris charlesr.har...@gmail.com wrote: Hi All, Working lazy imports would

Re: [Numpy-discussion] Symbol table not found compiling numpy from git repository on Windows

2012-07-18 Thread David Cournapeau
On Wed, Jul 18, 2012 at 11:38 AM, Ondřej Čertík ondrej.cer...@gmail.com wrote: On Wed, Jul 18, 2012 at 12:30 PM, Ondřej Čertík ondrej.cer...@gmail.com wrote: On Wed, Jul 18, 2012 at 2:20 AM, Ondřej Čertík ondrej.cer...@gmail.com wrote: On Thu, Jan 5, 2012 at 8:22 PM, John Salvatier

Re: [Numpy-discussion] Segfault in mingw in test_arrayprint.TestComplexArray

2012-07-20 Thread David Cournapeau
On Fri, Jul 20, 2012 at 12:24 PM, Ondřej Čertík ondrej.cer...@gmail.com wrote: So I have tried the MinGW-5.0.3.exe in Wine, but it tries to install from some wrong url and it fails to install. I have unpacked the tarballs by hand into ~/.wine/drive_c/MinGW: Not surprising, that MinGW is

Re: [Numpy-discussion] Segfault in mingw in test_arrayprint.TestComplexArray

2012-07-20 Thread David Cournapeau
On Thu, Jul 19, 2012 at 4:58 PM, Ondřej Čertík ondrej.cer...@gmail.com wrote: So I have tried the MinGW-5.0.3.exe in Wine, but it tries to install from some wrong url and it fails to install. I have unpacked the tarballs by hand into ~/.wine/drive_c/MinGW: binutils-2.17.50-20070129-1.tar.gz

Re: [Numpy-discussion] Status of NumPy and Python 3.3

2012-07-27 Thread David Cournapeau
On Fri, Jul 27, 2012 at 7:30 AM, Travis Oliphant tra...@continuum.io wrote: Hey all, I'm wondering who has tried to make NumPy work with Python 3.3. The Unicode handling was significantly improved in Python 3.3 and the array-scalar code (which assumed a certain structure for

Re: [Numpy-discussion] Status of NumPy and Python 3.3

2012-07-27 Thread David Cournapeau
On Fri, Jul 27, 2012 at 9:28 AM, David Cournapeau courn...@gmail.com wrote: On Fri, Jul 27, 2012 at 7:30 AM, Travis Oliphant tra...@continuum.io wrote: Hey all, I'm wondering who has tried to make NumPy work with Python 3.3. The Unicode handling was significantly improved in Python 3.3

[Numpy-discussion] Moving away from using accelerate framework on mac os x ?

2012-08-04 Thread David Cournapeau
Hi, During last PyCon, Olivier Grisel (from scikits-learn fame) and myself looked into a nasty bug on mac os x: https://gist.github.com/2027412. The short story is that I believe this means numpy cannot be used with multiprocessing if linked against accelerate framework, and as such we should

Re: [Numpy-discussion] Moving away from using accelerate framework on mac os x ?

2012-08-04 Thread David Cournapeau
On Sat, Aug 4, 2012 at 12:14 PM, Aron Ahmadia a...@ahmadia.net wrote: Hi David, Apple's response here is somewhat confusing, but I will add that on the supercomputing side of things we rarely fork, as this is not well-supported from the vendors or the hardware (it's hard enough to

Re: [Numpy-discussion] Unicode revisited

2012-08-04 Thread David Cournapeau
On Sat, Aug 4, 2012 at 12:58 PM, Stefan Krah stefan-use...@bytereef.org wrote: Nathaniel Smith n...@pobox.com wrote: On Sat, Aug 4, 2012 at 11:42 AM, Stefan Krah stefan-use...@bytereef.org wrote: switch (descr-byteorder) { case '': byteorder = -1;

Re: [Numpy-discussion] building numpy 1.6.2 on OSX 10.6 / Python2.7.3

2012-08-08 Thread David Cournapeau
On Wed, Aug 8, 2012 at 6:15 AM, Andrew Nelson andyf...@gmail.com wrote: Dear Pierre, as indicated yesterday OSX system python is in: /System/Library/Frameworks/Python.framework/ I am installing into: /Library/Frameworks/Python.framework/Versions/Current/lib/python2.7/site-packages This

Re: [Numpy-discussion] Licensing question

2012-08-08 Thread David Cournapeau
On Wed, Aug 8, 2012 at 12:55 AM, Nathaniel Smith n...@pobox.com wrote: On Mon, Aug 6, 2012 at 8:31 PM, Robert Kern robert.k...@gmail.com wrote: Those are not the original Fortran sources. The original Fortran sources are in the public domain as work done by a US federal employee.

Re: [Numpy-discussion] Licensing question

2012-08-08 Thread David Cournapeau
On Wed, Aug 8, 2012 at 10:53 AM, Robert Kern robert.k...@gmail.com wrote: On Wed, Aug 8, 2012 at 10:34 AM, David Cournapeau courn...@gmail.com wrote: On Wed, Aug 8, 2012 at 12:55 AM, Nathaniel Smith n...@pobox.com wrote: On Mon, Aug 6, 2012 at 8:31 PM, Robert Kern robert.k...@gmail.com wrote

Re: [Numpy-discussion] Vagrant VM for building NumPy (1.7.x) Windows binaries

2012-08-13 Thread David Cournapeau
Hi Ondrej, On Mon, Aug 13, 2012 at 5:13 AM, Ondřej Čertík ondrej.cer...@gmail.com wrote: Hi, I've created this repository: https://github.com/certik/numpy-vendor which uses Vagrant and Fabric to fully automate the setup creation of NumPy binaries for Windows. The setup is especially

Re: [Numpy-discussion] how to use numpy-vendor

2012-08-14 Thread David Cournapeau
Hi Ondrej, On Tue, Aug 14, 2012 at 5:34 AM, Ondřej Čertík ondrej.cer...@gmail.com wrote: Hi, How should one use the vendor repository (https://github.com/numpy/vendor) in Wine? Should I put the binaries into .wine/drive_c/Python25/libs/, or somewhere else? I've search all mailinglists and I

Re: [Numpy-discussion] how to use numpy-vendor

2012-08-14 Thread David Cournapeau
On Tue, Aug 14, 2012 at 11:22 AM, Nathaniel Smith n...@pobox.com wrote: On Tue, Aug 14, 2012 at 11:06 AM, David Cournapeau courn...@gmail.com wrote: Hi Ondrej, On Tue, Aug 14, 2012 at 5:34 AM, Ondřej Čertík ondrej.cer...@gmail.com wrote: Hi, How should one use the vendor repository (https

[Numpy-discussion] Preventing lossy cast for new float dtypes ?

2012-08-18 Thread David Cournapeau
Hi, I have started toying with implementing a quad precision dtype for numpy on supported platforms, using the __float128 + quadmath lib from gcc. I have noticed invalid (and unexpected) downcast to long double in some cases, especially for ufuncs (e.g. when I don't define my own ufunc for a

Re: [Numpy-discussion] 64bit infrastructure

2012-08-22 Thread David Cournapeau
On Tue, Aug 21, 2012 at 12:15 AM, Chris Barker chris.bar...@noaa.gov wrote: On Mon, Aug 20, 2012 at 3:51 PM, Travis Oliphant tra...@continuum.io wrote: I'm actually not sure, why. I think the issue is making sure that the release manager can actually build NumPy without having to buy a

  1   2   3   4   5   6   7   8   9   10   >