Re: [Numpy-discussion] ANN: Numpy 1.8.0 beta 1 release
On Wed, 2013-09-04 at 22:08 -0700, Christoph Gohlke wrote: On 9/1/2013 9:54 AM, Charles R Harris wrote: snip Hello, is this IndexError intentional in numpy 1.8? Matplotlib 1.3 fails some tests because of this. numpy.zeros(1)[[0], :] Traceback (most recent call last): File stdin, line 1, in module IndexError: too many indices With numpy 1.7: numpy.zeros(1)[[0], :] array([ 0.]) Yes certainly is intentional, since you actually do have too many indices (you have one dimension, you can only have one index). That it worked before was a bug. If this is a real problem, maybe we have to temporarily allow it? - Sebastian Christoph ___ NumPy-Discussion mailing list NumPy-Discussion@scipy.org http://mail.scipy.org/mailman/listinfo/numpy-discussion ___ NumPy-Discussion mailing list NumPy-Discussion@scipy.org http://mail.scipy.org/mailman/listinfo/numpy-discussion
Re: [Numpy-discussion] ANN: Numpy 1.8.0 beta 1 release
On 9/5/2013 1:18 AM, Sebastian Berg wrote: On Wed, 2013-09-04 at 22:08 -0700, Christoph Gohlke wrote: On 9/1/2013 9:54 AM, Charles R Harris wrote: snip Hello, is this IndexError intentional in numpy 1.8? Matplotlib 1.3 fails some tests because of this. numpy.zeros(1)[[0], :] Traceback (most recent call last): File stdin, line 1, in module IndexError: too many indices With numpy 1.7: numpy.zeros(1)[[0], :] array([ 0.]) Yes certainly is intentional, since you actually do have too many indices (you have one dimension, you can only have one index). That it worked before was a bug. If this is a real problem, maybe we have to temporarily allow it? - Sebastian Thanks. Not a real problem. It is better to fix matplotlib https://github.com/matplotlib/matplotlib/pull/2383. Christoph ___ NumPy-Discussion mailing list NumPy-Discussion@scipy.org http://mail.scipy.org/mailman/listinfo/numpy-discussion
Re: [Numpy-discussion] ANN: Numpy 1.8.0 beta 1 release
On Wed, Sep 4, 2013 at 1:51 AM, Chris Barker - NOAA Federal chris.bar...@noaa.gov wrote: FWIW, You all may know this already, but a long is 64 bit on most 64 bit platforms, but 32 bit on Windows. The correct solution in this context is to use (s)size_t, intptr_t and ptrdiff_t depending on the use case, not hardcoding the bitwidth. David Can we start using stdint.h and int32_t and friends? -CHB On Sep 3, 2013, at 5:18 PM, Charles R Harris charlesr.har...@gmail.com wrote: On Tue, Sep 3, 2013 at 6:09 PM, Christoph Gohlke cgoh...@uci.edu wrote: On 9/3/2013 4:45 PM, Charles R Harris wrote: On Tue, Sep 3, 2013 at 5:40 PM, Christoph Gohlke cgoh...@uci.edu mailto:cgoh...@uci.edu wrote: On 9/3/2013 2:51 PM, Charles R Harris wrote: On Tue, Sep 3, 2013 at 3:23 PM, Christoph Gohlke cgoh...@uci.edumailto: cgoh...@uci.edu mailto:cgoh...@uci.edu mailto:cgoh...@uci.edu wrote: On 9/1/2013 9:54 AM, Charles R Harris wrote: Hi all, I'm happy to announce the first beta release of Numpy 1.8.0. Please try this beta and report any issues on the numpy-dev mailing list. Source tarballs and release notes can be found at https://sourceforge.net/__projects/numpy/files/NumPy/1.__8.0b1/ https://sourceforge.net/projects/numpy/files/NumPy/1.8.0b1/. The Windows and OS X installers will follow when the infrastructure issues are dealt with. Chuck Hello, I tried numpy-1.8.0.dev-86a6e6c with msvc9 and MKL 11.1 on win-amd64-py2.7. It builds OK but there are 23 test errors and 6 failures (attached). Some 3rd party packages (e.g. scipy, numexpr, pytables, bottleneck, pandas and matplotlib) that were built against numpy-MKL 1.7 fail tests when used with numpy-MKL 1.8. Other packages test OK (e.g. skimage, sklearn, statsmodels, mahotas, pygame). See http://www.lfd.uci.edu/~__gohlke/pythonlibs/tests/__20130902-win-amd64-py2.7-__numpy-1.8.0.dev-86a6e6c/ http://www.lfd.uci.edu/%7E__gohlke/pythonlibs/tests/__20130902-win-amd64-py2.7-__numpy-1.8.0.dev-86a6e6c/ http://www.lfd.uci.edu/%7Egohlke/pythonlibs/tests/20130902-win-amd64-py2.7-numpy-1.8.0.dev-86a6e6c/ compared to http://www.lfd.uci.edu/~__gohlke/pythonlibs/tests/__20130902-win-amd64-py2.7/ http://www.lfd.uci.edu/%7E__gohlke/pythonlibs/tests/__20130902-win-amd64-py2.7/ http://www.lfd.uci.edu/%7Egohlke/pythonlibs/tests/20130902-win-amd64-py2.7/ . I have not looked in more detail or at other Python versions yet. Thanks Christoph, Looks like some work to do. I wonder what is different between windows and linux here? Chuck Looks like the fundamental PyArray_PyIntAsIntp function is broken on 64 bit Windows. 64 bit PyLong values are intermediately stored in a 32 bit C long variable. But maybe I am missing something... https://github.com/numpy/numpy/blob/maintenance/1.8.x/numpy/core/src/multiarray/conversion_utils.c#L729 https://github.com/numpy/numpy/blob/maintenance/1.8.x/numpy/core/src/multiarray/conversion_utils.c#L767 My, that does look suspicious. That function is new in 1.8 I believe. Looks like it needs fixing whatever else it fixes. Chuck In fact, using a npy_longlong instead of npy_long fixes all numpy test errors and failures. But it probably foils the recent optimizations. Great! I think the function is not used for numeric things so I'm not sure what optimizations could be affected. I'll put up a PR and backport it. Chuck ___ NumPy-Discussion mailing list NumPy-Discussion@scipy.org http://mail.scipy.org/mailman/listinfo/numpy-discussion ___ NumPy-Discussion mailing list NumPy-Discussion@scipy.org http://mail.scipy.org/mailman/listinfo/numpy-discussion ___ NumPy-Discussion mailing list NumPy-Discussion@scipy.org http://mail.scipy.org/mailman/listinfo/numpy-discussion
Re: [Numpy-discussion] ANN: Numpy 1.8.0 beta 1 release
Built on fedora linux 19 x86_64 using mkl: build OK using: env ATLAS=/usr/lib64 FFTW=/usr/lib64 BLAS=/usr/lib64 LAPACK=/usr/lib64 CFLAGS=-mtune=native -march=native -O3 LDFLAGS=-Wl,- rpath=/opt/intel/mkl/lib/intel64 python setup.py build and attached site.cfg: == FAIL: test_linalg.test_xerbla -- Traceback (most recent call last): File /usr/lib/python2.7/site-packages/nose/case.py, line 197, in runTest self.test(*self.arg) File /home/nbecker/.local/lib/python2.7/site- packages/numpy/testing/decorators.py, line 146, in skipper_func return f(*args, **kwargs) File /home/nbecker/.local/lib/python2.7/site- packages/numpy/linalg/tests/test_linalg.py, line 925, in test_xerbla assert_(False) File /home/nbecker/.local/lib/python2.7/site- packages/numpy/testing/utils.py, line 44, in assert_ raise AssertionError(msg) AssertionError -- Ran 5271 tests in 57.567s FAILED (KNOWNFAIL=5, SKIP=13, failures=1) nose.result.TextTestResult run=5271 errors=0 failures=1# This file provides configuration information about non-Python dependencies for # numpy.distutils-using packages. Create a file like this called site.cfg next # to your package's setup.py file and fill in the appropriate sections. Not all # packages will use all sections so you should leave out sections that your # package does not use. # To assist automatic installation like easy_install, the user's home directory # will also be checked for the file ~/.numpy-site.cfg . # The format of the file is that of the standard library's ConfigParser module. # # http://www.python.org/doc/current/lib/module-ConfigParser.html # # Each section defines settings that apply to one particular dependency. Some of # the settings are general and apply to nearly any section and are defined here. # Settings specific to a particular section will be defined near their section. # # libraries # Comma-separated list of library names to add to compile the extension # with. Note that these should be just the names, not the filenames. For # example, the file libfoo.so would become simply foo. # libraries = lapack,f77blas,cblas,atlas # # library_dirs # List of directories to add to the library search path when compiling # extensions with this dependency. Use the character given by os.pathsep # to separate the items in the list. Note that this character is known to # vary on some unix-like systems; if a colon does not work, try a comma. # This also applies to include_dirs and src_dirs (see below). # On UN*X-type systems (OS X, most BSD and Linux systems): # library_dirs = /usr/lib:/usr/local/lib # On Windows: # library_dirs = c:\mingw\lib,c:\atlas\lib # On some BSD and Linux systems: # library_dirs = /usr/lib,/usr/local/lib # # include_dirs # List of directories to add to the header file earch path. # include_dirs = /usr/include:/usr/local/include # # src_dirs # List of directories that contain extracted source code for the # dependency. For some dependencies, numpy.distutils will be able to build # them from source if binaries cannot be found. The FORTRAN BLAS and # LAPACK libraries are one example. However, most dependencies are more # complicated and require actual installation that you need to do # yourself. # src_dirs = /home/rkern/src/BLAS_SRC:/home/rkern/src/LAPACK_SRC # # search_static_first # Boolean (one of (0, false, no, off) for False or (1, true, yes, on) for # True) to tell numpy.distutils to prefer static libraries (.a) over # shared libraries (.so). It is turned off by default. # search_static_first = false # Defaults # # The settings given here will apply to all other sections if not overridden. # This is a good place to add general library and include directories like # /usr/local/{lib,include} # [DEFAULT] library_dirs = /usr/lib64 include_dirs = /usr/include # Optimized BLAS and LAPACK # - # Use the blas_opt and lapack_opt sections to give any settings that are # required to link against your chosen BLAS and LAPACK, including the regular # FORTRAN reference BLAS and also ATLAS. Some other sections still exist for # linking against certain optimized libraries (e.g. [atlas], [lapack_atlas]), # however, they are now deprecated and should not be used. # # These are typical configurations for ATLAS (assuming that the library and # include directories have already been set in [DEFAULT]; the include directory # is important for the BLAS C interface): # #[blas_opt] #libraries = f77blas, cblas, atlas # #[lapack_opt] #libraries = lapack, f77blas, cblas, atlas # # If your ATLAS was compiled with pthreads, the
Re: [Numpy-discussion] ANN: Numpy 1.8.0 beta 1 release
On Tue, Sep 3, 2013 at 6:24 PM, Christoph Gohlke cgoh...@uci.edu wrote: The 32 bit build fails two tests (unrelated to the above 64 bit issue): == FAIL: test_invalid (test_errstate.TestErrstate) -- Traceback (most recent call last): File X:\Python27\lib\site-packages\numpy\testing\decorators.py, line 146, in skipper_func return f(*args, **kwargs) File X:\Python27\lib\site-packages\numpy\core\tests\test_errstate.py, line 23, in test_invalid self.fail(Did not raise an invalid error) AssertionError: Did not raise an invalid error == FAIL: simd tests on max/min -- Traceback (most recent call last): File X:\Python27\lib\site-packages\numpy\core\tests\test_umath.py, line 678, in test_minmax_blocked msg=repr(inp) + '\n' + msg) AssertionError: array([ 0., 1., nan, 3., 4., 5., 6., 7., 8., 9., 10.], dtype=float32) unary offset=(0, 0), size=11, dtype=type 'numpy.float32', out of place -- I opened issues for both of these. Christoph, Julian is looking at the second https://github.com/numpy/numpy/issues/3680, could you help him debug the issue? Chuck ___ NumPy-Discussion mailing list NumPy-Discussion@scipy.org http://mail.scipy.org/mailman/listinfo/numpy-discussion
Re: [Numpy-discussion] ANN: Numpy 1.8.0 beta 1 release
On 09/01/2013 10:54 AM, Charles R Harris wrote: Hi all, I'm happy to announce the first beta release of Numpy 1.8.0. Please try this beta and report any issues on the numpy-dev mailing list. Source tarballs and release notes can be found at https://sourceforge.net/projects/numpy/files/NumPy/1.8.0b1/. The Windows and OS X installers will follow when the infrastructure issues are dealt with. Chuck The Fedora packages appear to build fine on F19, F20, and Rawhide. -- Orion Poplawski Technical Manager 303-415-9701 x222 NWRA, Boulder/CoRA Office FAX: 303-415-9702 3380 Mitchell Lane or...@nwra.com Boulder, CO 80301 http://www.nwra.com ___ NumPy-Discussion mailing list NumPy-Discussion@scipy.org http://mail.scipy.org/mailman/listinfo/numpy-discussion
Re: [Numpy-discussion] ANN: Numpy 1.8.0 beta 1 release
On Wed, Sep 4, 2013 at 5:05 PM, Orion Poplawski or...@cora.nwra.com wrote: On 09/01/2013 10:54 AM, Charles R Harris wrote: Hi all, I'm happy to announce the first beta release of Numpy 1.8.0. Please try this beta and report any issues on the numpy-dev mailing list. Source tarballs and release notes can be found at https://sourceforge.net/projects/numpy/files/NumPy/1.8.0b1/. The Windows and OS X installers will follow when the infrastructure issues are dealt with. Chuck The Fedora packages appear to build fine on F19, F20, and Rawhide. snip Thanks for the report. Chuck ___ NumPy-Discussion mailing list NumPy-Discussion@scipy.org http://mail.scipy.org/mailman/listinfo/numpy-discussion
Re: [Numpy-discussion] ANN: Numpy 1.8.0 beta 1 release
On 9/1/2013 9:54 AM, Charles R Harris wrote: Hi all, I'm happy to announce the first beta release of Numpy 1.8.0. Please try this beta and report any issues on the numpy-dev mailing list. Source tarballs and release notes can be found at https://sourceforge.net/projects/numpy/files/NumPy/1.8.0b1/. The Windows and OS X installers will follow when the infrastructure issues are dealt with. Chuck Hello, is this IndexError intentional in numpy 1.8? Matplotlib 1.3 fails some tests because of this. numpy.zeros(1)[[0], :] Traceback (most recent call last): File stdin, line 1, in module IndexError: too many indices With numpy 1.7: numpy.zeros(1)[[0], :] array([ 0.]) Christoph ___ NumPy-Discussion mailing list NumPy-Discussion@scipy.org http://mail.scipy.org/mailman/listinfo/numpy-discussion
Re: [Numpy-discussion] ANN: Numpy 1.8.0 beta 1 release
On 9/1/2013 9:54 AM, Charles R Harris wrote: Hi all, I'm happy to announce the first beta release of Numpy 1.8.0. Please try this beta and report any issues on the numpy-dev mailing list. Source tarballs and release notes can be found at https://sourceforge.net/projects/numpy/files/NumPy/1.8.0b1/. The Windows and OS X installers will follow when the infrastructure issues are dealt with. Chuck Hello, I tried numpy-1.8.0.dev-86a6e6c with msvc9 and MKL 11.1 on win-amd64-py2.7. It builds OK but there are 23 test errors and 6 failures (attached). Some 3rd party packages (e.g. scipy, numexpr, pytables, bottleneck, pandas and matplotlib) that were built against numpy-MKL 1.7 fail tests when used with numpy-MKL 1.8. Other packages test OK (e.g. skimage, sklearn, statsmodels, mahotas, pygame). See http://www.lfd.uci.edu/~gohlke/pythonlibs/tests/20130902-win-amd64-py2.7-numpy-1.8.0.dev-86a6e6c/ compared to http://www.lfd.uci.edu/~gohlke/pythonlibs/tests/20130902-win-amd64-py2.7/. I have not looked in more detail or at other Python versions yet. Christoph
Re: [Numpy-discussion] ANN: Numpy 1.8.0 beta 1 release
On Tue, Sep 3, 2013 at 3:23 PM, Christoph Gohlke cgoh...@uci.edu wrote: On 9/1/2013 9:54 AM, Charles R Harris wrote: Hi all, I'm happy to announce the first beta release of Numpy 1.8.0. Please try this beta and report any issues on the numpy-dev mailing list. Source tarballs and release notes can be found at https://sourceforge.net/**projects/numpy/files/NumPy/1.**8.0b1/https://sourceforge.net/projects/numpy/files/NumPy/1.8.0b1/. The Windows and OS X installers will follow when the infrastructure issues are dealt with. Chuck Hello, I tried numpy-1.8.0.dev-86a6e6c with msvc9 and MKL 11.1 on win-amd64-py2.7. It builds OK but there are 23 test errors and 6 failures (attached). Some 3rd party packages (e.g. scipy, numexpr, pytables, bottleneck, pandas and matplotlib) that were built against numpy-MKL 1.7 fail tests when used with numpy-MKL 1.8. Other packages test OK (e.g. skimage, sklearn, statsmodels, mahotas, pygame). See http://www.lfd.uci.edu/~** gohlke/pythonlibs/tests/**20130902-win-amd64-py2.7-** numpy-1.8.0.dev-86a6e6c/http://www.lfd.uci.edu/~gohlke/pythonlibs/tests/20130902-win-amd64-py2.7-numpy-1.8.0.dev-86a6e6c/ compared to http://www.lfd.uci.edu/~**gohlke/pythonlibs/tests/** 20130902-win-amd64-py2.7/http://www.lfd.uci.edu/~gohlke/pythonlibs/tests/20130902-win-amd64-py2.7/. I have not looked in more detail or at other Python versions yet. Thanks Christoph, Looks like some work to do. I wonder what is different between windows and linux here? Chuck ___ NumPy-Discussion mailing list NumPy-Discussion@scipy.org http://mail.scipy.org/mailman/listinfo/numpy-discussion
Re: [Numpy-discussion] ANN: Numpy 1.8.0 beta 1 release
On Tue, Sep 3, 2013 at 3:23 PM, Christoph Gohlke cgoh...@uci.edu wrote: On 9/1/2013 9:54 AM, Charles R Harris wrote: Hi all, I'm happy to announce the first beta release of Numpy 1.8.0. Please try this beta and report any issues on the numpy-dev mailing list. Source tarballs and release notes can be found at https://sourceforge.net/**projects/numpy/files/NumPy/1.**8.0b1/https://sourceforge.net/projects/numpy/files/NumPy/1.8.0b1/. The Windows and OS X installers will follow when the infrastructure issues are dealt with. Chuck Hello, I tried numpy-1.8.0.dev-86a6e6c with msvc9 and MKL 11.1 on win-amd64-py2.7. It builds OK but there are 23 test errors and 6 failures (attached). Some 3rd party packages (e.g. scipy, numexpr, pytables, bottleneck, pandas and matplotlib) that were built against numpy-MKL 1.7 fail tests when used with numpy-MKL 1.8. Other packages test OK (e.g. skimage, sklearn, statsmodels, mahotas, pygame). See http://www.lfd.uci.edu/~** gohlke/pythonlibs/tests/**20130902-win-amd64-py2.7-** numpy-1.8.0.dev-86a6e6c/http://www.lfd.uci.edu/~gohlke/pythonlibs/tests/20130902-win-amd64-py2.7-numpy-1.8.0.dev-86a6e6c/ compared to http://www.lfd.uci.edu/~**gohlke/pythonlibs/tests/** 20130902-win-amd64-py2.7/http://www.lfd.uci.edu/~gohlke/pythonlibs/tests/20130902-win-amd64-py2.7/. I have not looked in more detail or at other Python versions yet. It's pretty clear that I will need a windows environment to debug this. I have windows 7 running in a virtual machine, and have downloaded the vsc9 express compiler and isos. Do I need to burn those guys to a disk in order to install or is there some windows magic that will let me install them directly from the isos? That done, I assume I can just download python 2.7 for windows, clone the repository, and do the usual python setup.py install thing. Anything I need to be wary about, any pointers? Chuck ___ NumPy-Discussion mailing list NumPy-Discussion@scipy.org http://mail.scipy.org/mailman/listinfo/numpy-discussion
Re: [Numpy-discussion] ANN: Numpy 1.8.0 beta 1 release
On 9/3/2013 2:51 PM, Charles R Harris wrote: On Tue, Sep 3, 2013 at 3:23 PM, Christoph Gohlke cgoh...@uci.edu mailto:cgoh...@uci.edu wrote: On 9/1/2013 9:54 AM, Charles R Harris wrote: Hi all, I'm happy to announce the first beta release of Numpy 1.8.0. Please try this beta and report any issues on the numpy-dev mailing list. Source tarballs and release notes can be found at https://sourceforge.net/__projects/numpy/files/NumPy/1.__8.0b1/ https://sourceforge.net/projects/numpy/files/NumPy/1.8.0b1/. The Windows and OS X installers will follow when the infrastructure issues are dealt with. Chuck Hello, I tried numpy-1.8.0.dev-86a6e6c with msvc9 and MKL 11.1 on win-amd64-py2.7. It builds OK but there are 23 test errors and 6 failures (attached). Some 3rd party packages (e.g. scipy, numexpr, pytables, bottleneck, pandas and matplotlib) that were built against numpy-MKL 1.7 fail tests when used with numpy-MKL 1.8. Other packages test OK (e.g. skimage, sklearn, statsmodels, mahotas, pygame). See http://www.lfd.uci.edu/~__gohlke/pythonlibs/tests/__20130902-win-amd64-py2.7-__numpy-1.8.0.dev-86a6e6c/ http://www.lfd.uci.edu/%7Egohlke/pythonlibs/tests/20130902-win-amd64-py2.7-numpy-1.8.0.dev-86a6e6c/ compared to http://www.lfd.uci.edu/~__gohlke/pythonlibs/tests/__20130902-win-amd64-py2.7/ http://www.lfd.uci.edu/%7Egohlke/pythonlibs/tests/20130902-win-amd64-py2.7/. I have not looked in more detail or at other Python versions yet. Thanks Christoph, Looks like some work to do. I wonder what is different between windows and linux here? Chuck Looks like the fundamental PyArray_PyIntAsIntp function is broken on 64 bit Windows. 64 bit PyLong values are intermediately stored in a 32 bit C long variable. But maybe I am missing something... https://github.com/numpy/numpy/blob/maintenance/1.8.x/numpy/core/src/multiarray/conversion_utils.c#L729 https://github.com/numpy/numpy/blob/maintenance/1.8.x/numpy/core/src/multiarray/conversion_utils.c#L767 Christoph ___ NumPy-Discussion mailing list NumPy-Discussion@scipy.org http://mail.scipy.org/mailman/listinfo/numpy-discussion
Re: [Numpy-discussion] ANN: Numpy 1.8.0 beta 1 release
On Tue, Sep 3, 2013 at 5:40 PM, Christoph Gohlke cgoh...@uci.edu wrote: On 9/3/2013 2:51 PM, Charles R Harris wrote: On Tue, Sep 3, 2013 at 3:23 PM, Christoph Gohlke cgoh...@uci.edu mailto:cgoh...@uci.edu wrote: On 9/1/2013 9:54 AM, Charles R Harris wrote: Hi all, I'm happy to announce the first beta release of Numpy 1.8.0. Please try this beta and report any issues on the numpy-dev mailing list. Source tarballs and release notes can be found at https://sourceforge.net/__projects/numpy/files/NumPy/1.__8.0b1/ https://sourceforge.net/projects/numpy/files/NumPy/1.8.0b1/. The Windows and OS X installers will follow when the infrastructure issues are dealt with. Chuck Hello, I tried numpy-1.8.0.dev-86a6e6c with msvc9 and MKL 11.1 on win-amd64-py2.7. It builds OK but there are 23 test errors and 6 failures (attached). Some 3rd party packages (e.g. scipy, numexpr, pytables, bottleneck, pandas and matplotlib) that were built against numpy-MKL 1.7 fail tests when used with numpy-MKL 1.8. Other packages test OK (e.g. skimage, sklearn, statsmodels, mahotas, pygame). See http://www.lfd.uci.edu/~__gohlke/pythonlibs/tests/__20130902-win-amd64-py2.7-__numpy-1.8.0.dev-86a6e6c/ http://www.lfd.uci.edu/%7Egohlke/pythonlibs/tests/20130902-win-amd64-py2.7-numpy-1.8.0.dev-86a6e6c/ compared to http://www.lfd.uci.edu/~__gohlke/pythonlibs/tests/__20130902-win-amd64-py2.7/ http://www.lfd.uci.edu/%7Egohlke/pythonlibs/tests/20130902-win-amd64-py2.7/ . I have not looked in more detail or at other Python versions yet. Thanks Christoph, Looks like some work to do. I wonder what is different between windows and linux here? Chuck Looks like the fundamental PyArray_PyIntAsIntp function is broken on 64 bit Windows. 64 bit PyLong values are intermediately stored in a 32 bit C long variable. But maybe I am missing something... https://github.com/numpy/numpy/blob/maintenance/1.8.x/numpy/core/src/multiarray/conversion_utils.c#L729 https://github.com/numpy/numpy/blob/maintenance/1.8.x/numpy/core/src/multiarray/conversion_utils.c#L767 My, that does look suspicious. That function is new in 1.8 I believe. Looks like it needs fixing whatever else it fixes. Chuck ___ NumPy-Discussion mailing list NumPy-Discussion@scipy.org http://mail.scipy.org/mailman/listinfo/numpy-discussion
Re: [Numpy-discussion] ANN: Numpy 1.8.0 beta 1 release
On 9/3/2013 4:32 PM, Charles R Harris wrote: On Tue, Sep 3, 2013 at 3:23 PM, Christoph Gohlke cgoh...@uci.edu mailto:cgoh...@uci.edu wrote: On 9/1/2013 9:54 AM, Charles R Harris wrote: Hi all, I'm happy to announce the first beta release of Numpy 1.8.0. Please try this beta and report any issues on the numpy-dev mailing list. Source tarballs and release notes can be found at https://sourceforge.net/__projects/numpy/files/NumPy/1.__8.0b1/ https://sourceforge.net/projects/numpy/files/NumPy/1.8.0b1/. The Windows and OS X installers will follow when the infrastructure issues are dealt with. Chuck Hello, I tried numpy-1.8.0.dev-86a6e6c with msvc9 and MKL 11.1 on win-amd64-py2.7. It builds OK but there are 23 test errors and 6 failures (attached). Some 3rd party packages (e.g. scipy, numexpr, pytables, bottleneck, pandas and matplotlib) that were built against numpy-MKL 1.7 fail tests when used with numpy-MKL 1.8. Other packages test OK (e.g. skimage, sklearn, statsmodels, mahotas, pygame). See http://www.lfd.uci.edu/~__gohlke/pythonlibs/tests/__20130902-win-amd64-py2.7-__numpy-1.8.0.dev-86a6e6c/ http://www.lfd.uci.edu/%7Egohlke/pythonlibs/tests/20130902-win-amd64-py2.7-numpy-1.8.0.dev-86a6e6c/ compared to http://www.lfd.uci.edu/~__gohlke/pythonlibs/tests/__20130902-win-amd64-py2.7/ http://www.lfd.uci.edu/%7Egohlke/pythonlibs/tests/20130902-win-amd64-py2.7/. I have not looked in more detail or at other Python versions yet. It's pretty clear that I will need a windows environment to debug this. I have windows 7 running in a virtual machine, and have downloaded the vsc9 express compiler and isos. Do I need to burn those guys to a disk in order to install or is there some windows magic that will let me install them directly from the isos? That done, I assume I can just download python 2.7 for windows, clone the repository, and do the usual python setup.py install thing. Anything I need to be wary about, any pointers? Chuck I would not recommend the VS Express version. Instead use the Microsoft Windows SDK for Windows 7 and .NET Framework 3.5 SP1 http://www.microsoft.com/en-us/download/details.aspx?id=3138, which contains compatible 32 and 64 bit compilers for Python 2.6 to 3.2. Use the web installer or mount the ISO with VirtualCloneDrive http://www.slysoft.com/en/virtual-clonedrive.html. Then, on a command prompt in the numpy source directory type (not tested, but should work for 64 bit Python 2.7): setlocal EnableDelayedExpansion call %ProgramFiles%\Microsoft SDKs\Windows\v7.0\Bin\SetEnv.Cmd /Release /x64 /vista set DISTUTILS_USE_SDK=1 C:\Python27\python.exe setup.py build Christoph ___ NumPy-Discussion mailing list NumPy-Discussion@scipy.org http://mail.scipy.org/mailman/listinfo/numpy-discussion
Re: [Numpy-discussion] ANN: Numpy 1.8.0 beta 1 release
On Tue, Sep 3, 2013 at 5:45 PM, Charles R Harris charlesr.har...@gmail.comwrote: On Tue, Sep 3, 2013 at 5:40 PM, Christoph Gohlke cgoh...@uci.edu wrote: On 9/3/2013 2:51 PM, Charles R Harris wrote: On Tue, Sep 3, 2013 at 3:23 PM, Christoph Gohlke cgoh...@uci.edu mailto:cgoh...@uci.edu wrote: On 9/1/2013 9:54 AM, Charles R Harris wrote: Hi all, I'm happy to announce the first beta release of Numpy 1.8.0. Please try this beta and report any issues on the numpy-dev mailing list. Source tarballs and release notes can be found at https://sourceforge.net/__projects/numpy/files/NumPy/1.__8.0b1/ https://sourceforge.net/projects/numpy/files/NumPy/1.8.0b1/. The Windows and OS X installers will follow when the infrastructure issues are dealt with. Chuck Hello, I tried numpy-1.8.0.dev-86a6e6c with msvc9 and MKL 11.1 on win-amd64-py2.7. It builds OK but there are 23 test errors and 6 failures (attached). Some 3rd party packages (e.g. scipy, numexpr, pytables, bottleneck, pandas and matplotlib) that were built against numpy-MKL 1.7 fail tests when used with numpy-MKL 1.8. Other packages test OK (e.g. skimage, sklearn, statsmodels, mahotas, pygame). See http://www.lfd.uci.edu/~__gohlke/pythonlibs/tests/__20130902-win-amd64-py2.7-__numpy-1.8.0.dev-86a6e6c/ http://www.lfd.uci.edu/%7Egohlke/pythonlibs/tests/20130902-win-amd64-py2.7-numpy-1.8.0.dev-86a6e6c/ compared to http://www.lfd.uci.edu/~__gohlke/pythonlibs/tests/__20130902-win-amd64-py2.7/ http://www.lfd.uci.edu/%7Egohlke/pythonlibs/tests/20130902-win-amd64-py2.7/ . I have not looked in more detail or at other Python versions yet. Thanks Christoph, Looks like some work to do. I wonder what is different between windows and linux here? Chuck Looks like the fundamental PyArray_PyIntAsIntp function is broken on 64 bit Windows. 64 bit PyLong values are intermediately stored in a 32 bit C long variable. But maybe I am missing something... https://github.com/numpy/numpy/blob/maintenance/1.8.x/numpy/core/src/multiarray/conversion_utils.c#L729 https://github.com/numpy/numpy/blob/maintenance/1.8.x/numpy/core/src/multiarray/conversion_utils.c#L767 My, that does look suspicious. That function is new in 1.8 I believe. Looks like it needs fixing whatever else it fixes. BTW, do the tests pass with a 32 build? Chuck ___ NumPy-Discussion mailing list NumPy-Discussion@scipy.org http://mail.scipy.org/mailman/listinfo/numpy-discussion
Re: [Numpy-discussion] ANN: Numpy 1.8.0 beta 1 release
On 9/3/2013 4:45 PM, Charles R Harris wrote: On Tue, Sep 3, 2013 at 5:40 PM, Christoph Gohlke cgoh...@uci.edu mailto:cgoh...@uci.edu wrote: On 9/3/2013 2:51 PM, Charles R Harris wrote: On Tue, Sep 3, 2013 at 3:23 PM, Christoph Gohlke cgoh...@uci.edu mailto:cgoh...@uci.edu mailto:cgoh...@uci.edu mailto:cgoh...@uci.edu wrote: On 9/1/2013 9:54 AM, Charles R Harris wrote: Hi all, I'm happy to announce the first beta release of Numpy 1.8.0. Please try this beta and report any issues on the numpy-dev mailing list. Source tarballs and release notes can be found at https://sourceforge.net/__projects/numpy/files/NumPy/1.__8.0b1/ https://sourceforge.net/projects/numpy/files/NumPy/1.8.0b1/. The Windows and OS X installers will follow when the infrastructure issues are dealt with. Chuck Hello, I tried numpy-1.8.0.dev-86a6e6c with msvc9 and MKL 11.1 on win-amd64-py2.7. It builds OK but there are 23 test errors and 6 failures (attached). Some 3rd party packages (e.g. scipy, numexpr, pytables, bottleneck, pandas and matplotlib) that were built against numpy-MKL 1.7 fail tests when used with numpy-MKL 1.8. Other packages test OK (e.g. skimage, sklearn, statsmodels, mahotas, pygame). See http://www.lfd.uci.edu/~__gohlke/pythonlibs/tests/__20130902-win-amd64-py2.7-__numpy-1.8.0.dev-86a6e6c/ http://www.lfd.uci.edu/%7E__gohlke/pythonlibs/tests/__20130902-win-amd64-py2.7-__numpy-1.8.0.dev-86a6e6c/ http://www.lfd.uci.edu/%7Egohlke/pythonlibs/tests/20130902-win-amd64-py2.7-numpy-1.8.0.dev-86a6e6c/ compared to http://www.lfd.uci.edu/~__gohlke/pythonlibs/tests/__20130902-win-amd64-py2.7/ http://www.lfd.uci.edu/%7E__gohlke/pythonlibs/tests/__20130902-win-amd64-py2.7/ http://www.lfd.uci.edu/%7Egohlke/pythonlibs/tests/20130902-win-amd64-py2.7/. I have not looked in more detail or at other Python versions yet. Thanks Christoph, Looks like some work to do. I wonder what is different between windows and linux here? Chuck Looks like the fundamental PyArray_PyIntAsIntp function is broken on 64 bit Windows. 64 bit PyLong values are intermediately stored in a 32 bit C long variable. But maybe I am missing something... https://github.com/numpy/numpy/blob/maintenance/1.8.x/numpy/core/src/multiarray/conversion_utils.c#L729 https://github.com/numpy/numpy/blob/maintenance/1.8.x/numpy/core/src/multiarray/conversion_utils.c#L767 My, that does look suspicious. That function is new in 1.8 I believe. Looks like it needs fixing whatever else it fixes. Chuck In fact, using a npy_longlong instead of npy_long fixes all numpy test errors and failures. But it probably foils the recent optimizations. Christoph ___ NumPy-Discussion mailing list NumPy-Discussion@scipy.org http://mail.scipy.org/mailman/listinfo/numpy-discussion
Re: [Numpy-discussion] ANN: Numpy 1.8.0 beta 1 release
On Tue, Sep 3, 2013 at 6:09 PM, Christoph Gohlke cgoh...@uci.edu wrote: On 9/3/2013 4:45 PM, Charles R Harris wrote: On Tue, Sep 3, 2013 at 5:40 PM, Christoph Gohlke cgoh...@uci.edu mailto:cgoh...@uci.edu wrote: On 9/3/2013 2:51 PM, Charles R Harris wrote: On Tue, Sep 3, 2013 at 3:23 PM, Christoph Gohlke cgoh...@uci.edumailto: cgoh...@uci.edu mailto:cgoh...@uci.edu mailto:cgoh...@uci.edu wrote: On 9/1/2013 9:54 AM, Charles R Harris wrote: Hi all, I'm happy to announce the first beta release of Numpy 1.8.0. Please try this beta and report any issues on the numpy-dev mailing list. Source tarballs and release notes can be found at https://sourceforge.net/__projects/numpy/files/NumPy/1.__8.0b1/ https://sourceforge.net/projects/numpy/files/NumPy/1.8.0b1/. The Windows and OS X installers will follow when the infrastructure issues are dealt with. Chuck Hello, I tried numpy-1.8.0.dev-86a6e6c with msvc9 and MKL 11.1 on win-amd64-py2.7. It builds OK but there are 23 test errors and 6 failures (attached). Some 3rd party packages (e.g. scipy, numexpr, pytables, bottleneck, pandas and matplotlib) that were built against numpy-MKL 1.7 fail tests when used with numpy-MKL 1.8. Other packages test OK (e.g. skimage, sklearn, statsmodels, mahotas, pygame). See http://www.lfd.uci.edu/~__gohlke/pythonlibs/tests/__20130902-win-amd64-py2.7-__numpy-1.8.0.dev-86a6e6c/ http://www.lfd.uci.edu/%7E__gohlke/pythonlibs/tests/__20130902-win-amd64-py2.7-__numpy-1.8.0.dev-86a6e6c/ http://www.lfd.uci.edu/%7Egohlke/pythonlibs/tests/20130902-win-amd64-py2.7-numpy-1.8.0.dev-86a6e6c/ compared to http://www.lfd.uci.edu/~__gohlke/pythonlibs/tests/__20130902-win-amd64-py2.7/ http://www.lfd.uci.edu/%7E__gohlke/pythonlibs/tests/__20130902-win-amd64-py2.7/ http://www.lfd.uci.edu/%7Egohlke/pythonlibs/tests/20130902-win-amd64-py2.7/ . I have not looked in more detail or at other Python versions yet. Thanks Christoph, Looks like some work to do. I wonder what is different between windows and linux here? Chuck Looks like the fundamental PyArray_PyIntAsIntp function is broken on 64 bit Windows. 64 bit PyLong values are intermediately stored in a 32 bit C long variable. But maybe I am missing something... https://github.com/numpy/numpy/blob/maintenance/1.8.x/numpy/core/src/multiarray/conversion_utils.c#L729 https://github.com/numpy/numpy/blob/maintenance/1.8.x/numpy/core/src/multiarray/conversion_utils.c#L767 My, that does look suspicious. That function is new in 1.8 I believe. Looks like it needs fixing whatever else it fixes. Chuck In fact, using a npy_longlong instead of npy_long fixes all numpy test errors and failures. But it probably foils the recent optimizations. Great! I think the function is not used for numeric things so I'm not sure what optimizations could be affected. I'll put up a PR and backport it. Chuck ___ NumPy-Discussion mailing list NumPy-Discussion@scipy.org http://mail.scipy.org/mailman/listinfo/numpy-discussion
Re: [Numpy-discussion] ANN: Numpy 1.8.0 beta 1 release
On 9/3/2013 4:52 PM, Charles R Harris wrote: On Tue, Sep 3, 2013 at 5:45 PM, Charles R Harris charlesr.har...@gmail.com mailto:charlesr.har...@gmail.com wrote: On Tue, Sep 3, 2013 at 5:40 PM, Christoph Gohlke cgoh...@uci.edu mailto:cgoh...@uci.edu wrote: On 9/3/2013 2:51 PM, Charles R Harris wrote: On Tue, Sep 3, 2013 at 3:23 PM, Christoph Gohlke cgoh...@uci.edu mailto:cgoh...@uci.edu mailto:cgoh...@uci.edu mailto:cgoh...@uci.edu wrote: On 9/1/2013 9:54 AM, Charles R Harris wrote: Hi all, I'm happy to announce the first beta release of Numpy 1.8.0. Please try this beta and report any issues on the numpy-dev mailing list. Source tarballs and release notes can be found at https://sourceforge.net/__projects/numpy/files/NumPy/1.__8.0b1/ https://sourceforge.net/projects/numpy/files/NumPy/1.8.0b1/. The Windows and OS X installers will follow when the infrastructure issues are dealt with. Chuck Hello, I tried numpy-1.8.0.dev-86a6e6c with msvc9 and MKL 11.1 on win-amd64-py2.7. It builds OK but there are 23 test errors and 6 failures (attached). Some 3rd party packages (e.g. scipy, numexpr, pytables, bottleneck, pandas and matplotlib) that were built against numpy-MKL 1.7 fail tests when used with numpy-MKL 1.8. Other packages test OK (e.g. skimage, sklearn, statsmodels, mahotas, pygame). See http://www.lfd.uci.edu/~__gohlke/pythonlibs/tests/__20130902-win-amd64-py2.7-__numpy-1.8.0.dev-86a6e6c/ http://www.lfd.uci.edu/%7E__gohlke/pythonlibs/tests/__20130902-win-amd64-py2.7-__numpy-1.8.0.dev-86a6e6c/ http://www.lfd.uci.edu/%7Egohlke/pythonlibs/tests/20130902-win-amd64-py2.7-numpy-1.8.0.dev-86a6e6c/ compared to http://www.lfd.uci.edu/~__gohlke/pythonlibs/tests/__20130902-win-amd64-py2.7/ http://www.lfd.uci.edu/%7E__gohlke/pythonlibs/tests/__20130902-win-amd64-py2.7/ http://www.lfd.uci.edu/%7Egohlke/pythonlibs/tests/20130902-win-amd64-py2.7/. I have not looked in more detail or at other Python versions yet. Thanks Christoph, Looks like some work to do. I wonder what is different between windows and linux here? Chuck Looks like the fundamental PyArray_PyIntAsIntp function is broken on 64 bit Windows. 64 bit PyLong values are intermediately stored in a 32 bit C long variable. But maybe I am missing something... https://github.com/numpy/numpy/blob/maintenance/1.8.x/numpy/core/src/multiarray/conversion_utils.c#L729 https://github.com/numpy/numpy/blob/maintenance/1.8.x/numpy/core/src/multiarray/conversion_utils.c#L767 My, that does look suspicious. That function is new in 1.8 I believe. Looks like it needs fixing whatever else it fixes. BTW, do the tests pass with a 32 build? Chuck The 32 bit build fails two tests (unrelated to the above 64 bit issue): == FAIL: test_invalid (test_errstate.TestErrstate) -- Traceback (most recent call last): File X:\Python27\lib\site-packages\numpy\testing\decorators.py, line 146, in skipper_func return f(*args, **kwargs) File X:\Python27\lib\site-packages\numpy\core\tests\test_errstate.py, line 23, in test_invalid self.fail(Did not raise an invalid error) AssertionError: Did not raise an invalid error == FAIL: simd tests on max/min -- Traceback (most recent call last): File X:\Python27\lib\site-packages\numpy\core\tests\test_umath.py, line 678, in test_minmax_blocked msg=repr(inp) + '\n' + msg) AssertionError: array([ 0., 1., nan, 3., 4., 5., 6., 7., 8., 9., 10.], dtype=float32) unary offset=(0, 0), size=11, dtype=type 'numpy.float32', out of place -- Christoph ___ NumPy-Discussion mailing list NumPy-Discussion@scipy.org http://mail.scipy.org/mailman/listinfo/numpy-discussion
Re: [Numpy-discussion] ANN: Numpy 1.8.0 beta 1 release
FWIW, You all may know this already, but a long is 64 bit on most 64 bit platforms, but 32 bit on Windows. Can we start using stdint.h and int32_t and friends? -CHB On Sep 3, 2013, at 5:18 PM, Charles R Harris charlesr.har...@gmail.com wrote: On Tue, Sep 3, 2013 at 6:09 PM, Christoph Gohlke cgoh...@uci.edu wrote: On 9/3/2013 4:45 PM, Charles R Harris wrote: On Tue, Sep 3, 2013 at 5:40 PM, Christoph Gohlke cgoh...@uci.edu mailto:cgoh...@uci.edu wrote: On 9/3/2013 2:51 PM, Charles R Harris wrote: On Tue, Sep 3, 2013 at 3:23 PM, Christoph Gohlke cgoh...@uci.edumailto: cgoh...@uci.edu mailto:cgoh...@uci.edu mailto:cgoh...@uci.edu wrote: On 9/1/2013 9:54 AM, Charles R Harris wrote: Hi all, I'm happy to announce the first beta release of Numpy 1.8.0. Please try this beta and report any issues on the numpy-dev mailing list. Source tarballs and release notes can be found at https://sourceforge.net/__projects/numpy/files/NumPy/1.__8.0b1/ https://sourceforge.net/projects/numpy/files/NumPy/1.8.0b1/. The Windows and OS X installers will follow when the infrastructure issues are dealt with. Chuck Hello, I tried numpy-1.8.0.dev-86a6e6c with msvc9 and MKL 11.1 on win-amd64-py2.7. It builds OK but there are 23 test errors and 6 failures (attached). Some 3rd party packages (e.g. scipy, numexpr, pytables, bottleneck, pandas and matplotlib) that were built against numpy-MKL 1.7 fail tests when used with numpy-MKL 1.8. Other packages test OK (e.g. skimage, sklearn, statsmodels, mahotas, pygame). See http://www.lfd.uci.edu/~__gohlke/pythonlibs/tests/__20130902-win-amd64-py2.7-__numpy-1.8.0.dev-86a6e6c/ http://www.lfd.uci.edu/%7E__gohlke/pythonlibs/tests/__20130902-win-amd64-py2.7-__numpy-1.8.0.dev-86a6e6c/ http://www.lfd.uci.edu/%7Egohlke/pythonlibs/tests/20130902-win-amd64-py2.7-numpy-1.8.0.dev-86a6e6c/ compared to http://www.lfd.uci.edu/~__gohlke/pythonlibs/tests/__20130902-win-amd64-py2.7/ http://www.lfd.uci.edu/%7E__gohlke/pythonlibs/tests/__20130902-win-amd64-py2.7/ http://www.lfd.uci.edu/%7Egohlke/pythonlibs/tests/20130902-win-amd64-py2.7/ . I have not looked in more detail or at other Python versions yet. Thanks Christoph, Looks like some work to do. I wonder what is different between windows and linux here? Chuck Looks like the fundamental PyArray_PyIntAsIntp function is broken on 64 bit Windows. 64 bit PyLong values are intermediately stored in a 32 bit C long variable. But maybe I am missing something... https://github.com/numpy/numpy/blob/maintenance/1.8.x/numpy/core/src/multiarray/conversion_utils.c#L729 https://github.com/numpy/numpy/blob/maintenance/1.8.x/numpy/core/src/multiarray/conversion_utils.c#L767 My, that does look suspicious. That function is new in 1.8 I believe. Looks like it needs fixing whatever else it fixes. Chuck In fact, using a npy_longlong instead of npy_long fixes all numpy test errors and failures. But it probably foils the recent optimizations. Great! I think the function is not used for numeric things so I'm not sure what optimizations could be affected. I'll put up a PR and backport it. Chuck ___ NumPy-Discussion mailing list NumPy-Discussion@scipy.org http://mail.scipy.org/mailman/listinfo/numpy-discussion ___ NumPy-Discussion mailing list NumPy-Discussion@scipy.org http://mail.scipy.org/mailman/listinfo/numpy-discussion
Re: [Numpy-discussion] ANN: Numpy 1.8.0 beta 1 release
On Tue, Sep 3, 2013 at 6:18 PM, Charles R Harris charlesr.har...@gmail.comwrote: On Tue, Sep 3, 2013 at 6:09 PM, Christoph Gohlke cgoh...@uci.edu wrote: On 9/3/2013 4:45 PM, Charles R Harris wrote: On Tue, Sep 3, 2013 at 5:40 PM, Christoph Gohlke cgoh...@uci.edu mailto:cgoh...@uci.edu wrote: On 9/3/2013 2:51 PM, Charles R Harris wrote: On Tue, Sep 3, 2013 at 3:23 PM, Christoph Gohlke cgoh...@uci.edumailto: cgoh...@uci.edu mailto:cgoh...@uci.edu mailto:cgoh...@uci.edu wrote: On 9/1/2013 9:54 AM, Charles R Harris wrote: Hi all, I'm happy to announce the first beta release of Numpy 1.8.0. Please try this beta and report any issues on the numpy-dev mailing list. Source tarballs and release notes can be found at https://sourceforge.net/__projects/numpy/files/NumPy/1.__8.0b1/ https://sourceforge.net/projects/numpy/files/NumPy/1.8.0b1/. The Windows and OS X installers will follow when the infrastructure issues are dealt with. Chuck Hello, I tried numpy-1.8.0.dev-86a6e6c with msvc9 and MKL 11.1 on win-amd64-py2.7. It builds OK but there are 23 test errors and 6 failures (attached). Some 3rd party packages (e.g. scipy, numexpr, pytables, bottleneck, pandas and matplotlib) that were built against numpy-MKL 1.7 fail tests when used with numpy-MKL 1.8. Other packages test OK (e.g. skimage, sklearn, statsmodels, mahotas, pygame). See http://www.lfd.uci.edu/~__gohlke/pythonlibs/tests/__20130902-win-amd64-py2.7-__numpy-1.8.0.dev-86a6e6c/ http://www.lfd.uci.edu/%7E__gohlke/pythonlibs/tests/__20130902-win-amd64-py2.7-__numpy-1.8.0.dev-86a6e6c/ http://www.lfd.uci.edu/%7Egohlke/pythonlibs/tests/20130902-win-amd64-py2.7-numpy-1.8.0.dev-86a6e6c/ compared to http://www.lfd.uci.edu/~__gohlke/pythonlibs/tests/__20130902-win-amd64-py2.7/ http://www.lfd.uci.edu/%7E__gohlke/pythonlibs/tests/__20130902-win-amd64-py2.7/ http://www.lfd.uci.edu/%7Egohlke/pythonlibs/tests/20130902-win-amd64-py2.7/ . I have not looked in more detail or at other Python versions yet. Thanks Christoph, Looks like some work to do. I wonder what is different between windows and linux here? Chuck Looks like the fundamental PyArray_PyIntAsIntp function is broken on 64 bit Windows. 64 bit PyLong values are intermediately stored in a 32 bit C long variable. But maybe I am missing something... https://github.com/numpy/numpy/blob/maintenance/1.8.x/numpy/core/src/multiarray/conversion_utils.c#L729 https://github.com/numpy/numpy/blob/maintenance/1.8.x/numpy/core/src/multiarray/conversion_utils.c#L767 My, that does look suspicious. That function is new in 1.8 I believe. Looks like it needs fixing whatever else it fixes. Chuck In fact, using a npy_longlong instead of npy_long fixes all numpy test errors and failures. But it probably foils the recent optimizations. Great! I think the function is not used for numeric things so I'm not sure what optimizations could be affected. I'll put up a PR and backport it. Looks like there are several errors in that function. Chuck ___ NumPy-Discussion mailing list NumPy-Discussion@scipy.org http://mail.scipy.org/mailman/listinfo/numpy-discussion
[Numpy-discussion] ANN: Numpy 1.8.0 beta 1 release
Hi all, I'm happy to announce the first beta release of Numpy 1.8.0. Please try this beta and report any issues on the numpy-dev mailing list. Source tarballs and release notes can be found at https://sourceforge.net/projects/numpy/files/NumPy/1.8.0b1/. The Windows and OS X installers will follow when the infrastructure issues are dealt with. Chuck ___ NumPy-Discussion mailing list NumPy-Discussion@scipy.org http://mail.scipy.org/mailman/listinfo/numpy-discussion
Re: [Numpy-discussion] ANN: Numpy 1.8.0 beta 1 release
On 1 September 2013 18:54, Charles R Harris charlesr.har...@gmail.comwrote: I'm happy to announce the first beta release of Numpy 1.8.0. Please try this beta and report any issues on the numpy-dev mailing list. In an old thread there was discussion about adding minmax and sincos; is there a plan for implementing these? ___ NumPy-Discussion mailing list NumPy-Discussion@scipy.org http://mail.scipy.org/mailman/listinfo/numpy-discussion
Re: [Numpy-discussion] ANN: Numpy 1.8.0 beta 1 release
On Sun, Sep 1, 2013 at 11:15 AM, Daπid davidmen...@gmail.com wrote: On 1 September 2013 18:54, Charles R Harris charlesr.har...@gmail.comwrote: I'm happy to announce the first beta release of Numpy 1.8.0. Please try this beta and report any issues on the numpy-dev mailing list. In an old thread there was discussion about adding minmax and sincos; is there a plan for implementing these? That would be for 1.9, you should open a new thread for that question. I think a good argument can be made for both. Another pair that might be useful would be stdmean (or a better name). Chuck ___ NumPy-Discussion mailing list NumPy-Discussion@scipy.org http://mail.scipy.org/mailman/listinfo/numpy-discussion