Re: [Numpy-discussion] non-integer index misfeature?

2012-12-13 Thread Neal Becker
I'd be happy with disallowing floating point index at all. I would think it was almost always a mistake. ___ NumPy-Discussion mailing list NumPy-Discussion@scipy.org http://mail.scipy.org/mailman/listinfo/numpy-discussion

[Numpy-discussion] www.numpy.org home page

2012-12-13 Thread Travis Oliphant
For people interested in the www.numpy.org home page: Jon Turner has officially transferred the www.numpy.org domain to NumFOCUS. Thank you, Jon for this donation and for being a care-taker of the domain-name. We have setup the domain registration to point to numpy.github.com and I've

Re: [Numpy-discussion] Proposal to drop python 2.4 support in numpy 1.8

2012-12-13 Thread Travis Oliphant
A big +1 from me --- but I don't have anyone I know using 2.4 anymore -Travis On Dec 13, 2012, at 10:34 AM, Charles R Harris wrote: Time to raise this topic again. Opinions welcome. Chuck ___ NumPy-Discussion mailing list

Re: [Numpy-discussion] Proposal to drop python 2.4 support in numpy 1.8

2012-12-13 Thread Benjamin Root
As a point of reference, python 2.4 is on RH5/CentOS5. While RH6 is the current version, there are still enterprises that are using version 5. Of course, at this point, one really should be working on a migration plan and shouldn't be doing new development on those machines... Ben Root

Re: [Numpy-discussion] Proposal to drop python 2.4 support in numpy 1.8

2012-12-13 Thread Anthony Scopatz
+1, if someone wants to use an older version of Python they can use an older version of numpy. On Thu, Dec 13, 2012 at 10:36 AM, Travis Oliphant tra...@continuum.iowrote: A big +1 from me --- but I don't have anyone I know using 2.4 anymore -Travis On Dec 13, 2012, at 10:34 AM,

Re: [Numpy-discussion] Proposal to drop python 2.4 support in numpy 1.8

2012-12-13 Thread David Cournapeau
On Thu, Dec 13, 2012 at 5:34 PM, Charles R Harris charlesr.har...@gmail.com wrote: Time to raise this topic again. Opinions welcome. I am ok if 1.7 is the LTS. I would even go as far as dropping 2.5 as well then (RHEL 6 uses python 2.6). cheers, David

Re: [Numpy-discussion] Proposal to drop python 2.4 support in numpy 1.8

2012-12-13 Thread Skipper Seabold
On Thu, Dec 13, 2012 at 12:00 PM, David Cournapeau courn...@gmail.com wrote: snip I would even go as far as dropping 2.5 as well then (RHEL 6 uses python 2.6). +1 Skipper ___ NumPy-Discussion mailing list NumPy-Discussion@scipy.org

Re: [Numpy-discussion] Proposal to drop python 2.4 support in numpy 1.8

2012-12-13 Thread Sturla Molden
Yes, and ditto for SciPy. With dropped 2.4 support we can also use the new memoryview syntax instead of ndarray syntax in Cython. That is more important for SciPy, but it has some relevance for NumPy too. Sturla Sendt fra min iPad Den 13. des. 2012 kl. 17:34 skrev Charles R Harris

Re: [Numpy-discussion] Proposal to drop python 2.4 support in numpy 1.8

2012-12-13 Thread Bradley M. Froehle
Targeting = 2.6 would be preferable to me. Several other packages including IPython, support only Python = 2.6, = 3.2. This change would help me from accidentally writing Python syntax which is allowable in 2.6 2.7 (but not in 2.4 or 2.5). Compiling a newer Python interpreter isn't very

Re: [Numpy-discussion] Proposal to drop python 2.4 support in numpy 1.8

2012-12-13 Thread Charles R Harris
On Thu, Dec 13, 2012 at 10:12 AM, Bradley M. Froehle brad.froe...@gmail.com wrote: Targeting = 2.6 would be preferable to me. Several other packages including IPython, support only Python = 2.6, = 3.2. This change would help me from accidentally writing Python syntax which is allowable in

Re: [Numpy-discussion] Proposal to drop python 2.4 support in numpy 1.8

2012-12-13 Thread Jonathan T. Niehof
On 12/13/2012 09:39 AM, Benjamin Root wrote: As a point of reference, python 2.4 is on RH5/CentOS5. While RH6 is the current version, there are still enterprises that are using version 5. Of course, at this point, one really should be working on a migration plan and shouldn't be doing new

Re: [Numpy-discussion] Support for python 2.4 dropped. Should we drop 2.5 also?

2012-12-13 Thread Olivier Delalleau
I'd say it's a good idea, although I hope 1.7.x will still be maintained for a while for those who are still stuck with Python 2.4-5 (sometimes you don't have a choice). -=- Olivier 2012/12/13 Charles R Harris charlesr.har...@gmail.com The previous proposal to drop python 2.4 support garnered

Re: [Numpy-discussion] site.cfg: Custom BLAS / LAPACK configuration

2012-12-13 Thread Dag Sverre Seljebotn
On 12/07/2012 07:58 PM, Dag Sverre Seljebotn wrote: One way of fixing this I'm sort of itching to do is to create a pylapack project which can iterate quickly on these build issues, run-time selection of LAPACK backend and so on. (With some templates generating some Cython code it shouldn't be

Re: [Numpy-discussion] Support for python 2.4 dropped. Should we drop 2.5 also?

2012-12-13 Thread Benjamin Root
On Thu, Dec 13, 2012 at 12:38 PM, Charles R Harris charlesr.har...@gmail.com wrote: The previous proposal to drop python 2.4 support garnered no opposition. How about dropping support for python 2.5 also? Chuck matplotlib 1.2 supports py2.5. I haven't seen any plan to move off of that for

Re: [Numpy-discussion] Support for python 2.4 dropped. Should we drop 2.5 also?

2012-12-13 Thread Benjamin Root
My apologies... we support 2.6 and above. +1 on dropping 2.5 support. Ben On Thu, Dec 13, 2012 at 1:12 PM, Benjamin Root ben.r...@ou.edu wrote: On Thu, Dec 13, 2012 at 12:38 PM, Charles R Harris charlesr.har...@gmail.com wrote: The previous proposal to drop python 2.4 support garnered no

Re: [Numpy-discussion] Support for python 2.4 dropped. Should we drop 2.5 also?

2012-12-13 Thread David Cournapeau
On Thu, Dec 13, 2012 at 7:12 PM, Benjamin Root ben.r...@ou.edu wrote: On Thu, Dec 13, 2012 at 12:38 PM, Charles R Harris charlesr.har...@gmail.com wrote: The previous proposal to drop python 2.4 support garnered no opposition. How about dropping support for python 2.5 also? Chuck

Re: [Numpy-discussion] site.cfg: Custom BLAS / LAPACK configuration

2012-12-13 Thread David Cournapeau
On Fri, Dec 7, 2012 at 7:58 PM, Dag Sverre Seljebotn d.s.seljeb...@astro.uio.no wrote: One way of fixing this I'm sort of itching to do is to create a pylapack project which can iterate quickly on these build issues, run-time selection of LAPACK backend and so on. (With some templates

Re: [Numpy-discussion] site.cfg: Custom BLAS / LAPACK configuration

2012-12-13 Thread Dag Sverre Seljebotn
On 12/13/2012 07:59 PM, David Cournapeau wrote: On Fri, Dec 7, 2012 at 7:58 PM, Dag Sverre Seljebotn d.s.seljeb...@astro.uio.no wrote: One way of fixing this I'm sort of itching to do is to create a pylapack project which can iterate quickly on these build issues, run-time selection of LAPACK

[Numpy-discussion] Calling LAPACK function dbdsqr()?

2012-12-13 Thread Philip Semanchuk
Hi all, I'm porting some Fortran code that makes use of a number of BLAS and LAPACK functions, including dbdsqr(). I've found all of the functions I need via scipy.linalg.lapack.get_lapack_funcs/get_blas_funcs() except for dbdsqr(). I see that the numpy source code (I looked at numpy-1.6.0b2)

Re: [Numpy-discussion] Calling LAPACK function dbdsqr()?

2012-12-13 Thread Charles R Harris
On Thu, Dec 13, 2012 at 12:26 PM, Philip Semanchuk phi...@semanchuk.comwrote: Hi all, I'm porting some Fortran code that makes use of a number of BLAS and LAPACK functions, including dbdsqr(). I've found all of the functions I need via scipy.linalg.lapack.get_lapack_funcs/get_blas_funcs()

Re: [Numpy-discussion] Calling LAPACK function dbdsqr()?

2012-12-13 Thread Pauli Virtanen
13.12.2012 21:26, Philip Semanchuk kirjoitti: I'm porting some Fortran code that makes use of a number of BLAS and LAPACK functions, including dbdsqr(). I've found all of the functions I need via scipy.linalg.lapack.get_lapack_funcs/get_blas_funcs() except for dbdsqr(). [clip] If you tolerate

Re: [Numpy-discussion] Proposal to drop python 2.4 support in numpy 1.8

2012-12-13 Thread Ralf Gommers
On Thu, Dec 13, 2012 at 6:36 PM, Charles R Harris charlesr.har...@gmail.com wrote: On Thu, Dec 13, 2012 at 10:12 AM, Bradley M. Froehle brad.froe...@gmail.com wrote: Targeting = 2.6 would be preferable to me. Several other packages including IPython, support only Python = 2.6, = 3.2.

Re: [Numpy-discussion] Calling LAPACK function dbdsqr()?

2012-12-13 Thread Philip Semanchuk
On Dec 13, 2012, at 3:03 PM, Pauli Virtanen wrote: 13.12.2012 21:26, Philip Semanchuk kirjoitti: I'm porting some Fortran code that makes use of a number of BLAS and LAPACK functions, including dbdsqr(). I've found all of the functions I need via

Re: [Numpy-discussion] Calling LAPACK function dbdsqr()?

2012-12-13 Thread Philip Semanchuk
On Dec 13, 2012, at 2:47 PM, Charles R Harris wrote: On Thu, Dec 13, 2012 at 12:26 PM, Philip Semanchuk phi...@semanchuk.comwrote: Hi all, I'm porting some Fortran code that makes use of a number of BLAS and LAPACK functions, including dbdsqr(). I've found all of the functions I need

Re: [Numpy-discussion] Support for python 2.4 dropped. Should we drop 2.5 also?

2012-12-13 Thread Chris Barker - NOAA Federal
How about dropping support for python 2.5 also? Im still dumfounded that people are working on projects where they are free to use the latest an greatest numpy, but *have* to use a more-than-four-year-old-python: Python 2.6 (final) was released on October 1st, 2008. so +1 on moving forward!

Re: [Numpy-discussion] ValueError: low level cast function is for unequal type numbers

2012-12-13 Thread Andrew Collette
Hi, the following code using np.object_ data types works with numpy 1.5.1 but fails with 1.6.2. Is this intended or a regression? Other data types, np.float64 for example, seem to work. I am also seeing this problem; there was a change to how string types are handled in h5py 2.1.0 which

Re: [Numpy-discussion] Support for python 2.4 dropped. Should we drop 2.5 also?

2012-12-13 Thread David Cournapeau
On Thu, Dec 13, 2012 at 10:07 PM, Chris Barker - NOAA Federal chris.bar...@noaa.gov wrote: How about dropping support for python 2.5 also? Im still dumfounded that people are working on projects where they are free to use the latest an greatest numpy, but *have* to use a

Re: [Numpy-discussion] ValueError: low level cast function is for unequal type numbers

2012-12-13 Thread Christoph Gohlke
On 12/13/2012 1:57 PM, Andrew Collette wrote: Hi, the following code using np.object_ data types works with numpy 1.5.1 but fails with 1.6.2. Is this intended or a regression? Other data types, np.float64 for example, seem to work. I am also seeing this problem; there was a change to how

Re: [Numpy-discussion] Support for python 2.4 dropped. Should we drop 2.5 also?

2012-12-13 Thread Bradley M. Froehle
Yes, but the point was that since you can live with an older version on Python you can probably live with an older version of NumPy. On Thursday, December 13, 2012, David Cournapeau wrote: Im still dumfounded that people are working on projects where they are free to use the latest an

[Numpy-discussion] Travis failures with no errors

2012-12-13 Thread Ondřej Čertík
Hi, I found these recent weird failures in Travis, but I can't find any problem with the log and all tests pass. Any ideas what is going on? https://travis-ci.org/numpy/numpy/jobs/3570123 https://travis-ci.org/numpy/numpy/jobs/3539549 https://travis-ci.org/numpy/numpy/jobs/3369629 Ondrej

Re: [Numpy-discussion] Support for python 2.4 dropped. Should we drop 2.5 also?

2012-12-13 Thread Chris Barker - NOAA Federal
On Thu, Dec 13, 2012 at 3:01 PM, Bradley M. Froehle brad.froe...@gmail.com wrote: Yes, but the point was that since you can live with an older version on Python you can probably live with an older version of NumPy. exactly -- also: How likely are you to nee the latest and greatest numpy but

[Numpy-discussion] Failure in test_iterator.py at Travis

2012-12-13 Thread Ondřej Čertík
Hi, Another weird bug sometimes happen in numpy/core/tests/test_iterator.py, it looks like this: == FAIL: test_iterator.test_iter_array_cast -- Traceback (most

Re: [Numpy-discussion] Failure in test_iterator.py at Travis

2012-12-13 Thread Charles R Harris
On Thu, Dec 13, 2012 at 7:23 PM, Ondřej Čertík ondrej.cer...@gmail.comwrote: Hi, Another weird bug sometimes happen in numpy/core/tests/test_iterator.py, it looks like this: == FAIL: test_iterator.test_iter_array_cast

Re: [Numpy-discussion] Failure in test_iterator.py at Travis

2012-12-13 Thread Charles R Harris
On Thu, Dec 13, 2012 at 8:04 PM, Charles R Harris charlesr.har...@gmail.com wrote: On Thu, Dec 13, 2012 at 7:23 PM, Ondřej Čertík ondrej.cer...@gmail.comwrote: Hi, Another weird bug sometimes happen in numpy/core/tests/test_iterator.py, it looks like this:

Re: [Numpy-discussion] Failure in test_iterator.py at Travis

2012-12-13 Thread Ondřej Čertík
On Thu, Dec 13, 2012 at 7:16 PM, Charles R Harris charlesr.har...@gmail.com wrote: On Thu, Dec 13, 2012 at 8:04 PM, Charles R Harris charlesr.har...@gmail.com wrote: On Thu, Dec 13, 2012 at 7:23 PM, Ondřej Čertík ondrej.cer...@gmail.com wrote: Hi, Another weird bug sometimes happen in

Re: [Numpy-discussion] Support for python 2.4 dropped. Should we drop 2.5 also?

2012-12-13 Thread Olivier Delalleau
2012/12/13 Chris Barker - NOAA Federal chris.bar...@noaa.gov On Thu, Dec 13, 2012 at 3:01 PM, Bradley M. Froehle brad.froe...@gmail.com wrote: Yes, but the point was that since you can live with an older version on Python you can probably live with an older version of NumPy. exactly --

Re: [Numpy-discussion] Proposal to drop python 2.4 support in numpy 1.8

2012-12-13 Thread Raul Cota
+1 from me For what is worth, we are just moving forward from Python 2.2 / Numeric and are going to 2.6 and it has been rather painful because of the several little details of extensions and other subtleties. I believe we will settle there for a while. For companies like ours, it is a big

[Numpy-discussion] Attaching metadata to dtypes: what's the best way?

2012-12-13 Thread Andrew Collette
Hi all, I have a question for the list sparked by this discussion of a bug in NumPy 1.6.2 and 1.7: http://mail.scipy.org/pipermail/numpy-discussion/2012-December/064682.html and this open issue in h5py: https://code.google.com/p/h5py/issues/detail?id=217 In h5py we need to represent variable

Re: [Numpy-discussion] www.numpy.org home page

2012-12-13 Thread klo
On Thu, 13 Dec 2012 17:35:01 +0100, Travis Oliphant teoliph...@gmail.com wrote: The NumPy home page can still be edited in this repository: g...@github.com:numpy/numpy.org.git. Pull requests are always welcome --- especially pull requests that improve the look and feel of the