From noreply at github.com Wed Feb 1 15:58:07 2017 From: noreply at github.com (GitHub) Date: Wed, 01 Feb 2017 12:58:07 -0800 Subject: [Numpy-svn] [numpy/numpy] 7927b3: BUG Ensure that operations on MaskedArray return a... Message-ID: <58924bdf6ab77_4373fa61e2d7130606b3@hookshot-fe1-cp1-prd.iad.github.net.mail> Branch: refs/heads/master Home: https://github.com/numpy/numpy Commit: 7927b3cb4b57e79bf6b1b8a723583295fc0398eb https://github.com/numpy/numpy/commit/7927b3cb4b57e79bf6b1b8a723583295fc0398eb Author: Marten van Kerkwijk Date: 2017-02-01 (Wed, 01 Feb 2017) Changed paths: M numpy/ma/core.py M numpy/ma/tests/test_core.py Log Message: ----------- BUG Ensure that operations on MaskedArray return any output given. Without this commit, after an operation like ``` a = np.ma.MaskedArray([1., 2., 3.]) b = np.add(a, 1., out=a) ``` one would have `b is not a`. With this PR, it is guaranteed that `b is a`. Commit: a12a171dc5b001bce0c3a8864f4ff3c91e651a5f https://github.com/numpy/numpy/commit/a12a171dc5b001bce0c3a8864f4ff3c91e651a5f Author: ahaldane Date: 2017-02-01 (Wed, 01 Feb 2017) Changed paths: M numpy/ma/core.py M numpy/ma/tests/test_core.py Log Message: ----------- Merge pull request #8416 from mhvk/ma/ensure-given-output-is-returned BUG operations involving MaskedArray with output given do not return output Compare: https://github.com/numpy/numpy/compare/bd0fe0aa2159...a12a171dc5b0 From noreply at github.com Wed Feb 1 18:35:39 2017 From: noreply at github.com (GitHub) Date: Wed, 01 Feb 2017 15:35:39 -0800 Subject: [Numpy-svn] [numpy/numpy] 169545: Fixing docstring error in polyvander2d Message-ID: <589270cb2eed0_2dba63fce80edf13c1009f7@hookshot-fe-6dbb0c4.cp1-iad.github.net.mail> Branch: refs/heads/master Home: https://github.com/numpy/numpy Commit: 1695458be97d0b1eb6257b5e2f21381427ba8211 https://github.com/numpy/numpy/commit/1695458be97d0b1eb6257b5e2f21381427ba8211 Author: Tom Boyd Date: 2017-02-01 (Wed, 01 Feb 2017) Changed paths: M numpy/polynomial/polynomial.py Log Message: ----------- Fixing docstring error in polyvander2d Commit: 9bd836ac8020d79e4355909797a6b9e0bef5283c https://github.com/numpy/numpy/commit/9bd836ac8020d79e4355909797a6b9e0bef5283c Author: Tom Boyd Date: 2017-02-01 (Wed, 01 Feb 2017) Changed paths: M numpy/polynomial/chebyshev.py M numpy/polynomial/hermite.py M numpy/polynomial/hermite_e.py M numpy/polynomial/laguerre.py M numpy/polynomial/legendre.py Log Message: ----------- Applied same fix as 1695458be to remaining 5 polynomial types - Fixes documentation of polynomial types `*vander2d()` methods to give the correct last index of the pseudo-Vandermonde matrix returned expressed in terms of x and y. Commit: 2aa36e94e9f683afdf9ec015c41f94be3bd4b38a https://github.com/numpy/numpy/commit/2aa36e94e9f683afdf9ec015c41f94be3bd4b38a Author: Charles Harris Date: 2017-02-01 (Wed, 01 Feb 2017) Changed paths: M numpy/polynomial/chebyshev.py M numpy/polynomial/hermite.py M numpy/polynomial/hermite_e.py M numpy/polynomial/laguerre.py M numpy/polynomial/legendre.py M numpy/polynomial/polynomial.py Log Message: ----------- Merge pull request #8555 from pezcore/8554-polyvander2d-doc-bug Fixing docstring error in polyvander2d Compare: https://github.com/numpy/numpy/compare/a12a171dc5b0...2aa36e94e9f6 From noreply at github.com Fri Feb 3 11:51:04 2017 From: noreply at github.com (GitHub) Date: Fri, 03 Feb 2017 08:51:04 -0800 Subject: [Numpy-svn] [numpy/numpy] eefc4b: 8552 doc clip none (#8558) Message-ID: <5894b4f8c2ad0_3dcf3fdaf98a7c30505b4@hookshot-fe3-cp1-prd.iad.github.net.mail> Branch: refs/heads/master Home: https://github.com/numpy/numpy Commit: eefc4b8bea043a324927e40d998ed760799f0b82 https://github.com/numpy/numpy/commit/eefc4b8bea043a324927e40d998ed760799f0b82 Author: pezcore Date: 2017-02-03 (Fri, 03 Feb 2017) Changed paths: M numpy/core/fromnumeric.py Log Message: ----------- 8552 doc clip none (#8558) * documenting behaviour of passing `None` to upper or lower interval bounds in `clip()` * doc: specifying that not more than one of formal parameters `a_min` and `a_max` may be none From noreply at github.com Fri Feb 3 15:02:20 2017 From: noreply at github.com (GitHub) Date: Fri, 03 Feb 2017 12:02:20 -0800 Subject: [Numpy-svn] [numpy/numpy] a61193: ENH: hard-code finfo parameters for known types (#... Message-ID: <5894e1cc3b321_7f883ff79d133c2c685d@hookshot-fe1-cp1-prd.iad.github.net.mail> Branch: refs/heads/master Home: https://github.com/numpy/numpy Commit: a611932bbcb132f82472a1f222a31e120fb6dc86 https://github.com/numpy/numpy/commit/a611932bbcb132f82472a1f222a31e120fb6dc86 Author: Matthew Brett Date: 2017-02-03 (Fri, 03 Feb 2017) Changed paths: M doc/release/1.13.0-notes.rst M numpy/core/getlimits.py M numpy/core/tests/test_getlimits.py Log Message: ----------- ENH: hard-code finfo parameters for known types (#8504) * ENH: hard-code finfo parameters for known types Hard-code the MachAr parameters for float64, float32, 80-bit extended precision, to save time, and provide skeleton for more difficult types such as the double double on PPC; see https://github.com/numpy/numpy/issues/2669 * ENH: add PPC long double finfo Add parameters for PPC long double, fixing long-standing bug for finfo on PPC. * BF: use Python floats for float64 finfo For some reason (garrgh) np.exp2 with float64 gives a different answer on Windows than it does on other platforms; use Python floating point calculations instead, which do appear to be consistent. * DOC: add release notes for finfo fixes Add release note describing fixes for PPC long double ``finfo``. * RF: try using byte string to identify floats >From suggestion by Chuck, and https//perl5.git.perl.org/perl.git/blob/3118d7d684b56cbeb702af874f4326683c45f045:/Configure * TST: add tests for reasonable finfo parameters Check that finfo returns somewhat reasonable parameters for all floating point types. * RF: add warning for not-recognized float type Warn if we don't have a signature for the float type. * NF: add IEEE float128 type signature Still needs test on platform with IEEE float128, to check MachAr-like parameters are correct. From noreply at github.com Sat Feb 4 14:41:34 2017 From: noreply at github.com (GitHub) Date: Sat, 04 Feb 2017 11:41:34 -0800 Subject: [Numpy-svn] [numpy/numpy] 788690: TST: core: use aligned memory for dot() out= array... Message-ID: <58962e6ec6caf_208d3fce36113c3c605b6@hookshot-fe2-cp1-prd.iad.github.net.mail> Branch: refs/heads/master Home: https://github.com/numpy/numpy Commit: 7886906af7cccdde892db7be8f8ae53fd5266d95 https://github.com/numpy/numpy/commit/7886906af7cccdde892db7be8f8ae53fd5266d95 Author: Pauli Virtanen Date: 2017-02-04 (Sat, 04 Feb 2017) Changed paths: M numpy/core/tests/test_multiarray.py Log Message: ----------- TST: core: use aligned memory for dot() out= arrays On SPARC, longdouble alignment is bigger than that provided by default allocation. So use a custom allocation method in the test using dot(out=). Commit: a4eb322a2bb7f015f3366f01879ed64f887379cb https://github.com/numpy/numpy/commit/a4eb322a2bb7f015f3366f01879ed64f887379cb Author: Charles Harris Date: 2017-02-04 (Sat, 04 Feb 2017) Changed paths: M numpy/core/tests/test_multiarray.py Log Message: ----------- Merge pull request #8567 from pv/test-dot-overlap-alignment TST: core: use aligned memory for dot() out= arrays Compare: https://github.com/numpy/numpy/compare/a611932bbcb1...a4eb322a2bb7 From noreply at github.com Sat Feb 4 20:16:11 2017 From: noreply at github.com (GitHub) Date: Sat, 04 Feb 2017 17:16:11 -0800 Subject: [Numpy-svn] [numpy/numpy] 93d1cd: TST: re-enable PPC longdouble spacing tests Message-ID: <58967cdb26417_87a3fcf27879c287318e@hookshot-fe6-cp1-prd.iad.github.net.mail> Branch: refs/heads/master Home: https://github.com/numpy/numpy Commit: 93d1cd65dd3b3c370058219dec3160d958f315be https://github.com/numpy/numpy/commit/93d1cd65dd3b3c370058219dec3160d958f315be Author: Matthew Brett Date: 2017-02-04 (Sat, 04 Feb 2017) Changed paths: M numpy/core/tests/test_umath.py Log Message: ----------- TST: re-enable PPC longdouble spacing tests Now we have eps on PPC longdouble, re-enable the tests of float spacing. Commit: fa8e910bb58194c4d99565f77d91d9c27b720c33 https://github.com/numpy/numpy/commit/fa8e910bb58194c4d99565f77d91d9c27b720c33 Author: Charles Harris Date: 2017-02-04 (Sat, 04 Feb 2017) Changed paths: M numpy/core/tests/test_umath.py Log Message: ----------- Merge pull request #8568 from matthew-brett/enable-ppc-eps-tests TST: re-enable PPC longdouble spacing tests Compare: https://github.com/numpy/numpy/compare/a4eb322a2bb7...fa8e910bb581 From noreply at github.com Sun Feb 5 02:04:10 2017 From: noreply at github.com (GitHub) Date: Sat, 04 Feb 2017 23:04:10 -0800 Subject: [Numpy-svn] [numpy/numpy] 5d5d65: Add missing __tracebackhide__ to testing functions... Message-ID: <5896ce6a14e60_21e33fc9d2673c30887e0@hookshot-fe2-cp1-prd.iad.github.net.mail> Branch: refs/heads/master Home: https://github.com/numpy/numpy Commit: 5d5d65be2557fdb9b41f100dd12c5ed594aeb9a3 https://github.com/numpy/numpy/commit/5d5d65be2557fdb9b41f100dd12c5ed594aeb9a3 Author: Antony Lee Date: 2017-02-04 (Sat, 04 Feb 2017) Changed paths: M numpy/testing/utils.py Log Message: ----------- Add missing __tracebackhide__ to testing functions. Commit: 72839c43f2536c65bc4fbf6db5ae8ebb1c29c674 https://github.com/numpy/numpy/commit/72839c43f2536c65bc4fbf6db5ae8ebb1c29c674 Author: Nathaniel J. Smith Date: 2017-02-04 (Sat, 04 Feb 2017) Changed paths: M numpy/testing/utils.py Log Message: ----------- Merge pull request #8569 from anntzer/missing-tracebackhides Add missing __tracebackhide__ to testing functions. Compare: https://github.com/numpy/numpy/compare/fa8e910bb581...72839c43f253 From noreply at github.com Mon Feb 6 06:22:39 2017 From: noreply at github.com (GitHub) Date: Mon, 06 Feb 2017 03:22:39 -0800 Subject: [Numpy-svn] [numpy/numpy] 6bb3fc: MAINT: remove ma out= workaround Message-ID: <58985c7f3853c_155b3fafc3be9c38376f0@hookshot-fe6-cp1-prd.iad.github.net.mail> Branch: refs/heads/master Home: https://github.com/numpy/numpy Commit: 6bb3fc4e51633104f93bdc5f647058dcf4cf5f68 https://github.com/numpy/numpy/commit/6bb3fc4e51633104f93bdc5f647058dcf4cf5f68 Author: Julian Taylor Date: 2017-02-06 (Mon, 06 Feb 2017) Changed paths: M numpy/ma/extras.py Log Message: ----------- MAINT: remove ma out= workaround unnecessary since gh-8416 Commit: ca248b72589c39e3138e8bd7b658c1bd5dca209a https://github.com/numpy/numpy/commit/ca248b72589c39e3138e8bd7b658c1bd5dca209a Author: Julian Taylor Date: 2017-02-06 (Mon, 06 Feb 2017) Changed paths: M numpy/ma/extras.py Log Message: ----------- Merge pull request #8572 from juliantaylor/cleanup MAINT: remove ma out= workaround Compare: https://github.com/numpy/numpy/compare/72839c43f253...ca248b72589c From noreply at github.com Mon Feb 6 13:59:42 2017 From: noreply at github.com (GitHub) Date: Mon, 06 Feb 2017 10:59:42 -0800 Subject: [Numpy-svn] [numpy/numpy] f17010: BUG: fix calling python api with error set and min... Message-ID: <5898c79e35567_15763fa2d9b61c301286ee@hookshot-fe6-cp1-prd.iad.github.net.mail> Branch: refs/heads/master Home: https://github.com/numpy/numpy Commit: f17010be098b26154b86b19442691a5e7542ea6f https://github.com/numpy/numpy/commit/f17010be098b26154b86b19442691a5e7542ea6f Author: Julian Taylor Date: 2017-02-06 (Mon, 06 Feb 2017) Changed paths: M numpy/core/src/multiarray/descriptor.c Log Message: ----------- BUG: fix calling python api with error set and minor leaks Commit: 98b3127fa61e09387e1f7cf925acfcb36043e48a https://github.com/numpy/numpy/commit/98b3127fa61e09387e1f7cf925acfcb36043e48a Author: Charles Harris Date: 2017-02-06 (Mon, 06 Feb 2017) Changed paths: M numpy/core/src/multiarray/descriptor.c Log Message: ----------- Merge pull request #8571 from juliantaylor/dbg-fixes BUG: fix calling python api with error set and minor leaks Compare: https://github.com/numpy/numpy/compare/ca248b72589c...98b3127fa61e From noreply at github.com Mon Feb 6 15:52:53 2017 From: noreply at github.com (GitHub) Date: Mon, 06 Feb 2017 12:52:53 -0800 Subject: [Numpy-svn] [numpy/numpy] f17010: BUG: fix calling python api with error set and min... Message-ID: <5898e2258c350_bc33ff0508fdc2c1016d8@hookshot-fe5-cp1-prd.iad.github.net.mail> Branch: refs/heads/maintenance/1.12.x Home: https://github.com/numpy/numpy Commit: f17010be098b26154b86b19442691a5e7542ea6f https://github.com/numpy/numpy/commit/f17010be098b26154b86b19442691a5e7542ea6f Author: Julian Taylor Date: 2017-02-06 (Mon, 06 Feb 2017) Changed paths: M numpy/core/src/multiarray/descriptor.c Log Message: ----------- BUG: fix calling python api with error set and minor leaks Commit: 0a458acbc3ada2e24a4d5080d71a79680239013b https://github.com/numpy/numpy/commit/0a458acbc3ada2e24a4d5080d71a79680239013b Author: Charles Harris Date: 2017-02-06 (Mon, 06 Feb 2017) Changed paths: M numpy/core/src/multiarray/descriptor.c Log Message: ----------- Merge pull request #8573 from juliantaylor/dbg-fixes BUG: fix calling python api with error set and minor leaks for 1.12 Compare: https://github.com/numpy/numpy/compare/ee99ca57b5bf...0a458acbc3ad From noreply at github.com Wed Feb 8 19:35:41 2017 From: noreply at github.com (GitHub) Date: Wed, 08 Feb 2017 16:35:41 -0800 Subject: [Numpy-svn] [numpy/numpy] de988b: TST: Replace use of sys.getsizeof() with explicit ... Message-ID: <589bb95d3c7d6_2f7d43ffc1d1c1c2884430@hookshot-fe-6dbb0c4.cp1-iad.github.net.mail> Branch: refs/heads/master Home: https://github.com/numpy/numpy Commit: de988b40c704d1772f629e5a6d0a4e8748f057fc https://github.com/numpy/numpy/commit/de988b40c704d1772f629e5a6d0a4e8748f057fc Author: Ronan Lamy Date: 2017-02-08 (Wed, 08 Feb 2017) Changed paths: M numpy/core/tests/test_unicode.py Log Message: ----------- TST: Replace use of sys.getsizeof() with explicit computation of unicode representation size This is for PyPy3 compatibility: sys.getsizeof() is CPython-specific and there doesn't seem to be a pure-Python way of getting the size of the internal PEP393 Unicode representation, so recompute it using documented invariants. Commit: 520e4988b88b6ac3df3a72e3af657a8d55502d7c https://github.com/numpy/numpy/commit/520e4988b88b6ac3df3a72e3af657a8d55502d7c Author: Charles Harris Date: 2017-02-08 (Wed, 08 Feb 2017) Changed paths: M numpy/core/tests/test_unicode.py Log Message: ----------- Merge pull request #8586 from rlamy/pypy3-getsizeof PyPy3 compatibility: sys.getsizeof() Compare: https://github.com/numpy/numpy/compare/98b3127fa61e...520e4988b88b From noreply at github.com Thu Feb 9 15:12:15 2017 From: noreply at github.com (GitHub) Date: Thu, 09 Feb 2017 12:12:15 -0800 Subject: [Numpy-svn] [numpy/numpy] 5bd7bf: BUG: match hard-coded finfo to calculated MachAr Message-ID: <589ccd1fffd1_6a663ff1d6133c308245@hookshot-fe3-cp1-prd.iad.github.net.mail> Branch: refs/heads/master Home: https://github.com/numpy/numpy Commit: 5bd7bf9bac7bcf659908d56c1dab1cf43af3ac51 https://github.com/numpy/numpy/commit/5bd7bf9bac7bcf659908d56c1dab1cf43af3ac51 Author: Matthew Brett Date: 2017-02-09 (Thu, 09 Feb 2017) Changed paths: M numpy/core/getlimits.py M numpy/core/tests/test_getlimits.py Log Message: ----------- BUG: match hard-coded finfo to calculated MachAr Make sure that value shapes and dtypes are the same as the original calculated values from the MachAr class. Closes #8585 Commit: 04bfa6233473e3ffb7fb3fe2e9c1623d63f62cad https://github.com/numpy/numpy/commit/04bfa6233473e3ffb7fb3fe2e9c1623d63f62cad Author: Charles Harris Date: 2017-02-09 (Thu, 09 Feb 2017) Changed paths: M numpy/core/getlimits.py M numpy/core/tests/test_getlimits.py Log Message: ----------- Merge pull request #8596 from matthew-brett/fix-machar-likes BUG: match hard-coded finfo to calculated MachAr Compare: https://github.com/numpy/numpy/compare/520e4988b88b...04bfa6233473 From noreply at github.com Thu Feb 9 21:58:20 2017 From: noreply at github.com (GitHub) Date: Thu, 09 Feb 2017 18:58:20 -0800 Subject: [Numpy-svn] [numpy/numpy] 6633f6: DOC: fix typo in 'Indexing Multi-dimensional array... Message-ID: <589d2c4c4d210_6ef03f8889a17c2c1005c0@hookshot-fe6-cp1-prd.iad.github.net.mail> Branch: refs/heads/master Home: https://github.com/numpy/numpy Commit: 6633f69ca250c98fc4126961b657c9df0f8d06ec https://github.com/numpy/numpy/commit/6633f69ca250c98fc4126961b657c9df0f8d06ec Author: Kirill Balunov Date: 2017-02-07 (Tue, 07 Feb 2017) Changed paths: M numpy/doc/indexing.py Log Message: ----------- DOC: fix typo in 'Indexing Multi-dimensional arrays' [ci skip] Commit: b286fd47e9e8d9fd418dc37156d57a58f0637b1d https://github.com/numpy/numpy/commit/b286fd47e9e8d9fd418dc37156d57a58f0637b1d Author: Kirill Balunov Date: 2017-02-07 (Tue, 07 Feb 2017) Changed paths: M doc/source/reference/arrays.scalars.rst Log Message: ----------- DOC: fix typo in indexing section Commit: 40ce834f854827b39c98a6e32d061195edad6662 https://github.com/numpy/numpy/commit/40ce834f854827b39c98a6e32d061195edad6662 Author: Kirill Balunov Date: 2017-02-07 (Tue, 07 Feb 2017) Changed paths: M doc/source/user/quickstart.rst Log Message: ----------- DOC: fix typo in 'Stacking together different arrays' The example with `newaxis` now looks rather silly. I left it because it is the only place in this tutorial with an example how to use `newaxis`. Commit: b52be49a702862a44f18237c5a9a6c7f5173ddab https://github.com/numpy/numpy/commit/b52be49a702862a44f18237c5a9a6c7f5173ddab Author: Charles Harris Date: 2017-02-09 (Thu, 09 Feb 2017) Changed paths: M doc/source/reference/arrays.scalars.rst M doc/source/user/quickstart.rst M numpy/doc/indexing.py Log Message: ----------- Merge pull request #8575 from godaygo/doc-typos-1 DOC: fix several typos #8537. Compare: https://github.com/numpy/numpy/compare/04bfa6233473...b52be49a7028 From noreply at github.com Fri Feb 10 12:52:12 2017 From: noreply at github.com (GitHub) Date: Fri, 10 Feb 2017 09:52:12 -0800 Subject: [Numpy-svn] [numpy/numpy] 994f8a: MAINT: Remove __setslice__ and __getslice__ Message-ID: <589dfdcc44fdd_77f13fc136ec3c4044dc@hookshot-fe3-cp1-prd.iad.github.net.mail> Branch: refs/heads/master Home: https://github.com/numpy/numpy Commit: 994f8a1dbb137fd4daf881184972637964983ad8 https://github.com/numpy/numpy/commit/994f8a1dbb137fd4daf881184972637964983ad8 Author: Eric Wieser Date: 2017-02-09 (Thu, 09 Feb 2017) Changed paths: M doc/source/reference/arrays.ndarray.rst M doc/source/reference/maskedarray.baseclass.rst M numpy/core/src/multiarray/nditer_pywrap.c M numpy/core/src/multiarray/sequence.c M numpy/lib/index_tricks.py M numpy/lib/user_array.py M numpy/ma/core.py M numpy/ma/tests/test_extras.py M numpy/testing/nosetester.py Log Message: ----------- MAINT: Remove __setslice__ and __getslice__ This code was only here for Python 2.5 compatibility, but numpy requires 2.7 at minimum Commit: ff03047c1b8f3920feb0c7d1374cc1670e793b7a https://github.com/numpy/numpy/commit/ff03047c1b8f3920feb0c7d1374cc1670e793b7a Author: Eric Wieser Date: 2017-02-09 (Thu, 09 Feb 2017) Changed paths: M doc/source/reference/arrays.indexing.rst Log Message: ----------- DOC: Change index keywords to dissociate from deprecated magic methods Commit: bec587c6e5068fb19d57cdbe2ed36e953ca97005 https://github.com/numpy/numpy/commit/bec587c6e5068fb19d57cdbe2ed36e953ca97005 Author: Eric Wieser Date: 2017-02-09 (Thu, 09 Feb 2017) Changed paths: M doc/release/1.13.0-notes.rst Log Message: ----------- MAINT: Add release notes for __[gs]etslice__ removal Commit: 5e3fb00b37f5b1c752f6f44c5717b2d84ee7daff https://github.com/numpy/numpy/commit/5e3fb00b37f5b1c752f6f44c5717b2d84ee7daff Author: Charles Harris Date: 2017-02-10 (Fri, 10 Feb 2017) Changed paths: M doc/source/reference/arrays.indexing.rst Log Message: ----------- DOC: Use getitem and setitem in index Replaces getslice and setslice which have been removed. Commit: 1b877254af0850d025cdc5d07b3fcaa1614dbe4b https://github.com/numpy/numpy/commit/1b877254af0850d025cdc5d07b3fcaa1614dbe4b Author: Charles Harris Date: 2017-02-10 (Fri, 10 Feb 2017) Changed paths: M doc/release/1.13.0-notes.rst M doc/source/reference/arrays.indexing.rst M doc/source/reference/arrays.ndarray.rst M doc/source/reference/maskedarray.baseclass.rst M numpy/core/src/multiarray/nditer_pywrap.c M numpy/core/src/multiarray/sequence.c M numpy/lib/index_tricks.py M numpy/lib/user_array.py M numpy/ma/core.py M numpy/ma/tests/test_extras.py M numpy/testing/nosetester.py Log Message: ----------- Merge pull request #8592 from eric-wieser/remove-setslice MAINT: Remove __setslice__ and __getslice__ Compare: https://github.com/numpy/numpy/compare/b52be49a7028...1b877254af08 From noreply at github.com Fri Feb 10 14:03:30 2017 From: noreply at github.com (GitHub) Date: Fri, 10 Feb 2017 11:03:30 -0800 Subject: [Numpy-svn] [numpy/numpy] fa040c: BUG: make np.squeeze always return an array, never... Message-ID: <589e0e8223abc_7c2b3ff1998a7c386244f@hookshot-fe2-cp1-prd.iad.github.net.mail> Branch: refs/heads/master Home: https://github.com/numpy/numpy Commit: fa040cada9e832a6d23f359a4029953d14acca0a https://github.com/numpy/numpy/commit/fa040cada9e832a6d23f359a4029953d14acca0a Author: Eric Wieser Date: 2017-02-10 (Fri, 10 Feb 2017) Changed paths: M doc/release/1.13.0-notes.rst M numpy/core/src/multiarray/scalartypes.c.src M numpy/core/tests/test_numeric.py Log Message: ----------- BUG: make np.squeeze always return an array, never a scalar Fixes #8588 Commit: 1b483c2398ce2de49f72b9005dfb92859e389914 https://github.com/numpy/numpy/commit/1b483c2398ce2de49f72b9005dfb92859e389914 Author: Charles Harris Date: 2017-02-10 (Fri, 10 Feb 2017) Changed paths: M doc/release/1.13.0-notes.rst M numpy/core/src/multiarray/scalartypes.c.src M numpy/core/tests/test_numeric.py Log Message: ----------- Merge pull request #8591 from eric-wieser/np.squeeze-scalar BUG: make np.squeeze always return an array, never a scalar Compare: https://github.com/numpy/numpy/compare/1b877254af08...1b483c2398ce From noreply at github.com Sat Feb 11 21:07:57 2017 From: noreply at github.com (GitHub) Date: Sat, 11 Feb 2017 18:07:57 -0800 Subject: [Numpy-svn] [numpy/numpy] bb1c47: BUG: Make iscomplexobj compatible with custom dtyp... Message-ID: <589fc37d43ec5_1ac43fbed8e29c2c5981c@hookshot-fe5-cp1-prd.iad.github.net.mail> Branch: refs/heads/master Home: https://github.com/numpy/numpy Commit: bb1c471a299c0118d890988f4bfb7df8eca6595d https://github.com/numpy/numpy/commit/bb1c471a299c0118d890988f4bfb7df8eca6595d Author: Joerg Behrmann Date: 2017-02-10 (Fri, 10 Feb 2017) Changed paths: M numpy/lib/tests/test_type_check.py M numpy/lib/type_check.py Log Message: ----------- BUG: Make iscomplexobj compatible with custom dtypes again This change makes iscomplexobj compatible with custom array types using custom dtypes, that are not fully compatible to Numpys dtypes, which can nevertheless be coerced to a numpy array with asarray again, as has been the behaviour before PR #7936. Fixes #8601 Commit: bcae38abb15ef27fea0c581f122ff5a79574277f https://github.com/numpy/numpy/commit/bcae38abb15ef27fea0c581f122ff5a79574277f Author: Stephan Hoyer Date: 2017-02-11 (Sat, 11 Feb 2017) Changed paths: M numpy/lib/tests/test_type_check.py M numpy/lib/type_check.py Log Message: ----------- Merge pull request #8602 from behrmann/fix-iscomplexobj BUG: Make iscomplexobj compatible with custom dtypes again Compare: https://github.com/numpy/numpy/compare/1b483c2398ce...bcae38abb15e From noreply at github.com Sat Feb 11 21:46:55 2017 From: noreply at github.com (GitHub) Date: Sat, 11 Feb 2017 18:46:55 -0800 Subject: [Numpy-svn] [numpy/numpy] 5de1a8: DOC: gradient uses 1st order central difference in... Message-ID: <589fcc9fd865e_2836c3feae645dc402104e@hookshot-fe-6dbb0c4.cp1-iad.github.net.mail> Branch: refs/heads/master Home: https://github.com/numpy/numpy Commit: 5de1a8215edc5982458473b2ef6da091beb4b19d https://github.com/numpy/numpy/commit/5de1a8215edc5982458473b2ef6da091beb4b19d Author: drabach Date: 2017-02-11 (Sat, 11 Feb 2017) Changed paths: M numpy/lib/function_base.py Log Message: ----------- DOC: gradient uses 1st order central difference in the interior (#8605) The gradient function uses 1st order central difference in the interior, not second order. From noreply at github.com Sun Feb 12 02:49:29 2017 From: noreply at github.com (GitHub) Date: Sat, 11 Feb 2017 23:49:29 -0800 Subject: [Numpy-svn] [numpy/numpy] 52988e: BUG: Fix crash on 0d return value in apply_along_a... Message-ID: <58a013891be35_1363fe670515c3485040@hookshot-fe2-cp1-prd.iad.github.net.mail> Branch: refs/heads/master Home: https://github.com/numpy/numpy Commit: 52988ea98120c10a927325401257eb3715a51b15 https://github.com/numpy/numpy/commit/52988ea98120c10a927325401257eb3715a51b15 Author: Eric Wieser Date: 2017-02-11 (Sat, 11 Feb 2017) Changed paths: M numpy/lib/shape_base.py M numpy/lib/tests/test_shape_base.py Log Message: ----------- BUG: Fix crash on 0d return value in apply_along_axis Also: ENH: Support arbitrary dimensionality of return value MAINT: remove special casing Commit: 5307aeda11a5d567a966a16232860fd852734606 https://github.com/numpy/numpy/commit/5307aeda11a5d567a966a16232860fd852734606 Author: Eric Wieser Date: 2017-02-11 (Sat, 11 Feb 2017) Changed paths: M numpy/lib/shape_base.py Log Message: ----------- MAINT: Use np.ndindex, which seems just as efficient Commit: b10b6c290ded55e410543b9d09686042be3db6ec https://github.com/numpy/numpy/commit/b10b6c290ded55e410543b9d09686042be3db6ec Author: Eric Wieser Date: 2017-02-11 (Sat, 11 Feb 2017) Changed paths: M numpy/lib/shape_base.py Log Message: ----------- BUG: Call __array_prepare__ before __array_wrap__ Commit: 9f362bfb3f99c0bcb30e9bd6e568e40ae5a0cf7b https://github.com/numpy/numpy/commit/9f362bfb3f99c0bcb30e9bd6e568e40ae5a0cf7b Author: Eric Wieser Date: 2017-02-11 (Sat, 11 Feb 2017) Changed paths: M numpy/lib/shape_base.py M numpy/lib/tests/test_shape_base.py Log Message: ----------- BUG: Work around evil matrix.__array_prepare__ Commit: c8efc57ae6f3e927c2ded4b68c9c031fe03544ed https://github.com/numpy/numpy/commit/c8efc57ae6f3e927c2ded4b68c9c031fe03544ed Author: Eric Wieser Date: 2017-02-11 (Sat, 11 Feb 2017) Changed paths: M numpy/lib/shape_base.py Log Message: ----------- MAINT: Transpose the result, rather than working with a transposed view .transpose does not specify that it must return a view, so subclasses (like np.ma.array) could otherwise break this. This exposes some more need for matrix special casing. Commit: ff9c363bb729a37f09c63937e45d5870501bfbad https://github.com/numpy/numpy/commit/ff9c363bb729a37f09c63937e45d5870501bfbad Author: Eric Wieser Date: 2017-02-11 (Sat, 11 Feb 2017) Changed paths: M numpy/lib/tests/test_shape_base.py Log Message: ----------- TST: Verify apply_along_axis now works on masked arrays Note that this is not a full subsitute for np.ma.apply_along_axis, as that allows functions to return a mix of np.ma.masked and scalars Commit: 78084ee261eae43e3b6cb12abee7d7880c62bc0c https://github.com/numpy/numpy/commit/78084ee261eae43e3b6cb12abee7d7880c62bc0c Author: Eric Wieser Date: 2017-02-11 (Sat, 11 Feb 2017) Changed paths: M numpy/lib/shape_base.py Log Message: ----------- MAINT: Improve error-checking of axis argument Copied from the implementation in core.shape_base.stack Commit: d4bce016f19dd8c8e2761818741d1c4024a34f21 https://github.com/numpy/numpy/commit/d4bce016f19dd8c8e2761818741d1c4024a34f21 Author: Eric Wieser Date: 2017-02-11 (Sat, 11 Feb 2017) Changed paths: M doc/release/1.13.0-notes.rst Log Message: ----------- DOC: Update 1.13.0 release notes with apply_along_axis changes Commit: 51a824051c82b36c1d0f17f81c6a9ef24375cf42 https://github.com/numpy/numpy/commit/51a824051c82b36c1d0f17f81c6a9ef24375cf42 Author: Stephan Hoyer Date: 2017-02-11 (Sat, 11 Feb 2017) Changed paths: M doc/release/1.13.0-notes.rst M numpy/lib/shape_base.py M numpy/lib/tests/test_shape_base.py Log Message: ----------- Merge pull request #8441 from eric-wieser/apply_along_axis-nd BUG: Fix crash on 0d return value in apply_along_axis Compare: https://github.com/numpy/numpy/compare/5de1a8215edc...51a824051c82 From noreply at github.com Sun Feb 12 08:43:12 2017 From: noreply at github.com (GitHub) Date: Sun, 12 Feb 2017 05:43:12 -0800 Subject: [Numpy-svn] [numpy/numpy] 829b83: Revert "DOC: gradient uses 1st order central diffe... Message-ID: <58a06670758be_27fcc3ff425c4bc34321a4@hookshot-fe-6dbb0c4.cp1-iad.github.net.mail> Branch: refs/heads/master Home: https://github.com/numpy/numpy Commit: 829b83ce53cc76b94979910e196d3a17e8bd2538 https://github.com/numpy/numpy/commit/829b83ce53cc76b94979910e196d3a17e8bd2538 Author: Alessandro Pietro Bardelli Date: 2017-02-12 (Sun, 12 Feb 2017) Changed paths: M numpy/lib/function_base.py Log Message: ----------- Revert "DOC: gradient uses 1st order central difference in the interior" Commit: a9d694168eedc6fb433688d2265de4e196ed87d5 https://github.com/numpy/numpy/commit/a9d694168eedc6fb433688d2265de4e196ed87d5 Author: Charles Harris Date: 2017-02-12 (Sun, 12 Feb 2017) Changed paths: M numpy/lib/function_base.py Log Message: ----------- Merge pull request #8606 from apbard/revert-8605-master Revert "DOC: gradient uses 1st order central difference in the interior" Compare: https://github.com/numpy/numpy/compare/51a824051c82...a9d694168eed From noreply at github.com Sun Feb 12 14:26:46 2017 From: noreply at github.com (GitHub) Date: Sun, 12 Feb 2017 11:26:46 -0800 Subject: [Numpy-svn] [numpy/numpy] c42ed2: BUG: Make iscomplexobj compatible with custom dtyp... Message-ID: <58a0b6f66f523_b9e3fea45c75c30193ec@hookshot-fe6-cp1-prd.iad.github.net.mail> Branch: refs/heads/maintenance/1.12.x Home: https://github.com/numpy/numpy Commit: c42ed284ea690c876499e89667f0bd75f4bfe3b4 https://github.com/numpy/numpy/commit/c42ed284ea690c876499e89667f0bd75f4bfe3b4 Author: Joerg Behrmann Date: 2017-02-12 (Sun, 12 Feb 2017) Changed paths: M numpy/lib/tests/test_type_check.py M numpy/lib/type_check.py Log Message: ----------- BUG: Make iscomplexobj compatible with custom dtypes again This change makes iscomplexobj compatible with custom array types using custom dtypes, that are not fully compatible to Numpys dtypes, which can nevertheless be coerced to a numpy array with asarray again, as has been the behaviour before PR #7936. Fixes #8601 Commit: 3e453670c5709542b028cc541efb279f08393408 https://github.com/numpy/numpy/commit/3e453670c5709542b028cc541efb279f08393408 Author: Charles Harris Date: 2017-02-12 (Sun, 12 Feb 2017) Changed paths: M numpy/lib/tests/test_type_check.py M numpy/lib/type_check.py Log Message: ----------- Merge pull request #8609 from charris/backport-8602 BUG: Make iscomplexobj compatible with custom dtypes again Compare: https://github.com/numpy/numpy/compare/0a458acbc3ad...3e453670c570 From noreply at github.com Sun Feb 12 14:27:03 2017 From: noreply at github.com (GitHub) Date: Sun, 12 Feb 2017 11:27:03 -0800 Subject: [Numpy-svn] [numpy/numpy] d9d266: Revert "BUG: make np.squeeze always return an arra... Message-ID: <58a0b707b99bb_28e7f3fb8c2135c446769c@hookshot-fe-6dbb0c4.cp1-iad.github.net.mail> Branch: refs/heads/master Home: https://github.com/numpy/numpy Commit: d9d266ada4d90fb87b61773bb760e8e7e5bb6ba9 https://github.com/numpy/numpy/commit/d9d266ada4d90fb87b61773bb760e8e7e5bb6ba9 Author: Charles Harris Date: 2017-02-12 (Sun, 12 Feb 2017) Changed paths: M doc/release/1.13.0-notes.rst M numpy/core/src/multiarray/scalartypes.c.src M numpy/core/tests/test_numeric.py Log Message: ----------- Revert "BUG: make np.squeeze always return an array, never a scalar" This reverts commit fa040cada9e832a6d23f359a4029953d14acca0a. This change broke Pandas, and after consideration it has been decided that the more correct change would be squeeze() returns the original scalar. Commit: 6f5b96929928b298dc7038659ca74e2c335e8b75 https://github.com/numpy/numpy/commit/6f5b96929928b298dc7038659ca74e2c335e8b75 Author: Charles Harris Date: 2017-02-12 (Sun, 12 Feb 2017) Changed paths: M doc/release/1.13.0-notes.rst M numpy/core/src/multiarray/scalartypes.c.src M numpy/core/tests/test_numeric.py Log Message: ----------- Merge pull request #8610 from charris/revert-8591 Revert "BUG: make np.squeeze always return an array, never a scalar" Compare: https://github.com/numpy/numpy/compare/a9d694168eed...6f5b96929928 From noreply at github.com Mon Feb 13 05:06:16 2017 From: noreply at github.com (GitHub) Date: Mon, 13 Feb 2017 02:06:16 -0800 Subject: [Numpy-svn] [numpy/numpy] b20508: MAINT: Decrease merge conflicts in release notes Message-ID: <58a18518790d_1a903fc403bc7c3810183f@hookshot-fe5-cp1-prd.iad.github.net.mail> Branch: refs/heads/master Home: https://github.com/numpy/numpy Commit: b20508c4d49bd7269bcd42d39372a6b81af415cf https://github.com/numpy/numpy/commit/b20508c4d49bd7269bcd42d39372a6b81af415cf Author: Charles Harris Date: 2017-02-12 (Sun, 12 Feb 2017) Changed paths: M .gitattributes Log Message: ----------- MAINT: Decrease merge conflicts in release notes Merge conflicts due to the release notes has been an annoying problem requiring a rebase of otherwise good PRs. The solution here is to use the --union option when merging to those files. Closes #8603. Commit: ee40ff69127fee94e7e3103445729024e7b3de21 https://github.com/numpy/numpy/commit/ee40ff69127fee94e7e3103445729024e7b3de21 Author: Julian Taylor Date: 2017-02-13 (Mon, 13 Feb 2017) Changed paths: M .gitattributes Log Message: ----------- Merge pull request #8612 from charris/fix-release-doc-merge MAINT: Decrease merge conflicts in release notes Compare: https://github.com/numpy/numpy/compare/6f5b96929928...ee40ff69127f From noreply at github.com Tue Feb 14 11:24:47 2017 From: noreply at github.com (GitHub) Date: Tue, 14 Feb 2017 08:24:47 -0800 Subject: [Numpy-svn] [numpy/numpy] 0b7215: DOC: Indicate that axis param to average may be a ... Message-ID: <58a32f4f24d57_6c23fa5aa453c307474@hookshot-fe2-cp1-prd.iad.github.net.mail> Branch: refs/heads/master Home: https://github.com/numpy/numpy Commit: 0b7215793d0702746f78d5b43e9d3a357de82de6 https://github.com/numpy/numpy/commit/0b7215793d0702746f78d5b43e9d3a357de82de6 Author: Alex Rothberg Date: 2017-02-12 (Sun, 12 Feb 2017) Changed paths: M numpy/lib/function_base.py Log Message: ----------- DOC: Indicate that axis param to average may be a tuple of ints. Commit: bbd5a7750fbed42a4aaf12f196282a9504a1e865 https://github.com/numpy/numpy/commit/bbd5a7750fbed42a4aaf12f196282a9504a1e865 Author: Charles Harris Date: 2017-02-14 (Tue, 14 Feb 2017) Changed paths: M numpy/lib/function_base.py Log Message: ----------- Merge pull request #8611 from cancan101/average_axes_docs DOC: The axis argument of average can be a tuple of ints Compare: https://github.com/numpy/numpy/compare/ee40ff69127f...bbd5a7750fbe From noreply at github.com Tue Feb 14 14:33:13 2017 From: noreply at github.com (GitHub) Date: Tue, 14 Feb 2017 11:33:13 -0800 Subject: [Numpy-svn] [numpy/numpy] d932fc: BUG: Copy meshgrid after broadcasting, fixing #856... Message-ID: <58a35b7917d0a_f243f9f84389c2c10577b@hookshot-fe2-cp1-prd.iad.github.net.mail> Branch: refs/heads/master Home: https://github.com/numpy/numpy Commit: d932fcd38d9ef0f76c988d6c197856fa0c71314b https://github.com/numpy/numpy/commit/d932fcd38d9ef0f76c988d6c197856fa0c71314b Author: Eric Wieser Date: 2017-02-13 (Mon, 13 Feb 2017) Changed paths: M numpy/lib/function_base.py M numpy/lib/tests/test_function_base.py Log Message: ----------- BUG: Copy meshgrid after broadcasting, fixing #8561 Also, remove some unused variables Commit: d9b26f804117ebc1f591dff33d06ce2339af9339 https://github.com/numpy/numpy/commit/d9b26f804117ebc1f591dff33d06ce2339af9339 Author: Eric Wieser Date: 2017-02-13 (Mon, 13 Feb 2017) Changed paths: M numpy/lib/stride_tricks.py M numpy/lib/tests/test_stride_tricks.py Log Message: ----------- BUG: The broadcast shape of no things should be (), not ValueError Commit: 9106adfba085e93bf066d47e2da47b47839c8e08 https://github.com/numpy/numpy/commit/9106adfba085e93bf066d47e2da47b47839c8e08 Author: Marten van Kerkwijk Date: 2017-02-14 (Tue, 14 Feb 2017) Changed paths: M numpy/lib/function_base.py M numpy/lib/stride_tricks.py M numpy/lib/tests/test_function_base.py M numpy/lib/tests/test_stride_tricks.py Log Message: ----------- Merge pull request #8617 from eric-wieser/fix-8561 BUG: Copy meshgrid after broadcasting Compare: https://github.com/numpy/numpy/compare/bbd5a7750fbe...9106adfba085 From noreply at github.com Wed Feb 15 02:39:00 2017 From: noreply at github.com (GitHub) Date: Tue, 14 Feb 2017 23:39:00 -0800 Subject: [Numpy-svn] [numpy/numpy] 61e915: BUG: blas_info should record include_dirs Message-ID: <58a40594627a8_101e3fa8da9c9c2c722c7@hookshot-fe6-cp1-prd.iad.github.net.mail> Branch: refs/heads/master Home: https://github.com/numpy/numpy Commit: 61e9159569a601315b67c30b6e26bbb2149c0bfa https://github.com/numpy/numpy/commit/61e9159569a601315b67c30b6e26bbb2149c0bfa Author: Benda Xu Date: 2017-02-15 (Wed, 15 Feb 2017) Changed paths: M numpy/distutils/system_info.py Log Message: ----------- BUG: blas_info should record include_dirs blas specified in site.cfg could have non-standard include dirs. It should be read and saved in distutils/__config__.py Commit: 427e8ca1cc053a8f542cd437ecc819f367b4b61c https://github.com/numpy/numpy/commit/427e8ca1cc053a8f542cd437ecc819f367b4b61c Author: Ralf Gommers Date: 2017-02-15 (Wed, 15 Feb 2017) Changed paths: M numpy/distutils/system_info.py Log Message: ----------- Merge pull request #8619 from heroxbd/master BUG: blas_info should record include_dirs Compare: https://github.com/numpy/numpy/compare/9106adfba085...427e8ca1cc05 From noreply at github.com Thu Feb 16 13:40:14 2017 From: noreply at github.com (GitHub) Date: Thu, 16 Feb 2017 10:40:14 -0800 Subject: [Numpy-svn] [numpy/numpy] 652f5e: DOC: Create 1.12.1 release notes. Message-ID: <58a5f20ede865_3d13f83a2b73c38173931@hookshot-fe2-cp1-prd.iad.github.net.mail> Branch: refs/heads/master Home: https://github.com/numpy/numpy Commit: 652f5e9820c509168e757c4e467b2b6207d05ab7 https://github.com/numpy/numpy/commit/652f5e9820c509168e757c4e467b2b6207d05ab7 Author: Charles Harris Date: 2017-02-16 (Thu, 16 Feb 2017) Changed paths: A doc/release/1.12.1-notes.rst Log Message: ----------- DOC: Create 1.12.1 release notes. [ci skip] Commit: ba1ddc421eac7b5c3accb99a4c633490a1814838 https://github.com/numpy/numpy/commit/ba1ddc421eac7b5c3accb99a4c633490a1814838 Author: Charles Harris Date: 2017-02-16 (Thu, 16 Feb 2017) Changed paths: A doc/release/1.12.1-notes.rst Log Message: ----------- Merge pull request #8625 from charris/create-1.12.1-notes DOC: Create 1.12.1 release notes. Compare: https://github.com/numpy/numpy/compare/427e8ca1cc05...ba1ddc421eac From noreply at github.com Thu Feb 16 17:41:31 2017 From: noreply at github.com (GitHub) Date: Thu, 16 Feb 2017 14:41:31 -0800 Subject: [Numpy-svn] [numpy/numpy] f4a5e5: MAINT: core: add a missing compilation dependency ... Message-ID: <58a62a9b7223b_203b3fb054b65c302014a0@hookshot-fe5-cp1-prd.iad.github.net.mail> Branch: refs/heads/master Home: https://github.com/numpy/numpy Commit: f4a5e5f45a0f779f0d216ef99150cb2042013221 https://github.com/numpy/numpy/commit/f4a5e5f45a0f779f0d216ef99150cb2042013221 Author: Pauli Virtanen Date: 2017-01-19 (Thu, 19 Jan 2017) Changed paths: M numpy/core/setup.py Log Message: ----------- MAINT: core: add a missing compilation dependency to setup.py Commit: c5176ed63306d4abceca7d76d6a3ef063ed5a6b2 https://github.com/numpy/numpy/commit/c5176ed63306d4abceca7d76d6a3ef063ed5a6b2 Author: Pauli Virtanen Date: 2017-01-19 (Thu, 19 Jan 2017) Changed paths: M doc/source/reference/c-api.iterator.rst M numpy/add_newdocs.py M numpy/core/include/numpy/ndarraytypes.h M numpy/core/src/multiarray/nditer_constr.c M numpy/core/src/multiarray/nditer_impl.h M numpy/core/src/multiarray/nditer_pywrap.c M numpy/core/tests/test_nditer.py Log Message: ----------- ENH: NpyIter: add a flag to handle read/write operand overlap Add a new NPY_ITER_COPY_IF_OVERLAP iterator flag to NpyIter, which instructs it to check if read operands overlap with write operands in memory, and make temporary copies to eliminate detected overlap. Thanks to Sebastian Berg. Commit: ed46b9e3c20ace62af8d5315e1c9729222c12200 https://github.com/numpy/numpy/commit/ed46b9e3c20ace62af8d5315e1c9729222c12200 Author: Pauli Virtanen Date: 2017-01-19 (Thu, 19 Jan 2017) Changed paths: M numpy/core/tests/test_mem_overlap.py Log Message: ----------- STY: core: change test docstring to comment, to prettify nose output Commit: 51e3a073448fe0cc59f71f0ecc78868648d0a5e6 https://github.com/numpy/numpy/commit/51e3a073448fe0cc59f71f0ecc78868648d0a5e6 Author: Pauli Virtanen Date: 2017-01-19 (Thu, 19 Jan 2017) Changed paths: M numpy/core/src/umath/ufunc_object.c Log Message: ----------- BUG: core: fix use of wrong output array in iterator_loop These can differ if the iterator decides to make temporary copies of output arrays. Commit: e23549899878c433edfde4fdb5f83ae34c3b3dff https://github.com/numpy/numpy/commit/e23549899878c433edfde4fdb5f83ae34c3b3dff Author: Pauli Virtanen Date: 2017-01-19 (Thu, 19 Jan 2017) Changed paths: M numpy/core/setup.py M numpy/core/src/multiarray/mapping.c M numpy/core/src/private/lowlevel_strided_loops.h M numpy/core/src/umath/ufunc_object.c Log Message: ----------- ENH: core: add overlap detection logic to EQUIVALENTLY/TRIVIALLY_ITERABLE loops These loops iterate over whole arrays in "trivial" order, so that it is possible to reason about the data dependency. Commit: 7fb8e6b26e20d35480bbb7c31f53d9f9679d2659 https://github.com/numpy/numpy/commit/7fb8e6b26e20d35480bbb7c31f53d9f9679d2659 Author: Pauli Virtanen Date: 2017-01-19 (Thu, 19 Jan 2017) Changed paths: M numpy/core/src/umath/ufunc_object.c Log Message: ----------- ENH: umath: turn on overlap detection + copying in ufunc basic calls After this commit, all code paths in PyUFunc_GeneralizedFunction and PyUFunc_GenericFunction perform input/output operand memory overlap detection, and make copies to eliminate it. Commit: 3b78ac77a9c74231a1db6514bbc3acc0b1257666 https://github.com/numpy/numpy/commit/3b78ac77a9c74231a1db6514bbc3acc0b1257666 Author: Pauli Virtanen Date: 2017-01-19 (Thu, 19 Jan 2017) Changed paths: M numpy/core/src/umath/ufunc_object.c Log Message: ----------- BUG: core/ufunc: fix assumptions about iterator in execute_fancy_ufunc_loops Because the wheremask loop does not write to all elements of the array, it needs to consider output arrays as READWRITE, in case COPY_IF_OVERLAP makes temporary copies. As the iterator may make temporary copies of arrays, make sure to pass those to __array_prepare__ instead of the originals. Commit: 689bd47997ca86457fc5a13af4b33e00dc5210be https://github.com/numpy/numpy/commit/689bd47997ca86457fc5a13af4b33e00dc5210be Author: Pauli Virtanen Date: 2017-01-19 (Thu, 19 Jan 2017) Changed paths: M numpy/core/tests/test_mem_overlap.py Log Message: ----------- TST: core: add tests to check that basic ufunc calls deal with memory overlap Commit: e3f3bf7cb2c7721e50f5fe1a26d40f2c880cc62c https://github.com/numpy/numpy/commit/e3f3bf7cb2c7721e50f5fe1a26d40f2c880cc62c Author: Pauli Virtanen Date: 2017-01-19 (Thu, 19 Jan 2017) Changed paths: M numpy/core/src/umath/reduction.c M numpy/core/src/umath/ufunc_object.c Log Message: ----------- ENH: umath: turn on overlap detection + copying in ufunc reductions Commit: dae0b12d6a790543bee4002f434a1633f8923188 https://github.com/numpy/numpy/commit/dae0b12d6a790543bee4002f434a1633f8923188 Author: Pauli Virtanen Date: 2017-01-19 (Thu, 19 Jan 2017) Changed paths: M numpy/core/tests/test_mem_overlap.py Log Message: ----------- TST: core: add tests for memory overlap in ufunc reductions Commit: 0bff7b30466b26963cf4fc1b280eb207b74e9851 https://github.com/numpy/numpy/commit/0bff7b30466b26963cf4fc1b280eb207b74e9851 Author: Pauli Virtanen Date: 2017-01-19 (Thu, 19 Jan 2017) Changed paths: M numpy/core/code_generators/numpy_api.py M numpy/core/src/multiarray/mapping.c M numpy/core/src/umath/ufunc_object.c M numpy/core/tests/test_mem_overlap.py Log Message: ----------- ENH: core: handle memory overlap in ufunc.at This adds a new method PyArray_MapIterArrayCopyIfOverlap to the API. Commit: f55932a21849d230b39f7f5ced354863756bf6d5 https://github.com/numpy/numpy/commit/f55932a21849d230b39f7f5ced354863756bf6d5 Author: Pauli Virtanen Date: 2017-01-19 (Thu, 19 Jan 2017) Changed paths: M doc/source/reference/c-api.iterator.rst M numpy/core/include/numpy/ndarraytypes.h M numpy/core/src/multiarray/nditer_constr.c M numpy/core/src/umath/ufunc_object.c M numpy/core/tests/test_mem_overlap.py Log Message: ----------- BUG: umath: in reduceat, arrays must be copied on overlap even if they are the same Commit: e4af3fd9f485e9f8d923339d4a632bc83f9ad8d7 https://github.com/numpy/numpy/commit/e4af3fd9f485e9f8d923339d4a632bc83f9ad8d7 Author: Pauli Virtanen Date: 2017-01-19 (Thu, 19 Jan 2017) Changed paths: M numpy/core/src/multiarray/mapping.c Log Message: ----------- STY: core: remove unused variable Commit: acedf6860823234460facf7957e42dc65ab5efad https://github.com/numpy/numpy/commit/acedf6860823234460facf7957e42dc65ab5efad Author: Pauli Virtanen Date: 2017-01-19 (Thu, 19 Jan 2017) Changed paths: M doc/source/reference/c-api.iterator.rst M numpy/add_newdocs.py M numpy/core/include/numpy/ndarraytypes.h M numpy/core/src/multiarray/nditer_constr.c M numpy/core/src/multiarray/nditer_pywrap.c M numpy/core/src/umath/ufunc_object.c M numpy/core/tests/test_nditer.py Log Message: ----------- ENH: core: change NPY_ITER_OVERLAP_NOT_SAME to NPY_ITER_OVERLAP_ALLOW_SAME It's clearer to explicitly specify which operands are accessed elementwise, rather than to list exceptions. Commit: f4940fd0094a8ed3e14f9466ece291da0027c432 https://github.com/numpy/numpy/commit/f4940fd0094a8ed3e14f9466ece291da0027c432 Author: Pauli Virtanen Date: 2017-01-19 (Thu, 19 Jan 2017) Changed paths: M numpy/core/code_generators/cversions.txt M numpy/core/code_generators/numpy_api.py M numpy/core/setup_common.py Log Message: ----------- MAINT: bump API version Commit: ff436f9fd44cb9ebb64a6b6e6a59e6f988481672 https://github.com/numpy/numpy/commit/ff436f9fd44cb9ebb64a6b6e6a59e6f988481672 Author: Pauli Virtanen Date: 2017-01-19 (Thu, 19 Jan 2017) Changed paths: M numpy/core/src/private/lowlevel_strided_loops.h Log Message: ----------- MAINT: drop NPY_INLINE Commit: d4a5f2c5b0c491ba9dfd603487bf3d3dce7320b5 https://github.com/numpy/numpy/commit/d4a5f2c5b0c491ba9dfd603487bf3d3dce7320b5 Author: Pauli Virtanen Date: 2017-01-19 (Thu, 19 Jan 2017) Changed paths: M numpy/core/src/umath/ufunc_object.c Log Message: ----------- BUG: umath: correct treatment of __array_prepare__ prepare_ufunc_output is allowed to replace the array, because we check that it's still a view. Also if COPY_IF_OVERLAP made updateifcopy of op[i], the data will be reflected in the array from __array_prepare__. The is-a-view check is only bare-bones, but it was so since 61d45eee Commit: 78bb1d47eb482f74eb461d66248fbdf0a4e23786 https://github.com/numpy/numpy/commit/78bb1d47eb482f74eb461d66248fbdf0a4e23786 Author: Pauli Virtanen Date: 2017-01-19 (Thu, 19 Jan 2017) Changed paths: M numpy/core/tests/test_mem_overlap.py Log Message: ----------- STY: break long line Commit: 3465897e9a29036cde739bc1078168b300dbe743 https://github.com/numpy/numpy/commit/3465897e9a29036cde739bc1078168b300dbe743 Author: Pauli Virtanen Date: 2017-01-19 (Thu, 19 Jan 2017) Changed paths: M doc/release/1.13.0-notes.rst Log Message: ----------- DOC: update release notes vs. overlap detection Commit: 6014614cc37c9688a7cbbc5de66f333e16f3d341 https://github.com/numpy/numpy/commit/6014614cc37c9688a7cbbc5de66f333e16f3d341 Author: Pauli Virtanen Date: 2017-01-19 (Thu, 19 Jan 2017) Changed paths: M numpy/core/code_generators/cversions.txt Log Message: ----------- DOC: fix typo in comment Commit: cd28173172c2f20ded46d921534e7e5245eeabc3 https://github.com/numpy/numpy/commit/cd28173172c2f20ded46d921534e7e5245eeabc3 Author: Pauli Virtanen Date: 2017-01-20 (Fri, 20 Jan 2017) Changed paths: M numpy/core/src/private/lowlevel_strided_loops.h M numpy/core/src/umath/ufunc_object.c Log Message: ----------- MAINT: core: fix compiler warnings Commit: ead5cb7fcfff510c81e293b5fabe006ddab399e6 https://github.com/numpy/numpy/commit/ead5cb7fcfff510c81e293b5fabe006ddab399e6 Author: Pauli Virtanen Date: 2017-01-20 (Fri, 20 Jan 2017) Changed paths: M numpy/core/src/private/lowlevel_strided_loops.h Log Message: ----------- BUG: core: fix bug with zero strides in PyArray_EQUIVALENTLY_ITERABLE_OVERLAP_OK Arrays with zero strides are never "ahead", as the same element is reused multiple times. The previous logic was incorrect eg. for stride1==0, stride2<0 and arr1->data==arr2->data. Commit: a67d1d24dc22ab9c634c08615deda48cc44b0591 https://github.com/numpy/numpy/commit/a67d1d24dc22ab9c634c08615deda48cc44b0591 Author: Pauli Virtanen Date: 2017-01-20 (Fri, 20 Jan 2017) Changed paths: M numpy/core/tests/test_mem_overlap.py Log Message: ----------- TST: core: streamline and extend test_mem_overlap.TestUFunc tests Use itertools to go over all permutations rather than trying to do it manually. Commit: 734d5f6de64c882c2431a77f47651cc0df04e425 https://github.com/numpy/numpy/commit/734d5f6de64c882c2431a77f47651cc0df04e425 Author: Pauli Virtanen Date: 2017-01-21 (Sat, 21 Jan 2017) Changed paths: M doc/source/reference/c-api.iterator.rst M numpy/core/include/numpy/ndarraytypes.h M numpy/core/src/multiarray/nditer_constr.c M numpy/core/src/multiarray/nditer_pywrap.c M numpy/core/src/umath/ufunc_object.c M numpy/core/tests/test_nditer.py Log Message: ----------- ENH: core: rename NPY_ITER_OVERLAP_ALLOW_SAME to NPY_ITER_OVERLAP_ASSUME_ELEMENTWISE Make the flag name indicate more clearly on what is the precise assumption made. Commit: f7381b0a06ea100e902f031f68409a1ed8890c4b https://github.com/numpy/numpy/commit/f7381b0a06ea100e902f031f68409a1ed8890c4b Author: Pauli Virtanen Date: 2017-01-21 (Sat, 21 Jan 2017) Changed paths: M numpy/core/src/multiarray/nditer_constr.c M numpy/core/tests/test_mem_overlap.py M numpy/core/tests/test_nditer.py Log Message: ----------- BUG: core/umath: fix cornercase for overlapping operands with internal overlap Ensure that a copy is made when ufunc output operand overlaps with ufunc input, and both have internal overlap. The heuristic applied when iteration order is elementwise is OK only in the absence of internal overlap. Commit: 2f1902966dd8fe8ccb3bf9da9154574718476281 https://github.com/numpy/numpy/commit/2f1902966dd8fe8ccb3bf9da9154574718476281 Author: Pauli Virtanen Date: 2017-01-21 (Sat, 21 Jan 2017) Changed paths: M numpy/core/src/umath/ufunc_object.c M numpy/core/tests/test_umath.py Log Message: ----------- BUG: core/umath: handle __array_prepare__ correctly in ufunc iterator_loop Ensure that results get written to the array returned by __array_prepare__, if any. This necessitates calling prepare_ufunc_output on the output arrays that the iterator may replace with UPDATEIFCOPY'd ones. Add a test to the test suite --- this code path was untested previously. Commit: bba0c15645b8a004e3bae0166439f1948340453e https://github.com/numpy/numpy/commit/bba0c15645b8a004e3bae0166439f1948340453e Author: Pauli Virtanen Date: 2017-01-22 (Sun, 22 Jan 2017) Changed paths: M numpy/core/tests/test_umath.py Log Message: ----------- DOC: core/umath: make a comment in the test be less misleading Commit: 4ed864fbbc66365ea3c9d22890673fbdba15997f https://github.com/numpy/numpy/commit/4ed864fbbc66365ea3c9d22890673fbdba15997f Author: Pauli Virtanen Date: 2017-01-22 (Sun, 22 Jan 2017) Changed paths: M doc/release/1.13.0-notes.rst Log Message: ----------- DOC: releases: clarify simple data dependency case in ufunc overlap discussion Commit: 70982107b10a24386edb2bb5d636c71ba744c895 https://github.com/numpy/numpy/commit/70982107b10a24386edb2bb5d636c71ba744c895 Author: Pauli Virtanen Date: 2017-01-23 (Mon, 23 Jan 2017) Changed paths: M numpy/add_newdocs.py Log Message: ----------- DOC: fix wrong flag name docstring Commit: e09bd51c070539f2e955fb474ee092c7eda74c98 https://github.com/numpy/numpy/commit/e09bd51c070539f2e955fb474ee092c7eda74c98 Author: Pauli Virtanen Date: 2017-01-24 (Tue, 24 Jan 2017) Changed paths: M numpy/core/src/multiarray/mapping.c Log Message: ----------- BUG: multiarray: fix refcount error in error handling in PyArray_MapIterArrayCopyIfOverlap Commit: da4be54bc73f805fa94cc2cd770fecb095c5dac6 https://github.com/numpy/numpy/commit/da4be54bc73f805fa94cc2cd770fecb095c5dac6 Author: Pauli Virtanen Date: 2017-02-06 (Mon, 06 Feb 2017) Changed paths: M numpy/core/src/multiarray/mapping.c M numpy/core/src/umath/reduction.c M numpy/core/src/umath/ufunc_object.c Log Message: ----------- BUG: core: fix refcount errors on error handling Commit: cf3b7e8b1695b7977191e25df19a303a453ea520 https://github.com/numpy/numpy/commit/cf3b7e8b1695b7977191e25df19a303a453ea520 Author: Pauli Virtanen Date: 2017-02-10 (Fri, 10 Feb 2017) Changed paths: M numpy/core/src/multiarray/mapping.c M numpy/core/src/multiarray/nditer_constr.c M numpy/core/src/private/lowlevel_strided_loops.h M numpy/core/src/umath/ufunc_object.c Log Message: ----------- STY: core: fix up code style and add clearer comments Commit: 8e8ce442e8449916a93951093cdce16cec006bcc https://github.com/numpy/numpy/commit/8e8ce442e8449916a93951093cdce16cec006bcc Author: Pauli Virtanen Date: 2017-02-10 (Fri, 10 Feb 2017) Changed paths: M numpy/core/src/multiarray/mapping.c Log Message: ----------- DOC: core: remove old comment saying public API may change It's unlikely we will break backward compatibility, so better not claim we will do it in the code. Commit: d55f40b1e48d5a5fbed80e00a140c9db6e19732f https://github.com/numpy/numpy/commit/d55f40b1e48d5a5fbed80e00a140c9db6e19732f Author: Charles Harris Date: 2017-02-16 (Thu, 16 Feb 2017) Changed paths: M doc/release/1.13.0-notes.rst M doc/source/reference/c-api.iterator.rst M numpy/add_newdocs.py M numpy/core/code_generators/cversions.txt M numpy/core/code_generators/numpy_api.py M numpy/core/include/numpy/ndarraytypes.h M numpy/core/setup.py M numpy/core/setup_common.py M numpy/core/src/multiarray/mapping.c M numpy/core/src/multiarray/nditer_constr.c M numpy/core/src/multiarray/nditer_impl.h M numpy/core/src/multiarray/nditer_pywrap.c M numpy/core/src/private/lowlevel_strided_loops.h M numpy/core/src/umath/reduction.c M numpy/core/src/umath/ufunc_object.c M numpy/core/tests/test_mem_overlap.py M numpy/core/tests/test_nditer.py M numpy/core/tests/test_umath.py Log Message: ----------- Merge pull request #8043 from pv/ufunc-copy-overlap ENH: umath: ensure ufuncs are well-defined with memory overlapping inputs Compare: https://github.com/numpy/numpy/compare/ba1ddc421eac...d55f40b1e48d From noreply at github.com Sat Feb 18 11:03:41 2017 From: noreply at github.com (GitHub) Date: Sat, 18 Feb 2017 08:03:41 -0800 Subject: [Numpy-svn] [numpy/numpy] 61640a: BUG: Don't leak internal exceptions when given an ... Message-ID: <58a8705d8f0c1_25373fde6105fc3817192f@hookshot-fe5-cp1-prd.iad.github.net.mail> Branch: refs/heads/master Home: https://github.com/numpy/numpy Commit: 61640a849557c4460101875fd9657b3c8aaccb6d https://github.com/numpy/numpy/commit/61640a849557c4460101875fd9657b3c8aaccb6d Author: Eric Wieser Date: 2017-02-13 (Mon, 13 Feb 2017) Changed paths: M numpy/lib/shape_base.py M numpy/lib/tests/test_shape_base.py Log Message: ----------- BUG: Don't leak internal exceptions when given an empty array Fixes #7454 Commit: 86bf869ef831e0f2165a97c057c5661fc8b5dbf7 https://github.com/numpy/numpy/commit/86bf869ef831e0f2165a97c057c5661fc8b5dbf7 Author: Marten van Kerkwijk Date: 2017-02-18 (Sat, 18 Feb 2017) Changed paths: M numpy/lib/shape_base.py M numpy/lib/tests/test_shape_base.py Log Message: ----------- Merge pull request #8614 from eric-wieser/apply_along_axis-empty BUG: Don't leak internal exceptions when given an empty array Compare: https://github.com/numpy/numpy/compare/d55f40b1e48d...86bf869ef831 From noreply at github.com Sat Feb 18 15:54:46 2017 From: noreply at github.com (GitHub) Date: Sat, 18 Feb 2017 12:54:46 -0800 Subject: [Numpy-svn] [numpy/numpy] 5719d5: MAINT: ensure benchmark suite is importable on old... Message-ID: <58a8b49634539_10663fc6493edc40159928@hookshot-fe3-cp1-prd.iad.github.net.mail> Branch: refs/heads/master Home: https://github.com/numpy/numpy Commit: 5719d5b881ec1c411e33e3180a4d2b194caf59bb https://github.com/numpy/numpy/commit/5719d5b881ec1c411e33e3180a4d2b194caf59bb Author: Pauli Virtanen Date: 2017-02-18 (Sat, 18 Feb 2017) Changed paths: M benchmarks/benchmarks/bench_random.py Log Message: ----------- MAINT: ensure benchmark suite is importable on old numpy versions Commit: 7a66807ea791c5e2571f09e59ff6dc3fd72c243f https://github.com/numpy/numpy/commit/7a66807ea791c5e2571f09e59ff6dc3fd72c243f Author: Ralf Gommers Date: 2017-02-19 (Sun, 19 Feb 2017) Changed paths: M benchmarks/benchmarks/bench_random.py Log Message: ----------- Merge pull request #8636 from pv/bench-importfix MAINT: ensure benchmark suite is importable on old numpy versions Compare: https://github.com/numpy/numpy/compare/86bf869ef831...7a66807ea791 From noreply at github.com Sat Feb 18 21:19:48 2017 From: noreply at github.com (GitHub) Date: Sat, 18 Feb 2017 18:19:48 -0800 Subject: [Numpy-svn] [numpy/numpy] e7c156: DOC: Fix typo in fill_diagonal docstring. Message-ID: <58a900c416bd9_27d5a3ff27b177c3c1794b7@hookshot-fe-6dbb0c4.cp1-iad.github.net.mail> Branch: refs/heads/master Home: https://github.com/numpy/numpy Commit: e7c15600e2c5e2b66a0e26f8511145c588166271 https://github.com/numpy/numpy/commit/e7c15600e2c5e2b66a0e26f8511145c588166271 Author: Antony Lee Date: 2017-02-18 (Sat, 18 Feb 2017) Changed paths: M numpy/lib/index_tricks.py Log Message: ----------- DOC: Fix typo in fill_diagonal docstring. Commit: 4f8ccdf83cb447a35a410d8904f3299f5a384b9c https://github.com/numpy/numpy/commit/4f8ccdf83cb447a35a410d8904f3299f5a384b9c Author: Eric Wieser Date: 2017-02-19 (Sun, 19 Feb 2017) Changed paths: M numpy/lib/index_tricks.py Log Message: ----------- Merge pull request #8631 from anntzer/fill_diagonal-typo Fix typo in fill_diagonal docstring. Compare: https://github.com/numpy/numpy/compare/7a66807ea791...4f8ccdf83cb4 From noreply at github.com Sun Feb 19 06:36:28 2017 From: noreply at github.com (GitHub) Date: Sun, 19 Feb 2017 03:36:28 -0800 Subject: [Numpy-svn] [numpy/numpy] 8d31fc: DOC: Mention boolean arrays in the ix_ documentati... Message-ID: <58a9833c881d7_28d0f3f842632dc341621f9@hookshot-fe-6dbb0c4.cp1-iad.github.net.mail> Branch: refs/heads/master Home: https://github.com/numpy/numpy Commit: 8d31fcb09b1a704bfa2b692bc322847cfae52132 https://github.com/numpy/numpy/commit/8d31fcb09b1a704bfa2b692bc322847cfae52132 Author: Michael Seifert Date: 2017-02-18 (Sat, 18 Feb 2017) Changed paths: M numpy/lib/index_tricks.py Log Message: ----------- DOC: Mention boolean arrays in the ix_ documentation. Commit: aba10bb5829caee63a20251a226d8cb716ec1125 https://github.com/numpy/numpy/commit/aba10bb5829caee63a20251a226d8cb716ec1125 Author: Eric Wieser Date: 2017-02-19 (Sun, 19 Feb 2017) Changed paths: M numpy/lib/index_tricks.py Log Message: ----------- Merge pull request #8633 from MSeifert04/boolean_arrays_in_ix__func DOC: Mention boolean arrays in the ix_ documentation. Compare: https://github.com/numpy/numpy/compare/4f8ccdf83cb4...aba10bb5829c From noreply at github.com Sun Feb 19 10:09:16 2017 From: noreply at github.com (GitHub) Date: Sun, 19 Feb 2017 07:09:16 -0800 Subject: [Numpy-svn] [numpy/numpy] 0808bc: TST: add a benchmark for indices Message-ID: <58a9b51c4bdc4_1ce63ff396189c40147875@hookshot-fe1-cp1-prd.iad.github.net.mail> Branch: refs/heads/master Home: https://github.com/numpy/numpy Commit: 0808bca3158c2e3b8828277551082eba144c434a https://github.com/numpy/numpy/commit/0808bca3158c2e3b8828277551082eba144c434a Author: Eric Wieser Date: 2017-02-18 (Sat, 18 Feb 2017) Changed paths: M benchmarks/benchmarks/bench_core.py Log Message: ----------- TST: add a benchmark for indices Commit: 82ce0a1e8ccf1b83badb9fac3c2160e5896051b5 https://github.com/numpy/numpy/commit/82ce0a1e8ccf1b83badb9fac3c2160e5896051b5 Author: Eric Wieser Date: 2017-02-18 (Sat, 18 Feb 2017) Changed paths: M numpy/core/numeric.py Log Message: ----------- ENH: Improve the efficiency of indices Previously, this special cased something that needed no special case, and did addition with zero to encourage broadcasting that would happen anyway. Commit: eda7009cf14a9b8e9b03ddd5a8ec369646c8525d https://github.com/numpy/numpy/commit/eda7009cf14a9b8e9b03ddd5a8ec369646c8525d Author: Marten van Kerkwijk Date: 2017-02-19 (Sun, 19 Feb 2017) Changed paths: M benchmarks/benchmarks/bench_core.py M numpy/core/numeric.py Log Message: ----------- Merge pull request #8629 from eric-wieser/speedup-indices ENH: Improve the efficiency of indices Compare: https://github.com/numpy/numpy/compare/aba10bb5829c...eda7009cf14a From noreply at github.com Sun Feb 19 11:54:13 2017 From: noreply at github.com (GitHub) Date: Sun, 19 Feb 2017 08:54:13 -0800 Subject: [Numpy-svn] [numpy/numpy] 5095f4: BUG: Fixed undefined behavior when __array_wrap__ ... Message-ID: <58a9cdb5ad9b3_6983faaab6cbc3c16894b@hookshot-fe6-cp1-prd.iad.github.net.mail> Branch: refs/heads/master Home: https://github.com/numpy/numpy Commit: 5095f42427da68b71459f052148f600144c6762f https://github.com/numpy/numpy/commit/5095f42427da68b71459f052148f600144c6762f Author: Eric Wieser Date: 2017-02-19 (Sun, 19 Feb 2017) Changed paths: M numpy/core/src/umath/ufunc_object.c M numpy/core/tests/test_umath.py Log Message: ----------- BUG: Fixed undefined behavior when __array_wrap__ returns None Now `None` is treated like any other return value, rather than a command to segfault. Commit: ef291401a2952bf8a376269edc0ee10361a5fd71 https://github.com/numpy/numpy/commit/ef291401a2952bf8a376269edc0ee10361a5fd71 Author: Marten van Kerkwijk Date: 2017-02-19 (Sun, 19 Feb 2017) Changed paths: M numpy/core/src/umath/ufunc_object.c M numpy/core/tests/test_umath.py Log Message: ----------- Merge pull request #8618 from eric-wieser/fix-8507 BUG: Fix undefined behaviour induced by bad __array_wrap__ Compare: https://github.com/numpy/numpy/compare/eda7009cf14a...ef291401a295 From noreply at github.com Sun Feb 19 12:39:44 2017 From: noreply at github.com (GitHub) Date: Sun, 19 Feb 2017 09:39:44 -0800 Subject: [Numpy-svn] [numpy/numpy] e54deb: MAINT: Use getmask where possible Message-ID: <58a9d8606196c_e093fdd3ee73c301387fb@hookshot-fe1-cp1-prd.iad.github.net.mail> Branch: refs/heads/master Home: https://github.com/numpy/numpy Commit: e54deb5e1996648c516f32c3be0159cb6dece5a2 https://github.com/numpy/numpy/commit/e54deb5e1996648c516f32c3be0159cb6dece5a2 Author: Eric Wieser Date: 2017-02-09 (Thu, 09 Feb 2017) Changed paths: M numpy/ma/core.py Log Message: ----------- MAINT: Use getmask where possible Commit: 7500cf82370674cb609a8f1824e96d74f48591b8 https://github.com/numpy/numpy/commit/7500cf82370674cb609a8f1824e96d74f48591b8 Author: Eric Wieser Date: 2017-02-09 (Thu, 09 Feb 2017) Changed paths: M numpy/ma/core.py Log Message: ----------- MAINT: Use getmaskarray This is subtly different in behaviour - before, if obj._mask == no_mask, the array was not created. However, this case is not allowed anyway, so this doesn't matter Commit: d5f2962f666f5b811673cfbd1a01912044085395 https://github.com/numpy/numpy/commit/d5f2962f666f5b811673cfbd1a01912044085395 Author: Marten van Kerkwijk Date: 2017-02-19 (Sun, 19 Feb 2017) Changed paths: M numpy/ma/core.py Log Message: ----------- Merge pull request #8645 from eric-wieser/ma-use-getmask MAINT: Use getmask where possible Compare: https://github.com/numpy/numpy/compare/ef291401a295...d5f2962f666f From noreply at github.com Sun Feb 19 12:49:12 2017 From: noreply at github.com (GitHub) Date: Sun, 19 Feb 2017 09:49:12 -0800 Subject: [Numpy-svn] [numpy/numpy] 05f343: BUG: fix wrong odd determination in packbits Message-ID: <58a9da98853b2_1e9d3fc3fbb0dc3c241282@hookshot-fe5-cp1-prd.iad.github.net.mail> Branch: refs/heads/master Home: https://github.com/numpy/numpy Commit: 05f3430ca595e316117d6808051750f4b8c7e233 https://github.com/numpy/numpy/commit/05f3430ca595e316117d6808051750f4b8c7e233 Author: Julian Taylor Date: 2017-02-19 (Sun, 19 Feb 2017) Changed paths: M numpy/core/src/multiarray/compiled_base.c M numpy/lib/tests/test_packbits.py Log Message: ----------- BUG: fix wrong odd determination in packbits closes gh-8637 Commit: 60ad1ec509ba719e21a69282e49b67de381465a7 https://github.com/numpy/numpy/commit/60ad1ec509ba719e21a69282e49b67de381465a7 Author: Charles Harris Date: 2017-02-19 (Sun, 19 Feb 2017) Changed paths: M numpy/core/src/multiarray/compiled_base.c M numpy/lib/tests/test_packbits.py Log Message: ----------- Merge pull request #8638 from juliantaylor/packbits-fix BUG: fix wrong odd determination in packbits Compare: https://github.com/numpy/numpy/compare/d5f2962f666f...60ad1ec509ba From noreply at github.com Mon Feb 20 15:39:09 2017 From: noreply at github.com (GitHub) Date: Mon, 20 Feb 2017 12:39:09 -0800 Subject: [Numpy-svn] [numpy/numpy] 10bf55: BUG: Fix #8510, making MaskedArray.__setitem__ wor... Message-ID: <58ab53ed94783_9bf3f8e14a85c3c169519@hookshot-fe2-cp1-prd.iad.github.net.mail> Branch: refs/heads/master Home: https://github.com/numpy/numpy Commit: 10bf55e6548e970481baf7b333aeab20743e5b3b https://github.com/numpy/numpy/commit/10bf55e6548e970481baf7b333aeab20743e5b3b Author: Eric Wieser Date: 2017-02-20 (Mon, 20 Feb 2017) Changed paths: M numpy/ma/core.py M numpy/ma/tests/test_core.py Log Message: ----------- BUG: Fix #8510, making MaskedArray.__setitem__ work Commit: b8769a21cddc2ded3c140dd0f6b1d744caadacd1 https://github.com/numpy/numpy/commit/b8769a21cddc2ded3c140dd0f6b1d744caadacd1 Author: Marten van Kerkwijk Date: 2017-02-20 (Mon, 20 Feb 2017) Changed paths: M numpy/ma/core.py M numpy/ma/tests/test_core.py Log Message: ----------- Merge pull request #8594 from eric-wieser/MaskedArray.__setitem__ BUG: Fix MaskedArray.__setitem__ Compare: https://github.com/numpy/numpy/compare/60ad1ec509ba...b8769a21cddc From noreply at github.com Mon Feb 20 15:39:38 2017 From: noreply at github.com (GitHub) Date: Mon, 20 Feb 2017 12:39:38 -0800 Subject: [Numpy-svn] [numpy/numpy] 10bf55: BUG: Fix #8510, making MaskedArray.__setitem__ wor... Message-ID: <58ab540ae91d3_9603fceb5d7bc3420935b@hookshot-fe6-cp1-prd.iad.github.net.mail> Branch: refs/heads/maintenance/1.12.x Home: https://github.com/numpy/numpy Commit: 10bf55e6548e970481baf7b333aeab20743e5b3b https://github.com/numpy/numpy/commit/10bf55e6548e970481baf7b333aeab20743e5b3b Author: Eric Wieser Date: 2017-02-20 (Mon, 20 Feb 2017) Changed paths: M numpy/ma/core.py M numpy/ma/tests/test_core.py Log Message: ----------- BUG: Fix #8510, making MaskedArray.__setitem__ work Commit: 9a8e8298d0bac90959ca88a26ab9657603905264 https://github.com/numpy/numpy/commit/9a8e8298d0bac90959ca88a26ab9657603905264 Author: Marten van Kerkwijk Date: 2017-02-20 (Mon, 20 Feb 2017) Changed paths: M numpy/ma/core.py M numpy/ma/tests/test_core.py Log Message: ----------- Merge pull request #8648 from eric-wieser/MaskedArray.__setitem__ Backport 8594 Compare: https://github.com/numpy/numpy/compare/3e453670c570...9a8e8298d0ba From noreply at github.com Mon Feb 20 18:18:01 2017 From: noreply at github.com (GitHub) Date: Mon, 20 Feb 2017 15:18:01 -0800 Subject: [Numpy-svn] [numpy/numpy] 35ea1c: MAINT: retranspile lapack from the supposed source Message-ID: <58ab7929a0285_27f743fbf70c4bc28189084@hookshot-fe-6dbb0c4.cp1-iad.github.net.mail> Branch: refs/heads/master Home: https://github.com/numpy/numpy Commit: 35ea1c9256ee4b82b0fa68f1b51e30128547f5b9 https://github.com/numpy/numpy/commit/35ea1c9256ee4b82b0fa68f1b51e30128547f5b9 Author: Eric Wieser Date: 2016-12-29 (Thu, 29 Dec 2016) Changed paths: M numpy/linalg/lapack_lite/blas_lite.c M numpy/linalg/lapack_lite/dlapack_lite.c M numpy/linalg/lapack_lite/zlapack_lite.c Log Message: ----------- MAINT: retranspile lapack from the supposed source The source used is http://archive.debian.org/debian/pool/main/l/lapack3/lapack3_3.0.20000531a.orig.tar.gz. Originally this was done with a patched f2c, but if the patch isn't provided in the source tree, there's no sensible way to use it Commit: b9731962a8d767abbe9d0c746e8ba734c01c866a https://github.com/numpy/numpy/commit/b9731962a8d767abbe9d0c746e8ba734c01c866a Author: Eric Wieser Date: 2016-12-29 (Thu, 29 Dec 2016) Changed paths: M numpy/linalg/lapack_lite/blas_lite.c M numpy/linalg/lapack_lite/wrapped_routines Log Message: ----------- BUG: Do not repeat xerbla_, which we deliberately replace This is also defined in python_xerbla.c, where we redefine a python-compatible version Commit: debb7a3f2b770e2a0f6356a00f93ebac97f7448b https://github.com/numpy/numpy/commit/debb7a3f2b770e2a0f6356a00f93ebac97f7448b Author: Eric Wieser Date: 2016-12-29 (Thu, 29 Dec 2016) Changed paths: M numpy/linalg/lapack_lite/wrapped_routines Log Message: ----------- MAINT: Sort the functions, for ease of diffing Commit: 224abf8274239474b58cac6d0526e0bfed7079d3 https://github.com/numpy/numpy/commit/224abf8274239474b58cac6d0526e0bfed7079d3 Author: Eric Wieser Date: 2016-12-29 (Thu, 29 Dec 2016) Changed paths: M numpy/linalg/lapack_lite/blas_lite.c M numpy/linalg/lapack_lite/dlapack_lite.c M numpy/linalg/lapack_lite/wrapped_routines M numpy/linalg/lapack_lite/zlapack_lite.c Log Message: ----------- BUG: add missing routines to the transpilation list These are taken from lapack_litemodule.c and umath_linalg.c.src Commit: b5306344ff6977ae38817915f80150ff112afca2 https://github.com/numpy/numpy/commit/b5306344ff6977ae38817915f80150ff112afca2 Author: Eric Wieser Date: 2017-02-20 (Mon, 20 Feb 2017) Changed paths: M .travis.yml Log Message: ----------- TST: Add travis build to force use of lapack_lite Commit: 0a252f5bd51db92130e6dab6efa91c82b483d1a1 https://github.com/numpy/numpy/commit/0a252f5bd51db92130e6dab6efa91c82b483d1a1 Author: Charles Harris Date: 2017-02-20 (Mon, 20 Feb 2017) Changed paths: M .travis.yml M numpy/linalg/lapack_lite/blas_lite.c M numpy/linalg/lapack_lite/dlapack_lite.c M numpy/linalg/lapack_lite/wrapped_routines M numpy/linalg/lapack_lite/zlapack_lite.c Log Message: ----------- Merge pull request #8381 from eric-wieser/rebuild-lapack_lite MAINT: Rebuild lapack lite Compare: https://github.com/numpy/numpy/compare/b8769a21cddc...0a252f5bd51d From noreply at github.com Tue Feb 21 11:26:58 2017 From: noreply at github.com (GitHub) Date: Tue, 21 Feb 2017 08:26:58 -0800 Subject: [Numpy-svn] [numpy/numpy] a1341d: DOC: Fix obsolete data in readme Message-ID: <58ac6a523574f_1c023ff45bcb1c383015c8@hookshot-fe1-cp1-prd.iad.github.net.mail> Branch: refs/heads/fix-8381-docs Home: https://github.com/numpy/numpy Commit: a1341d968f541bf8165fc3d008358fc4ab75c46b https://github.com/numpy/numpy/commit/a1341d968f541bf8165fc3d008358fc4ab75c46b Author: Eric Wieser Date: 2017-02-21 (Tue, 21 Feb 2017) Changed paths: M numpy/linalg/lapack_lite/README.rst Log Message: ----------- DOC: Fix obsolete data in readme Link was dead, and this project is neither Numeric nor in CVS any more. This should have gone into #8381 From noreply at github.com Tue Feb 21 12:59:05 2017 From: noreply at github.com (GitHub) Date: Tue, 21 Feb 2017 09:59:05 -0800 Subject: [Numpy-svn] [numpy/numpy] a1341d: DOC: Fix obsolete data in readme Message-ID: <58ac7fe9a981_15a73f8acd54bc34177697@hookshot-fe1-cp1-prd.iad.github.net.mail> Branch: refs/heads/master Home: https://github.com/numpy/numpy Commit: a1341d968f541bf8165fc3d008358fc4ab75c46b https://github.com/numpy/numpy/commit/a1341d968f541bf8165fc3d008358fc4ab75c46b Author: Eric Wieser Date: 2017-02-21 (Tue, 21 Feb 2017) Changed paths: M numpy/linalg/lapack_lite/README.rst Log Message: ----------- DOC: Fix obsolete data in readme Link was dead, and this project is neither Numeric nor in CVS any more. This should have gone into #8381 Commit: 4e23f599fcd41dc1f9e182ff4b7d40196837b19d https://github.com/numpy/numpy/commit/4e23f599fcd41dc1f9e182ff4b7d40196837b19d Author: Charles Harris Date: 2017-02-21 (Tue, 21 Feb 2017) Changed paths: M numpy/linalg/lapack_lite/README.rst Log Message: ----------- Merge pull request #8650 from numpy/fix-8381-docs DOC: Fix obsolete data in readme Compare: https://github.com/numpy/numpy/compare/0a252f5bd51d...4e23f599fcd4 From noreply at github.com Tue Feb 21 14:37:15 2017 From: noreply at github.com (GitHub) Date: Tue, 21 Feb 2017 11:37:15 -0800 Subject: [Numpy-svn] [numpy/numpy] 6ceb8a: TST: Correct empty square test case to actually be... Message-ID: <58ac96eb31435_17ac3fd26b421c381773e1@hookshot-fe5-cp1-prd.iad.github.net.mail> Branch: refs/heads/master Home: https://github.com/numpy/numpy Commit: 6ceb8a4e64b1e934d6f9db7ce8a341843950fa56 https://github.com/numpy/numpy/commit/6ceb8a4e64b1e934d6f9db7ce8a341843950fa56 Author: Eric Wieser Date: 2016-12-19 (Mon, 19 Dec 2016) Changed paths: M numpy/linalg/tests/test_linalg.py Log Message: ----------- TST: Correct empty square test case to actually be square atleast_2d(array([], dtype=double)) returns an array of shape (1, 0), not (0, 0) Commit: 761f8d5409f8412134ee53d1e85125ff0044cc71 https://github.com/numpy/numpy/commit/761f8d5409f8412134ee53d1e85125ff0044cc71 Author: Eric Wieser Date: 2016-12-19 (Mon, 19 Dec 2016) Changed paths: M numpy/linalg/tests/test_linalg.py Log Message: ----------- TST: Add some non-square 0-shaped test-cases Commit: eb753f8540e7c1085004fe8cb0d1fb863c1c9817 https://github.com/numpy/numpy/commit/eb753f8540e7c1085004fe8cb0d1fb863c1c9817 Author: Eric Wieser Date: 2016-12-19 (Mon, 19 Dec 2016) Changed paths: M numpy/linalg/tests/test_linalg.py Log Message: ----------- TST: Correct pinv test case such that it doesn't fail correct cases Commit: 21a5142c0c5f85487f8de1bba45b0bf75fe8ecbf https://github.com/numpy/numpy/commit/21a5142c0c5f85487f8de1bba45b0bf75fe8ecbf Author: Eric Wieser Date: 2016-12-19 (Mon, 19 Dec 2016) Changed paths: M numpy/linalg/tests/test_linalg.py Log Message: ----------- TST: Prevent non-square testcases being hidden by square ones (fix typo) Commit: 6b60a27aa2e9e83faa51b6f74b4f0e7c14b7f716 https://github.com/numpy/numpy/commit/6b60a27aa2e9e83faa51b6f74b4f0e7c14b7f716 Author: Eric Wieser Date: 2016-12-19 (Mon, 19 Dec 2016) Changed paths: M numpy/linalg/tests/test_linalg.py Log Message: ----------- TST: Enable testing pinv on non-square matrices Commit: 340779f53b56d89aa4044af3b1a382e3e1a15592 https://github.com/numpy/numpy/commit/340779f53b56d89aa4044af3b1a382e3e1a15592 Author: Eric Wieser Date: 2016-12-19 (Mon, 19 Dec 2016) Changed paths: M numpy/linalg/tests/test_linalg.py Log Message: ----------- TST: Adjust the precision of assert_almost_equal, but based on the type SVD was previously being too generous with accuracy on doubles. This allows pinv, the test for which was previously was too imprecise, to pass. Commit: c3442066006015dfa8be714686472434756bf83e https://github.com/numpy/numpy/commit/c3442066006015dfa8be714686472434756bf83e Author: Eric Wieser Date: 2016-12-19 (Mon, 19 Dec 2016) Changed paths: M numpy/linalg/tests/test_linalg.py Log Message: ----------- TST: Refactor all the test case lists Allows each individual function to inspect the flags of a certain test, and decide whether an exception will be thrown Commit: b8f75f0fc73e1afc68c15fb0b9661f436c1f936a https://github.com/numpy/numpy/commit/b8f75f0fc73e1afc68c15fb0b9661f436c1f936a Author: Eric Wieser Date: 2016-12-19 (Mon, 19 Dec 2016) Changed paths: M numpy/linalg/tests/test_linalg.py Log Message: ----------- TST: Correct test cases to actually make sense These testcases were never used in the first place, due to a typo. This makes their dimensions match the order of the other test cases, even though those also did not run Commit: 835653064fc35c08bf001ef9a09c3127d7ea0be7 https://github.com/numpy/numpy/commit/835653064fc35c08bf001ef9a09c3127d7ea0be7 Author: Eric Wieser Date: 2016-12-19 (Mon, 19 Dec 2016) Changed paths: M numpy/linalg/linalg.py Log Message: ----------- BUG: prevent np.linalg.eig ValueError when given a 0x0 array Throw LinAlgError instead with an appropriate message Commit: b28ea1c57c9dba8feec7f616986f2e3e28dd6192 https://github.com/numpy/numpy/commit/b28ea1c57c9dba8feec7f616986f2e3e28dd6192 Author: Eric Wieser Date: 2016-12-19 (Mon, 19 Dec 2016) Changed paths: M numpy/linalg/linalg.py Log Message: ----------- BUG: Raise LinAlgError from lstsq rather than a math domain error from math.log We could make the log conditional on its argument being non-zero, but that entire expression is wrong anyway. We could omit that calculation entirely and have LAPACK calculate it for us, but the routine in LAPACK is wrong anyway We could upgrade the version of lapack shipped in lapack_lite, but the tool to do that is wrong anyway. Let's leave that can of worms for another time, and just improve the error message for now. Commit: 08aa95f17472496c57b3945f60c17c15c6efcd10 https://github.com/numpy/numpy/commit/08aa95f17472496c57b3945f60c17c15c6efcd10 Author: Eric Wieser Date: 2016-12-19 (Mon, 19 Dec 2016) Changed paths: M numpy/linalg/linalg.py Log Message: ----------- BUG: prevent np.linalg.eigh ValueError when given a 0x0 array Throw LinAlgError instead with an appropriate message Commit: e6d81d991fafb7e57306ee784491f7913589756a https://github.com/numpy/numpy/commit/e6d81d991fafb7e57306ee784491f7913589756a Author: Eric Wieser Date: 2017-02-09 (Thu, 09 Feb 2017) Changed paths: M numpy/linalg/tests/test_linalg.py Log Message: ----------- fixup! TST: Refactor all the test case lists Commit: 6b9a02a84c1ad3f69621dc7ae521098e7d9ef21a https://github.com/numpy/numpy/commit/6b9a02a84c1ad3f69621dc7ae521098e7d9ef21a Author: Charles Harris Date: 2017-02-21 (Tue, 21 Feb 2017) Changed paths: M numpy/linalg/linalg.py M numpy/linalg/tests/test_linalg.py Log Message: ----------- Merge pull request #8369 from eric-wieser/fix-broken-test TST: Fix various incorrect linalg tests Compare: https://github.com/numpy/numpy/compare/4e23f599fcd4...6b9a02a84c1a From noreply at github.com Tue Feb 21 15:48:38 2017 From: noreply at github.com (GitHub) Date: Tue, 21 Feb 2017 12:48:38 -0800 Subject: [Numpy-svn] [numpy/numpy] 50c244: TST: Check .flags.writeable on a read-only mmap Message-ID: <58aca7a6e36f_ade3ff264ce9c30181170@hookshot-fe2-cp1-prd.iad.github.net.mail> Branch: refs/heads/master Home: https://github.com/numpy/numpy Commit: 50c244d1092593303771fefefedfd2d79e92513a https://github.com/numpy/numpy/commit/50c244d1092593303771fefefedfd2d79e92513a Author: Ronan Lamy Date: 2017-02-21 (Tue, 21 Feb 2017) Changed paths: M numpy/core/tests/test_memmap.py Log Message: ----------- TST: Check .flags.writeable on a read-only mmap Commit: 070b9660282288fa8bb376533667f31613373337 https://github.com/numpy/numpy/commit/070b9660282288fa8bb376533667f31613373337 Author: Eric Wieser Date: 2017-02-21 (Tue, 21 Feb 2017) Changed paths: M numpy/core/tests/test_memmap.py Log Message: ----------- Merge pull request #8652 from rlamy/mmap-writeable Improve testing of read-only mmaps Compare: https://github.com/numpy/numpy/compare/6b9a02a84c1a...070b96602822 From noreply at github.com Tue Feb 21 15:58:10 2017 From: noreply at github.com (GitHub) Date: Tue, 21 Feb 2017 12:58:10 -0800 Subject: [Numpy-svn] [numpy/numpy] 564b7c: MAINT: Use the same error message for most C code ... Message-ID: <58aca9e2558ff_4693feac4201c341983b5@hookshot-fe2-cp1-prd.iad.github.net.mail> Branch: refs/heads/master Home: https://github.com/numpy/numpy Commit: 564b7cbcf2d6d50a5ca059dca2f149fa47221961 https://github.com/numpy/numpy/commit/564b7cbcf2d6d50a5ca059dca2f149fa47221961 Author: Eric Wieser Date: 2017-02-20 (Mon, 20 Feb 2017) Changed paths: M numpy/core/src/multiarray/common.h M numpy/core/src/multiarray/conversion_utils.c M numpy/core/src/multiarray/ctors.c M numpy/core/src/multiarray/item_selection.c M numpy/core/src/multiarray/multiarraymodule.c M numpy/core/src/multiarray/shape.c M numpy/core/src/umath/ufunc_object.c Log Message: ----------- MAINT: Use the same error message for most C code handling negative axes Commit: 763589d5adbda6230b30ba054cda7206dd14d379 https://github.com/numpy/numpy/commit/763589d5adbda6230b30ba054cda7206dd14d379 Author: Eric Wieser Date: 2017-02-20 (Mon, 20 Feb 2017) Changed paths: M numpy/add_newdocs.py M numpy/core/src/multiarray/multiarraymodule.c Log Message: ----------- ENH: Expose np.core.multiarray.normalize_axis_index(axis, ndim) Commit: 370b6506f128460371484a50c813d66e64582f44 https://github.com/numpy/numpy/commit/370b6506f128460371484a50c813d66e64582f44 Author: Eric Wieser Date: 2017-02-20 (Mon, 20 Feb 2017) Changed paths: M numpy/core/numeric.py M numpy/core/shape_base.py M numpy/core/tests/test_multiarray.py M numpy/core/tests/test_numeric.py M numpy/core/tests/test_ufunc.py M numpy/lib/function_base.py M numpy/lib/shape_base.py M numpy/linalg/linalg.py M numpy/linalg/tests/test_linalg.py M numpy/ma/core.py M numpy/ma/extras.py M numpy/ma/tests/test_core.py M numpy/polynomial/chebyshev.py M numpy/polynomial/hermite.py M numpy/polynomial/hermite_e.py M numpy/polynomial/laguerre.py M numpy/polynomial/legendre.py M numpy/polynomial/polynomial.py Log Message: ----------- MAINT: Use normalize_axis_index in all python axis checking As a result, some exceptions change from ValueError to IndexError This also changes the exception types raised in places where normalize_axis_index is not quite appropriate Commit: eb642f1b6533fcd92e366377f5859e4ea56d5eed https://github.com/numpy/numpy/commit/eb642f1b6533fcd92e366377f5859e4ea56d5eed Author: Eric Wieser Date: 2017-02-20 (Mon, 20 Feb 2017) Changed paths: M numpy/core/_internal.py M numpy/core/numeric.py M numpy/core/src/multiarray/common.h Log Message: ----------- ENH: For compatibility, use an exception type that subclasses both original types Commit: 8d6ec65c925ebef5e0567708de1d16df39077c9d https://github.com/numpy/numpy/commit/8d6ec65c925ebef5e0567708de1d16df39077c9d Author: Eric Wieser Date: 2017-02-20 (Mon, 20 Feb 2017) Changed paths: M numpy/core/numeric.py M numpy/core/tests/test_multiarray.py M numpy/core/tests/test_numeric.py M numpy/core/tests/test_shape_base.py M numpy/core/tests/test_ufunc.py M numpy/lib/tests/test_function_base.py M numpy/linalg/tests/test_linalg.py M numpy/ma/core.py M numpy/ma/tests/test_core.py Log Message: ----------- MAINT: Be specific about where AxisError is raised These were tested by temporarily removing the base classes from AxisError Commit: 2aabeafb97bea4e1bfa29d946fbf31e1104e7ae0 https://github.com/numpy/numpy/commit/2aabeafb97bea4e1bfa29d946fbf31e1104e7ae0 Author: Marten van Kerkwijk Date: 2017-02-21 (Tue, 21 Feb 2017) Changed paths: M numpy/add_newdocs.py M numpy/core/_internal.py M numpy/core/numeric.py M numpy/core/shape_base.py M numpy/core/src/multiarray/common.h M numpy/core/src/multiarray/conversion_utils.c M numpy/core/src/multiarray/ctors.c M numpy/core/src/multiarray/item_selection.c M numpy/core/src/multiarray/multiarraymodule.c M numpy/core/src/multiarray/shape.c M numpy/core/src/umath/ufunc_object.c M numpy/core/tests/test_multiarray.py M numpy/core/tests/test_numeric.py M numpy/core/tests/test_shape_base.py M numpy/core/tests/test_ufunc.py M numpy/lib/function_base.py M numpy/lib/shape_base.py M numpy/lib/tests/test_function_base.py M numpy/linalg/linalg.py M numpy/linalg/tests/test_linalg.py M numpy/ma/core.py M numpy/ma/extras.py M numpy/ma/tests/test_core.py M numpy/polynomial/chebyshev.py M numpy/polynomial/hermite.py M numpy/polynomial/hermite_e.py M numpy/polynomial/laguerre.py M numpy/polynomial/legendre.py M numpy/polynomial/polynomial.py Log Message: ----------- Merge pull request #8584 from eric-wieser/resolve_axis MAINT: Use the same exception for all bad axis requests Compare: https://github.com/numpy/numpy/compare/070b96602822...2aabeafb97be From noreply at github.com Tue Feb 21 18:26:09 2017 From: noreply at github.com (GitHub) Date: Tue, 21 Feb 2017 15:26:09 -0800 Subject: [Numpy-svn] [numpy/numpy] 425e97: ENH: Allow outer to be called without flattening Message-ID: <58accc914f1e0_284df3fb1bc01bc30265977@hookshot-fe-6dbb0c4.cp1-iad.github.net.mail> Branch: refs/heads/outer-without-flatten Home: https://github.com/numpy/numpy Commit: 425e97c6bdce78dd3559ec13c51fc0317ecc5b00 https://github.com/numpy/numpy/commit/425e97c6bdce78dd3559ec13c51fc0317ecc5b00 Author: Eric Wieser Date: 2017-02-21 (Tue, 21 Feb 2017) Changed paths: M numpy/core/numeric.py Log Message: ----------- ENH: Allow outer to be called without flattening From noreply at github.com Tue Feb 21 19:08:22 2017 From: noreply at github.com (GitHub) Date: Tue, 21 Feb 2017 16:08:22 -0800 Subject: [Numpy-svn] [numpy/numpy] Message-ID: <58acd676c6d4a_17763fcde4001c2425149a@hookshot-fe3-cp1-prd.iad.github.net.mail> Branch: refs/heads/outer-without-flatten Home: https://github.com/numpy/numpy From noreply at github.com Tue Feb 21 19:12:13 2017 From: noreply at github.com (GitHub) Date: Tue, 21 Feb 2017 16:12:13 -0800 Subject: [Numpy-svn] [numpy/numpy] Message-ID: <58acd75d85f06_11803feeeab47c38182448@hookshot-fe6-cp1-prd.iad.github.net.mail> Branch: refs/heads/fix-8381-docs Home: https://github.com/numpy/numpy From noreply at github.com Tue Feb 21 19:41:12 2017 From: noreply at github.com (GitHub) Date: Tue, 21 Feb 2017 16:41:12 -0800 Subject: [Numpy-svn] [numpy/numpy] Message-ID: <58acde28a1579_3f53fa07976bc3c1023c5@hookshot-fe2-cp1-prd.iad.github.net.mail> Branch: refs/heads/auto Home: https://github.com/numpy/numpy From noreply at github.com Tue Feb 21 21:52:09 2017 From: noreply at github.com (GitHub) Date: Tue, 21 Feb 2017 18:52:09 -0800 Subject: [Numpy-svn] [numpy/numpy] 77f43f: MAINT: Squelch parenthesis warnings from GCC Message-ID: <58acfcd95e0a2_38f3fd90cad7c38210129@hookshot-fe6-cp1-prd.iad.github.net.mail> Branch: refs/heads/master Home: https://github.com/numpy/numpy Commit: 77f43f05df36e8137d8ccd0f3a1c35b48255107d https://github.com/numpy/numpy/commit/77f43f05df36e8137d8ccd0f3a1c35b48255107d Author: Eric Wieser Date: 2017-02-21 (Tue, 21 Feb 2017) Changed paths: M numpy/linalg/lapack_lite/blas_lite.c M numpy/linalg/lapack_lite/dlapack_lite.c M numpy/linalg/lapack_lite/make_lite.py M numpy/linalg/lapack_lite/zlapack_lite.c Log Message: ----------- MAINT: Squelch parenthesis warnings from GCC These were previously avoided by patching f2c, but this was more work for little gain, and the patch was not committed. Commit: a8006597aaa2e0648e1ab0a9edb9294bb1b657a5 https://github.com/numpy/numpy/commit/a8006597aaa2e0648e1ab0a9edb9294bb1b657a5 Author: Charles Harris Date: 2017-02-21 (Tue, 21 Feb 2017) Changed paths: M numpy/linalg/lapack_lite/blas_lite.c M numpy/linalg/lapack_lite/dlapack_lite.c M numpy/linalg/lapack_lite/make_lite.py M numpy/linalg/lapack_lite/zlapack_lite.c Log Message: ----------- Merge pull request #8655 from eric-wieser/lapack_lite-warning-squelch MAINT: Squelch parenthesis warnings from GCC Compare: https://github.com/numpy/numpy/compare/2aabeafb97be...a8006597aaa2 From noreply at github.com Wed Feb 22 03:52:21 2017 From: noreply at github.com (GitHub) Date: Wed, 22 Feb 2017 00:52:21 -0800 Subject: [Numpy-svn] [numpy/numpy] 9df4a5: BUG: fix denormal linspace test for longdouble Message-ID: <58ad5145ba77_2832d3fe31f507c2821016f@hookshot-fe-6dbb0c4.cp1-iad.github.net.mail> Branch: refs/heads/master Home: https://github.com/numpy/numpy Commit: 9df4a528b57d0d95d84132394178e65ba2683159 https://github.com/numpy/numpy/commit/9df4a528b57d0d95d84132394178e65ba2683159 Author: Matthew Brett Date: 2017-02-21 (Tue, 21 Feb 2017) Changed paths: M numpy/core/tests/test_function_base.py Log Message: ----------- BUG: fix denormal linspace test for longdouble Linspace test was testing for case where simply dividing the range by the number of samples generates 0, as the case for very small denormals. The implementation generating the denormal only worked to exercise that code for float64. Make a small denormal that does exercise that case, as least for longdouble, as well as float64. Closes gh-8565. Commit: 78df10f58d8963829865515f98695f04a1f76e00 https://github.com/numpy/numpy/commit/78df10f58d8963829865515f98695f04a1f76e00 Author: Matthew Brett Date: 2017-02-21 (Tue, 21 Feb 2017) Changed paths: M numpy/core/tests/test_umath.py Log Message: ----------- TST: add tests of nextafter around 0 Check that nextafter(0) gives number in range ]0 ... tiny[, and number divided by 2 is 0 (denormal). Commit: 85cd7b7e1ef04a498dbb84fc7d7fb35881a73183 https://github.com/numpy/numpy/commit/85cd7b7e1ef04a498dbb84fc7d7fb35881a73183 Author: Eric Wieser Date: 2017-02-22 (Wed, 22 Feb 2017) Changed paths: M numpy/core/tests/test_function_base.py M numpy/core/tests/test_umath.py Log Message: ----------- Merge pull request #8658 from matthew-brett/fix-denormal-linspace-test BUG: fix denormal linspace test for longdouble Compare: https://github.com/numpy/numpy/compare/a8006597aaa2...85cd7b7e1ef0 From noreply at github.com Wed Feb 22 09:53:33 2017 From: noreply at github.com (GitHub) Date: Wed, 22 Feb 2017 06:53:33 -0800 Subject: [Numpy-svn] [numpy/numpy] 1e7a01: BUG: PPC64el machines are POWER for Fortran Message-ID: <58ada5ed45175_16a83fdea43b9c38242029@hookshot-fe1-cp1-prd.iad.github.net.mail> Branch: refs/heads/master Home: https://github.com/numpy/numpy Commit: 1e7a01bf765986fc59fd3c8a218dc059bf5a224e https://github.com/numpy/numpy/commit/1e7a01bf765986fc59fd3c8a218dc059bf5a224e Author: Matthew Brett Date: 2017-02-21 (Tue, 21 Feb 2017) Changed paths: M numpy/f2py/crackfortran.py Log Message: ----------- BUG: PPC64el machines are POWER for Fortran Fix Fortran kind detection for PPC64el. See: gh-3424. Commit: 9002b7b47a407e162caf3964d9e52a33dda05388 https://github.com/numpy/numpy/commit/9002b7b47a407e162caf3964d9e52a33dda05388 Author: Charles Harris Date: 2017-02-22 (Wed, 22 Feb 2017) Changed paths: M numpy/f2py/crackfortran.py Log Message: ----------- Merge pull request #8659 from matthew-brett/ppc64el-detection BUG: PPC64el machines are POWER for Fortran Compare: https://github.com/numpy/numpy/compare/85cd7b7e1ef0...9002b7b47a40 From noreply at github.com Wed Feb 22 11:14:39 2017 From: noreply at github.com (GitHub) Date: Wed, 22 Feb 2017 08:14:39 -0800 Subject: [Numpy-svn] [numpy/numpy] f6a075: DOC: gradient supports unevenly spaced data Message-ID: <58adb8ef576c5_216b3ff7dc041c30244594@hookshot-fe5-cp1-prd.iad.github.net.mail> Branch: refs/heads/master Home: https://github.com/numpy/numpy Commit: f6a07571df745f01eaccf4b05b8476da6f0b5833 https://github.com/numpy/numpy/commit/f6a07571df745f01eaccf4b05b8476da6f0b5833 Author: Alessandro Pietro Bardelli Date: 2017-02-22 (Wed, 22 Feb 2017) Changed paths: M doc/release/1.13.0-notes.rst Log Message: ----------- DOC: gradient supports unevenly spaced data Commit: 9520de90837d0afaac3d1612047f4b952563b3d5 https://github.com/numpy/numpy/commit/9520de90837d0afaac3d1612047f4b952563b3d5 Author: Alessandro Pietro Bardelli Date: 2017-02-22 (Wed, 22 Feb 2017) Changed paths: M numpy/lib/function_base.py M numpy/lib/tests/test_function_base.py Log Message: ----------- ENH: gradient support for unevenly spaced data This somehow reverts #7618 and solves #6847, #7548 by implementing support for unevenly spaced data. Now the behaviour is similar to that of Matlab/Octave function. As argument it can take: 1. A single scalar to specify a sample distance for all dimensions. 2. N scalars to specify a constant sample distance for each dimension. i.e. `dx`, `dy`, `dz`, ... 3. N arrays to specify the coordinates of the values along each dimension of F. The length of the array must match the size of the corresponding dimension 4. Any combination of N scalars/arrays with the meaning of 2. and 3. Commit: 171866e48d9c320a0acb44d1c822371d942de495 https://github.com/numpy/numpy/commit/171866e48d9c320a0acb44d1c822371d942de495 Author: Charles Harris Date: 2017-02-22 (Wed, 22 Feb 2017) Changed paths: M doc/release/1.13.0-notes.rst M numpy/lib/function_base.py M numpy/lib/tests/test_function_base.py Log Message: ----------- Merge pull request #8446 from apbard/ENH-gradient-with-uneven-spacing ENH: gradient support for unevenly spaced data Compare: https://github.com/numpy/numpy/compare/9002b7b47a40...171866e48d9c From noreply at github.com Wed Feb 22 17:27:56 2017 From: noreply at github.com (GitHub) Date: Wed, 22 Feb 2017 14:27:56 -0800 Subject: [Numpy-svn] [numpy/numpy] 60961d: BUG: allow for precision > 20 in longdouble repr Message-ID: <58ae106ce4ffd_dd53fbe85595c30198232@hookshot-fe6-cp1-prd.iad.github.net.mail> Branch: refs/heads/master Home: https://github.com/numpy/numpy Commit: 60961dd49badde39f387b63d1b40514c87347f1c https://github.com/numpy/numpy/commit/60961dd49badde39f387b63d1b40514c87347f1c Author: Matthew Brett Date: 2017-02-22 (Wed, 22 Feb 2017) Changed paths: M numpy/core/tests/test_longdouble.py Log Message: ----------- BUG: allow for precision > 20 in longdouble repr Precision of repr set to 22 when longdouble != double, but this isn't enough for double double (precision 33) or float128 (precision 34). If repr precision is not high enough to show eps value, skip the test. Closes gh-7940. Commit: cd2446cbf34ffd48f19255b9c9751c2f18c52c6b https://github.com/numpy/numpy/commit/cd2446cbf34ffd48f19255b9c9751c2f18c52c6b Author: Matthew Brett Date: 2017-02-22 (Wed, 22 Feb 2017) Changed paths: M numpy/core/tests/test_longdouble.py Log Message: ----------- BUG: re-enable test with duplicate name test_longdouble had two tests called test_fromstring_foreign, so the second was overwriting the first. Rename the first so test gets run. Commit: 58d7c8cc7cb445ca3e5d4b650d738ea6476147ed https://github.com/numpy/numpy/commit/58d7c8cc7cb445ca3e5d4b650d738ea6476147ed Author: Eric Wieser Date: 2017-02-22 (Wed, 22 Feb 2017) Changed paths: M numpy/core/tests/test_longdouble.py Log Message: ----------- Merge pull request #8656 from matthew-brett/skip-repr-test BUG: allow for precision > 17 in longdouble repr test Compare: https://github.com/numpy/numpy/compare/171866e48d9c...58d7c8cc7cb4 From noreply at github.com Wed Feb 22 17:41:02 2017 From: noreply at github.com (GitHub) Date: Wed, 22 Feb 2017 14:41:02 -0800 Subject: [Numpy-svn] [numpy/numpy] c5de32: DOC: Added more common example for np.c_ Message-ID: <58ae137e9f7bf_ec53f82bac45c30284455@hookshot-fe6-cp1-prd.iad.github.net.mail> Branch: refs/heads/master Home: https://github.com/numpy/numpy Commit: c5de3222fa801e4a4e425116d4157cf1abb6813f https://github.com/numpy/numpy/commit/c5de3222fa801e4a4e425116d4157cf1abb6813f Author: Philipp A Date: 2017-02-22 (Wed, 22 Feb 2017) Changed paths: M numpy/lib/index_tricks.py Log Message: ----------- DOC: Added more common example for np.c_ I mostly use that object to bind 1D arrays as columns, so I added an example for that use case. Commit: 5e725ac3d50d1829a866273078e4a634b6b2b2cd https://github.com/numpy/numpy/commit/5e725ac3d50d1829a866273078e4a634b6b2b2cd Author: Philipp A Date: 2017-02-22 (Wed, 22 Feb 2017) Changed paths: M numpy/lib/index_tricks.py Log Message: ----------- DOC: Added ?See Also? section for c_ Commit: f24da28e7bef4befa51354fff864bb7b5b3e07f9 https://github.com/numpy/numpy/commit/f24da28e7bef4befa51354fff864bb7b5b3e07f9 Author: Eric Wieser Date: 2017-02-22 (Wed, 22 Feb 2017) Changed paths: M numpy/lib/index_tricks.py Log Message: ----------- Merge pull request #8668 from flying-sheep/patch-1 DOC: Add more examples for np.c_ Compare: https://github.com/numpy/numpy/compare/58d7c8cc7cb4...f24da28e7bef From noreply at github.com Wed Feb 22 22:40:12 2017 From: noreply at github.com (GitHub) Date: Wed, 22 Feb 2017 19:40:12 -0800 Subject: [Numpy-svn] [numpy/numpy] 0a4760: BUG: Look up methods on MaskedArray in _frommethod Message-ID: <58ae599cb5b31_d273fba8fd81c2c25101e@hookshot-fe6-cp1-prd.iad.github.net.mail> Branch: refs/heads/master Home: https://github.com/numpy/numpy Commit: 0a476002600cb42068a899f4dc2cf0bc8cdb26d7 https://github.com/numpy/numpy/commit/0a476002600cb42068a899f4dc2cf0bc8cdb26d7 Author: Shota Kawabuchi Date: 2017-02-22 (Wed, 22 Feb 2017) Changed paths: M numpy/ma/core.py M numpy/ma/tests/test_core.py Log Message: ----------- BUG: Look up methods on MaskedArray in _frommethod Fixes #8019 Commit: 0bc42fc2194c4a7cbc8fa77165e25365e3e46012 https://github.com/numpy/numpy/commit/0bc42fc2194c4a7cbc8fa77165e25365e3e46012 Author: Eric Wieser Date: 2017-02-22 (Wed, 22 Feb 2017) Changed paths: M numpy/ma/core.py Log Message: ----------- BUG: Fix asanyarray, workaround #8666 Commit: 081a865d3d243c282dc452c28dbe89e80d8bccb0 https://github.com/numpy/numpy/commit/081a865d3d243c282dc452c28dbe89e80d8bccb0 Author: ahaldane Date: 2017-02-22 (Wed, 22 Feb 2017) Changed paths: M numpy/ma/core.py M numpy/ma/tests/test_core.py Log Message: ----------- Merge pull request #8665 from eric-wieser/better-ma-method-lookup BUG: Look up methods on MaskedArray in _frommethod Compare: https://github.com/numpy/numpy/compare/f24da28e7bef...081a865d3d24 From noreply at github.com Thu Feb 23 05:17:38 2017 From: noreply at github.com (GitHub) Date: Thu, 23 Feb 2017 02:17:38 -0800 Subject: [Numpy-svn] [numpy/numpy] f228d7: BUG: Correct signature of inherited method Message-ID: <58aeb6c27f725_7e193f9193a45c4018721@hookshot-fe2-cp1-prd.iad.github.net.mail> Branch: refs/heads/master Home: https://github.com/numpy/numpy Commit: f228d75bfa4d4f3964dfc6cbfbbf982e95ce94ab https://github.com/numpy/numpy/commit/f228d75bfa4d4f3964dfc6cbfbbf982e95ce94ab Author: Roland Kaufmann Date: 2017-02-23 (Thu, 23 Feb 2017) Changed paths: M numpy/distutils/msvccompiler.py Log Message: ----------- BUG: Correct signature of inherited method The msvccompiler module is made in the same mold as the msvc9compiler module; saving the two environment variables around the call to initialize. However, the signaure in the msvccompiler module's version of the MSVCCompiler class, there is no plat_name argument to the method. Since this is not used anyway but just passed along, it can simply be removed. This bug can be exposed even if you are not using the Intel Fortran compiler, because the class is loaded in an attempt to probe for all compilers, if the correct compiler is not found yet. Commit: d16e4f1cc51a61b1eca657a9c17fe847f7d36479 https://github.com/numpy/numpy/commit/d16e4f1cc51a61b1eca657a9c17fe847f7d36479 Author: Roland Kaufmann Date: 2017-02-23 (Thu, 23 Feb 2017) Changed paths: M numpy/distutils/mingw32ccompiler.py Log Message: ----------- BUG: Skip custom library check if not MSVC runtime If Python has been built using a different runtime, for example using the GNU compiler in MSYS, the version string will of course not contain a reference to the MSVC runtime. Instead of attempting to build an import library for yet another runtime, we assume that the compiler used to build the extension is now the same as was used to build Python, and that it will pass the right runtime to the linker without any further command-line options. Commit: f6fe0239599f7846168a01f9f64ea74e39c49236 https://github.com/numpy/numpy/commit/f6fe0239599f7846168a01f9f64ea74e39c49236 Author: Ralf Gommers Date: 2017-02-23 (Thu, 23 Feb 2017) Changed paths: M numpy/distutils/mingw32ccompiler.py M numpy/distutils/msvccompiler.py Log Message: ----------- Merge pull request #8675 from rolk/8675_msys2 BUG: Fix problems detecting runtime for MSYS2 compiler on Windows Compare: https://github.com/numpy/numpy/compare/081a865d3d24...f6fe0239599f From noreply at github.com Thu Feb 23 09:22:29 2017 From: noreply at github.com (GitHub) Date: Thu, 23 Feb 2017 06:22:29 -0800 Subject: [Numpy-svn] [numpy/numpy] 6a63d9: MAINT: We can now rely on itertools.izip_longest e... Message-ID: <58aef025ab532_9633fa681db9c342143d9@hookshot-fe2-cp1-prd.iad.github.net.mail> Branch: refs/heads/master Home: https://github.com/numpy/numpy Commit: 6a63d989007c97b85fd1e7119deb265fed4ef8c2 https://github.com/numpy/numpy/commit/6a63d989007c97b85fd1e7119deb265fed4ef8c2 Author: Eric Wieser Date: 2017-02-23 (Thu, 23 Feb 2017) Changed paths: M numpy/lib/recfunctions.py Log Message: ----------- MAINT: We can now rely on itertools.izip_longest existing Commit: ddf8d9d8b6c521df8cba9edb3a101e9686c684af https://github.com/numpy/numpy/commit/ddf8d9d8b6c521df8cba9edb3a101e9686c684af Author: Julian Taylor Date: 2017-02-23 (Thu, 23 Feb 2017) Changed paths: M numpy/lib/recfunctions.py Log Message: ----------- Merge pull request #8677 from eric-wieser/use-izip_longest MAINT: We can now rely on itertools.izip_longest existing Compare: https://github.com/numpy/numpy/compare/f6fe0239599f...ddf8d9d8b6c5 From noreply at github.com Thu Feb 23 13:57:46 2017 From: noreply at github.com (GitHub) Date: Thu, 23 Feb 2017 10:57:46 -0800 Subject: [Numpy-svn] [numpy/numpy] b10b40: BUG: Remove extra digit in binary_repr at limit Message-ID: <58af30aaa251b_28a353fbaac09dc3c1950d0@hookshot-fe-6dbb0c4.cp1-iad.github.net.mail> Branch: refs/heads/master Home: https://github.com/numpy/numpy Commit: b10b4087132d51ee33bf5e0777282af23d6ee3cd https://github.com/numpy/numpy/commit/b10b4087132d51ee33bf5e0777282af23d6ee3cd Author: gfyoung Date: 2017-02-23 (Thu, 23 Feb 2017) Changed paths: M numpy/core/numeric.py M numpy/core/tests/test_numeric.py Log Message: ----------- BUG: Remove extra digit in binary_repr at limit For negative numbers at the limit for a given number of digits, we were appending an extra digit unnecessarily. Closes gh-8670. Commit: e0577251672dd2ceb905a6589beb1bf6825f98fc https://github.com/numpy/numpy/commit/e0577251672dd2ceb905a6589beb1bf6825f98fc Author: Charles Harris Date: 2017-02-23 (Thu, 23 Feb 2017) Changed paths: M numpy/core/numeric.py M numpy/core/tests/test_numeric.py Log Message: ----------- Merge pull request #8674 from gfyoung/binary-repr-boundary BUG: Remove extra digit in binary_repr at limit Compare: https://github.com/numpy/numpy/compare/ddf8d9d8b6c5...e0577251672d From noreply at github.com Thu Feb 23 17:34:06 2017 From: noreply at github.com (GitHub) Date: Thu, 23 Feb 2017 14:34:06 -0800 Subject: [Numpy-svn] [numpy/numpy] 498cd6: DOC: Removed broken link Message-ID: <58af635eba73f_26f83fc370685c2c98337@hookshot-fe3-cp1-prd.iad.github.net.mail> Branch: refs/heads/master Home: https://github.com/numpy/numpy Commit: 498cd6d6b1daa29f61602edc66035c8bdcee0430 https://github.com/numpy/numpy/commit/498cd6d6b1daa29f61602edc66035c8bdcee0430 Author: Jesse Thoren Date: 2017-02-23 (Thu, 23 Feb 2017) Changed paths: M numpy/doc/subclassing.py Log Message: ----------- DOC: Removed broken link Removed a broken link from the subclassing ndarray in the user guide. Removed credit to Pierre Gerard-Marchant, as this is out of place in the user guide. #8673 Commit: 97b1dfc2a7f48833084adcd234503b979c9e7fd7 https://github.com/numpy/numpy/commit/97b1dfc2a7f48833084adcd234503b979c9e7fd7 Author: Charles Harris Date: 2017-02-23 (Thu, 23 Feb 2017) Changed paths: M numpy/doc/subclassing.py Log Message: ----------- Merge pull request #8680 from jesseakt/patch-1 DOC: Removed broken link Compare: https://github.com/numpy/numpy/compare/e0577251672d...97b1dfc2a7f4 From noreply at github.com Thu Feb 23 19:21:05 2017 From: noreply at github.com (GitHub) Date: Thu, 23 Feb 2017 16:21:05 -0800 Subject: [Numpy-svn] [numpy/numpy] 89944e: ENH: Allow for an in-place nan_to_num conversion. ... Message-ID: <58af7c7179aa7_1c403fce4c26bc2c265799@hookshot-fe5-cp1-prd.iad.github.net.mail> Branch: refs/heads/master Home: https://github.com/numpy/numpy Commit: 89944e80e6fc9bc47d1666b9a7572827138f90e3 https://github.com/numpy/numpy/commit/89944e80e6fc9bc47d1666b9a7572827138f90e3 Author: Joshua Loyal Date: 2017-02-20 (Mon, 20 Feb 2017) Changed paths: M numpy/lib/tests/test_type_check.py M numpy/lib/type_check.py Log Message: ----------- ENH: Allow for an in-place nan_to_num conversion. Fixes #8634 Commit: 5f5ccecbfc116284ed8c8d53cd8b203ceef5f7c7 https://github.com/numpy/numpy/commit/5f5ccecbfc116284ed8c8d53cd8b203ceef5f7c7 Author: Eric Wieser Date: 2017-02-24 (Fri, 24 Feb 2017) Changed paths: M numpy/lib/tests/test_type_check.py M numpy/lib/type_check.py Log Message: ----------- Merge pull request #8646 from joshloyal/enh-inplace-nan_to_num ENH: Allow for an in-place nan_to_num conversion Compare: https://github.com/numpy/numpy/compare/97b1dfc2a7f4...5f5ccecbfc11 From noreply at github.com Fri Feb 24 18:03:17 2017 From: noreply at github.com (GitHub) Date: Fri, 24 Feb 2017 15:03:17 -0800 Subject: [Numpy-svn] [numpy/numpy] 579718: ENH: Add tool to check for deprecated escaped char... Message-ID: <58b0bbb5c8144_4083fbc237bfc2c2078c2@hookshot-fe2-cp1-prd.iad.github.net.mail> Branch: refs/heads/master Home: https://github.com/numpy/numpy Commit: 579718f1546df1e539cd2f7fbaf1617f06412eca https://github.com/numpy/numpy/commit/579718f1546df1e539cd2f7fbaf1617f06412eca Author: Charles Harris Date: 2017-02-24 (Fri, 24 Feb 2017) Changed paths: A tools/find_deprecated_escaped_characters.py Log Message: ----------- ENH: Add tool to check for deprecated escaped characters. Python 3.6 deprecates a number of escaped characters that were accepted before. For instance, '\(' was previously accepted but must now be written as '\\(' or r'\('. [ci skip] Commit: d7d3e212ce1ff176c718485aed889c77a48ef88f https://github.com/numpy/numpy/commit/d7d3e212ce1ff176c718485aed889c77a48ef88f Author: Charles Harris Date: 2017-02-24 (Fri, 24 Feb 2017) Changed paths: M numpy/core/code_generators/genapi.py M numpy/lib/function_base.py Log Message: ----------- MAINT: Fix use of Python 2.6 deprecated escape sequences. Closes #8687. Commit: 3073627398ed4b4637e9bb8c19a3fe598ffc1680 https://github.com/numpy/numpy/commit/3073627398ed4b4637e9bb8c19a3fe598ffc1680 Author: Charles Harris Date: 2017-02-24 (Fri, 24 Feb 2017) Changed paths: M numpy/core/code_generators/genapi.py M numpy/lib/function_base.py A tools/find_deprecated_escaped_characters.py Log Message: ----------- Merge pull request #8384 from charris/add-escaped-character-check ENH: Add tool to check for deprecated escaped characters. Compare: https://github.com/numpy/numpy/compare/5f5ccecbfc11...3073627398ed From noreply at github.com Fri Feb 24 18:04:38 2017 From: noreply at github.com (GitHub) Date: Fri, 24 Feb 2017 15:04:38 -0800 Subject: [Numpy-svn] [numpy/numpy] 2cd13f: DOC: Added note to np.diff Message-ID: <58b0bc068f8c4_75a3ff16c2dfc38368987@hookshot-fe2-cp1-prd.iad.github.net.mail> Branch: refs/heads/master Home: https://github.com/numpy/numpy Commit: 2cd13fec69551b1718763a03c180b85bf820f139 https://github.com/numpy/numpy/commit/2cd13fec69551b1718763a03c180b85bf820f139 Author: Joseph Fox-Rabinovitz Date: 2017-02-24 (Fri, 24 Feb 2017) Changed paths: M numpy/lib/function_base.py Log Message: ----------- DOC: Added note to np.diff Also noted that type is preserved. [ci skip] Commit: 23ac8554b680ae86baf5345af6f18097afe591ce https://github.com/numpy/numpy/commit/23ac8554b680ae86baf5345af6f18097afe591ce Author: Charles Harris Date: 2017-02-24 (Fri, 24 Feb 2017) Changed paths: M numpy/lib/function_base.py Log Message: ----------- Merge pull request #8688 from madphysicist/patch-1 DOC: Added note to np.diff Compare: https://github.com/numpy/numpy/compare/3073627398ed...23ac8554b680 From noreply at github.com Fri Feb 24 20:18:22 2017 From: noreply at github.com (GitHub) Date: Fri, 24 Feb 2017 17:18:22 -0800 Subject: [Numpy-svn] [numpy/numpy] e6c397: ENH: avoid temporary arrays in expressions Message-ID: <58b0db5e351c_28e893fc4f81d7c3c4004cc@hookshot-fe-6dbb0c4.cp1-iad.github.net.mail> Branch: refs/heads/master Home: https://github.com/numpy/numpy Commit: e6c397b974a72d6970a9ec3a7858355951d43e0a https://github.com/numpy/numpy/commit/e6c397b974a72d6970a9ec3a7858355951d43e0a Author: Julian Taylor Date: 2017-02-24 (Fri, 24 Feb 2017) Changed paths: M numpy/core/setup.py M numpy/core/setup_common.py M numpy/core/src/multiarray/number.c A numpy/core/src/multiarray/temp_elide.c A numpy/core/src/multiarray/temp_elide.h M numpy/core/tests/test_multiarray.py Log Message: ----------- ENH: avoid temporary arrays in expressions Temporary arrays generated in expressions are expensive as the imply extra memory bandwidth which is the bottleneck in most numpy operations. For example: r = -a + b One can avoid temporaries when the reference count of one of the operands is one as it cannot be referenced by any other python code (rvalue in C++ terms). Python itself uses this method to optimize string concatenation. The tricky part is that via the C-API one can use the PyNumber_ directly and skip increasing the reference count when not needed. The python stack cannot be used to determine this as python does not export the stack size, only the current position. To avoid the problem we collect the backtrace of the call until the python frame evaluation function and if it consist exclusively of functions inside python or the c-library we can assume no other library is using the C-API in between. Issues are that the reliability of backtraces is unknown on non-GNU platforms. On GNU and amd64 it should be reliable enough, even without frame pointers, as glibc will use GCCs stack unwinder via the mandatory dwarf stack annotations. Other platforms with backtrace need to be tested. Another problem is that the stack unwinding is very expensive. Unwinding a 100 function deep stack (which is not uncommon from python) takes around 35us, so the elision can only be done for relatively large arrays. Heuristicly it seems to be beneficial around 256kb array sizes (which is about the typical L2 cache size). The performance gain is quite significant around 1.5 to 2 times faster operations with temporaries can be observed. The speed is similar to rewriting the operations to inplace operations manually. Commit: 5b16efe145f82a751625cebbe5eb5e2cd10515a3 https://github.com/numpy/numpy/commit/5b16efe145f82a751625cebbe5eb5e2cd10515a3 Author: Julian Taylor Date: 2017-02-24 (Fri, 24 Feb 2017) Changed paths: M doc/release/1.13.0-notes.rst Log Message: ----------- DOC: add release note entry for the elision Commit: c3e24b2f2860ce1912f578cf996184198a3cfd25 https://github.com/numpy/numpy/commit/c3e24b2f2860ce1912f578cf996184198a3cfd25 Author: Julian Taylor Date: 2017-02-24 (Fri, 24 Feb 2017) Changed paths: M benchmarks/benchmarks/bench_core.py Log Message: ----------- BENCH: add benchmarks for operations with temporaries Commit: 7bc881d053d378c3653dfe0c01c5c7ac4b0c6cdb https://github.com/numpy/numpy/commit/7bc881d053d378c3653dfe0c01c5c7ac4b0c6cdb Author: Charles Harris Date: 2017-02-24 (Fri, 24 Feb 2017) Changed paths: M benchmarks/benchmarks/bench_core.py M doc/release/1.13.0-notes.rst M numpy/core/setup.py M numpy/core/setup_common.py M numpy/core/src/multiarray/number.c A numpy/core/src/multiarray/temp_elide.c A numpy/core/src/multiarray/temp_elide.h M numpy/core/tests/test_multiarray.py Log Message: ----------- Merge pull request #7997 from juliantaylor/temporary-elide ENH: avoid temporary arrays in expressions (again) Compare: https://github.com/numpy/numpy/compare/23ac8554b680...7bc881d053d3 From noreply at github.com Sat Feb 25 05:23:27 2017 From: noreply at github.com (GitHub) Date: Sat, 25 Feb 2017 02:23:27 -0800 Subject: [Numpy-svn] [numpy/numpy] 1dacac: BUG: Use int for axes, not intp Message-ID: <58b15b1fc6734_20733fc22fe45c382957df@hookshot-fe3-cp1-prd.iad.github.net.mail> Branch: refs/heads/master Home: https://github.com/numpy/numpy Commit: 1dacacf9a31e320dc2239e5e4a4ca8f8c11887b2 https://github.com/numpy/numpy/commit/1dacacf9a31e320dc2239e5e4a4ca8f8c11887b2 Author: Eric Wieser Date: 2017-02-23 (Thu, 23 Feb 2017) Changed paths: M numpy/core/src/multiarray/shape.c Log Message: ----------- BUG: Use int for axes, not intp Rationale: typeof(PyArray_Dims.len) is int, so typeof(axis) should be the same. Commit: e9246860480b6c909e6e00c1cd4371b0e5fee1ce https://github.com/numpy/numpy/commit/e9246860480b6c909e6e00c1cd4371b0e5fee1ce Author: Julian Taylor Date: 2017-02-25 (Sat, 25 Feb 2017) Changed paths: M numpy/core/src/multiarray/shape.c Log Message: ----------- Merge pull request #8672 from eric-wieser/patch-8584 BUG: Use int for axes, not intp Compare: https://github.com/numpy/numpy/compare/7bc881d053d3...e9246860480b From noreply at github.com Sat Feb 25 10:39:44 2017 From: noreply at github.com (GitHub) Date: Sat, 25 Feb 2017 07:39:44 -0800 Subject: [Numpy-svn] [numpy/numpy] 48783e: MAINT: replace len(x.shape) with x.ndim Message-ID: <58b1a540a2b97_1e223ffd3dbf7c30265517@hookshot-fe3-cp1-prd.iad.github.net.mail> Branch: refs/heads/master Home: https://github.com/numpy/numpy Commit: 48783e5ceb7f60c33db81ab72e5024f42b220990 https://github.com/numpy/numpy/commit/48783e5ceb7f60c33db81ab72e5024f42b220990 Author: Eric Wieser Date: 2017-02-24 (Fri, 24 Feb 2017) Changed paths: M numpy/core/arrayprint.py M numpy/core/einsumfunc.py M numpy/core/numeric.py M numpy/core/records.py M numpy/core/shape_base.py M numpy/core/tests/test_ufunc.py M numpy/fft/helper.py M numpy/lib/arraypad.py M numpy/lib/arrayterator.py M numpy/lib/function_base.py M numpy/lib/npyio.py M numpy/lib/polynomial.py M numpy/lib/shape_base.py M numpy/lib/user_array.py M numpy/linalg/linalg.py M numpy/linalg/tests/test_linalg.py M numpy/ma/core.py M numpy/ma/mrecords.py M numpy/matrixlib/defmatrix.py Log Message: ----------- MAINT: replace len(x.shape) with x.ndim Commit: 38ce8097749ad69494926036250ed5b2de66184c https://github.com/numpy/numpy/commit/38ce8097749ad69494926036250ed5b2de66184c Author: Eric Wieser Date: 2017-02-25 (Sat, 25 Feb 2017) Changed paths: M doc/release/1.13.0-notes.rst M numpy/add_newdocs.py M numpy/core/src/multiarray/descriptor.c M numpy/core/tests/test_dtype.py Log Message: ----------- ENH: add a .ndim property to dype objects This complements the .shape property Commit: eb271d95c0c9f3821009330d858a261b4b861bfe https://github.com/numpy/numpy/commit/eb271d95c0c9f3821009330d858a261b4b861bfe Author: Julian Taylor Date: 2017-02-25 (Sat, 25 Feb 2017) Changed paths: M doc/release/1.13.0-notes.rst M numpy/add_newdocs.py M numpy/core/arrayprint.py M numpy/core/einsumfunc.py M numpy/core/numeric.py M numpy/core/records.py M numpy/core/shape_base.py M numpy/core/src/multiarray/descriptor.c M numpy/core/tests/test_dtype.py M numpy/core/tests/test_ufunc.py M numpy/fft/helper.py M numpy/lib/arraypad.py M numpy/lib/arrayterator.py M numpy/lib/function_base.py M numpy/lib/npyio.py M numpy/lib/polynomial.py M numpy/lib/shape_base.py M numpy/lib/user_array.py M numpy/linalg/linalg.py M numpy/linalg/tests/test_linalg.py M numpy/ma/core.py M numpy/ma/mrecords.py M numpy/matrixlib/defmatrix.py Log Message: ----------- Merge pull request #8685 from eric-wieser/shape-to-ndim ENH: add dtype.ndim Compare: https://github.com/numpy/numpy/compare/e9246860480b...eb271d95c0c9 From noreply at github.com Sat Feb 25 15:44:51 2017 From: noreply at github.com (GitHub) Date: Sat, 25 Feb 2017 12:44:51 -0800 Subject: [Numpy-svn] [numpy/numpy] 270927: BUG: missing comma disabled some header checks Message-ID: <58b1ecc33c138_283ea3feafb4dbc3433071a@hookshot-fe-6dbb0c4.cp1-iad.github.net.mail> Branch: refs/heads/master Home: https://github.com/numpy/numpy Commit: 270927fd883dcc335634c16b55075b1028af2fed https://github.com/numpy/numpy/commit/270927fd883dcc335634c16b55075b1028af2fed Author: Julian Taylor Date: 2017-02-25 (Sat, 25 Feb 2017) Changed paths: M numpy/core/setup_common.py M numpy/core/src/multiarray/temp_elide.c Log Message: ----------- BUG: missing comma disabled some header checks closes gh-8693 Commit: 1717114bee6693049e6db973e48a50d3879dbb8d https://github.com/numpy/numpy/commit/1717114bee6693049e6db973e48a50d3879dbb8d Author: Julian Taylor Date: 2017-02-25 (Sat, 25 Feb 2017) Changed paths: M numpy/core/setup_common.py M numpy/core/src/multiarray/temp_elide.c Log Message: ----------- Merge pull request #8694 from juliantaylor/mac-build BUG: missing comma disabled some header checks Compare: https://github.com/numpy/numpy/compare/eb271d95c0c9...1717114bee66 From noreply at github.com Sat Feb 25 17:06:50 2017 From: noreply at github.com (GitHub) Date: Sat, 25 Feb 2017 14:06:50 -0800 Subject: [Numpy-svn] [numpy/numpy] e5110f: MAINT: Fix deprecated escape sequences in tools/ Message-ID: <58b1fffa9d0a7_21c13fc3ead01c345205f6@hookshot-fe5-cp1-prd.iad.github.net.mail> Branch: refs/heads/master Home: https://github.com/numpy/numpy Commit: e5110fa81540103800da34c2199a0e2823031f98 https://github.com/numpy/numpy/commit/e5110fa81540103800da34c2199a0e2823031f98 Author: Charles Harris Date: 2017-02-25 (Sat, 25 Feb 2017) Changed paths: M tools/c_coverage/c_coverage_report.py M tools/find_deprecated_escaped_characters.py M tools/win32build/build.py Log Message: ----------- MAINT: Fix deprecated escape sequences in tools/ Fix the escape sequences deprecated in Python 3.6 found in the tools directory. Note that this does not include the files in tools/swig/tests which are not even Python 3 compatible at this point. Commit: ead991be337d7c7213f7489b43bda2f74decec6c https://github.com/numpy/numpy/commit/ead991be337d7c7213f7489b43bda2f74decec6c Author: Charles Harris Date: 2017-02-25 (Sat, 25 Feb 2017) Changed paths: M tools/find_deprecated_escaped_characters.py Log Message: ----------- MAINT: Refactor tools/find_deprecated_escaped_characters.py Make the code a bit cleaner. Commit: 309e450230f85fcea447047bcb319def858b7b10 https://github.com/numpy/numpy/commit/309e450230f85fcea447047bcb319def858b7b10 Author: Charles Harris Date: 2017-02-25 (Sat, 25 Feb 2017) Changed paths: M tools/c_coverage/c_coverage_report.py M tools/find_deprecated_escaped_characters.py M tools/win32build/build.py Log Message: ----------- Merge pull request #8692 from charris/fix-deprecated-escape-sequences MAINT: Fix deprecated escape sequences Compare: https://github.com/numpy/numpy/compare/1717114bee66...309e450230f8 From noreply at github.com Sun Feb 26 08:34:10 2017 From: noreply at github.com (GitHub) Date: Sun, 26 Feb 2017 05:34:10 -0800 Subject: [Numpy-svn] [numpy/numpy] 2a2847: DOC: fix incorrect mask value when value was chang... Message-ID: <58b2d952e5248_4c513fe778aedc3410657@hookshot-fe6-cp1-prd.iad.github.net.mail> Branch: refs/heads/master Home: https://github.com/numpy/numpy Commit: 2a284725b692288c8c5e6554bf5b0e1bdb498421 https://github.com/numpy/numpy/commit/2a284725b692288c8c5e6554bf5b0e1bdb498421 Author: Eugene Date: 2017-02-26 (Sun, 26 Feb 2017) Changed paths: M doc/source/reference/maskedarray.generic.rst Log Message: ----------- DOC: fix incorrect mask value when value was changed (#8698) From noreply at github.com Sun Feb 26 11:27:26 2017 From: noreply at github.com (GitHub) Date: Sun, 26 Feb 2017 08:27:26 -0800 Subject: [Numpy-svn] [numpy/numpy] 4f8e1a: DOC: Fixed small mistakes in numpy.copy documentat... Message-ID: <58b301ee421a8_44063fedefe0bc2c294cc@hookshot-fe6-cp1-prd.iad.github.net.mail> Branch: refs/heads/master Home: https://github.com/numpy/numpy Commit: 4f8e1a36d099c8ed901645daca3e99976835cd95 https://github.com/numpy/numpy/commit/4f8e1a36d099c8ed901645daca3e99976835cd95 Author: Michael Seifert Date: 2017-02-26 (Sun, 26 Feb 2017) Changed paths: M numpy/lib/function_base.py Log Message: ----------- DOC: Fixed small mistakes in numpy.copy documentation. Including missing backticks around link, included a missing colon in example and removed excessive indentation before "doctest skip directive". [skip ci] Commit: c47198b4102cf3974e7fee2aa78d822877e391c2 https://github.com/numpy/numpy/commit/c47198b4102cf3974e7fee2aa78d822877e391c2 Author: Charles Harris Date: 2017-02-26 (Sun, 26 Feb 2017) Changed paths: M numpy/lib/function_base.py Log Message: ----------- Merge pull request #8702 from MSeifert04/npcopy_docstring_fix DOC: Fixed small mistakes in numpy.copy documentation. Compare: https://github.com/numpy/numpy/compare/2a284725b692...c47198b4102c From noreply at github.com Sun Feb 26 12:48:16 2017 From: noreply at github.com (GitHub) Date: Sun, 26 Feb 2017 09:48:16 -0800 Subject: [Numpy-svn] [numpy/numpy] 3461ea: ENH: Fix alignment of repr for array subclasses Message-ID: <58b314e0dabba_5ec93feac4dfbc38661e1@hookshot-fe2-cp1-prd.iad.github.net.mail> Branch: refs/heads/master Home: https://github.com/numpy/numpy Commit: 3461ea868bc7520d4569f7d61397044cf4e593d0 https://github.com/numpy/numpy/commit/3461ea868bc7520d4569f7d61397044cf4e593d0 Author: Eric Wieser Date: 2017-02-25 (Sat, 25 Feb 2017) Changed paths: M doc/release/1.13.0-notes.rst M numpy/core/numeric.py M numpy/core/tests/test_arrayprint.py Log Message: ----------- ENH: Fix alignment of repr for array subclasses Commit: ad8afe82e7b7643607a348c0e02b45c9131c6a06 https://github.com/numpy/numpy/commit/ad8afe82e7b7643607a348c0e02b45c9131c6a06 Author: Marten van Kerkwijk Date: 2017-02-26 (Sun, 26 Feb 2017) Changed paths: M doc/release/1.13.0-notes.rst M numpy/core/numeric.py M numpy/core/tests/test_arrayprint.py Log Message: ----------- Merge pull request #8663 from eric-wieser/subclass-repr ENH: Fix alignment of repr for array subclasses Compare: https://github.com/numpy/numpy/compare/c47198b4102c...ad8afe82e7b7 From noreply at github.com Mon Feb 27 12:52:43 2017 From: noreply at github.com (GitHub) Date: Mon, 27 Feb 2017 09:52:43 -0800 Subject: [Numpy-svn] [numpy/numpy] d60ff8: BUG: Fix deepcopy regression for empty arrays. Message-ID: <58b4676b6f117_6aa03fcf1f6fbc3c114819@hookshot-fe2-cp1-prd.iad.github.net.mail> Branch: refs/heads/master Home: https://github.com/numpy/numpy Commit: d60ff8ec091396246ab6dabe231efc5012359b15 https://github.com/numpy/numpy/commit/d60ff8ec091396246ab6dabe231efc5012359b15 Author: Charles Harris Date: 2017-02-27 (Mon, 27 Feb 2017) Changed paths: M numpy/core/src/multiarray/methods.c M numpy/core/tests/test_regression.py Log Message: ----------- BUG: Fix deepcopy regression for empty arrays. Deepcopy of empty arrays was failing because the nditer was constructed without the NPY_ITER_ZEROSIZE_OK flag. Closes #8536. Commit: 533cef98154164928759c352a43a461ac9951c03 https://github.com/numpy/numpy/commit/533cef98154164928759c352a43a461ac9951c03 Author: seberg Date: 2017-02-27 (Mon, 27 Feb 2017) Changed paths: M numpy/core/src/multiarray/methods.c M numpy/core/tests/test_regression.py Log Message: ----------- Merge pull request #8704 from charris/fix-zerosize-deep-copy BUG: Fix deepcopy regression for empty arrays. Compare: https://github.com/numpy/numpy/compare/ad8afe82e7b7...533cef981541 From noreply at github.com Mon Feb 27 14:32:32 2017 From: noreply at github.com (GitHub) Date: Mon, 27 Feb 2017 11:32:32 -0800 Subject: [Numpy-svn] [numpy/numpy] 05aa44: BUG: fix ma.median for empty ndarrays Message-ID: <58b47ed05ca8e_65103fa8d5995c3840776@hookshot-fe2-cp1-prd.iad.github.net.mail> Branch: refs/heads/master Home: https://github.com/numpy/numpy Commit: 05aa44d53f4f9528847a0c014fe4bda5caa5fd3d https://github.com/numpy/numpy/commit/05aa44d53f4f9528847a0c014fe4bda5caa5fd3d Author: Julian Taylor Date: 2017-02-27 (Mon, 27 Feb 2017) Changed paths: M numpy/ma/extras.py M numpy/ma/tests/test_extras.py Log Message: ----------- BUG: fix ma.median for empty ndarrays return nan as it did in 1.11 and same as normal median. closes gh-8703 Commit: 2dd9125bad6d5b78a2d10620f76b3906860a526d https://github.com/numpy/numpy/commit/2dd9125bad6d5b78a2d10620f76b3906860a526d Author: Eric Wieser Date: 2017-02-27 (Mon, 27 Feb 2017) Changed paths: M numpy/ma/extras.py M numpy/ma/tests/test_extras.py Log Message: ----------- Merge pull request #8705 from juliantaylor/ma-median-empty BUG: fix ma.median for empty ndarrays Compare: https://github.com/numpy/numpy/compare/533cef981541...2dd9125bad6d From noreply at github.com Mon Feb 27 18:13:34 2017 From: noreply at github.com (GitHub) Date: Mon, 27 Feb 2017 15:13:34 -0800 Subject: [Numpy-svn] [numpy/numpy] 0c2cde: BUG: fix ma.median for empty ndarrays Message-ID: <58b4b29e38969_22f873fc25cc1fc382248c@hookshot-fe-6dbb0c4.cp1-iad.github.net.mail> Branch: refs/heads/maintenance/1.12.x Home: https://github.com/numpy/numpy Commit: 0c2cde41ad02b8737d5572e296e19046590ba8b4 https://github.com/numpy/numpy/commit/0c2cde41ad02b8737d5572e296e19046590ba8b4 Author: Julian Taylor Date: 2017-02-27 (Mon, 27 Feb 2017) Changed paths: M numpy/ma/extras.py M numpy/ma/tests/test_extras.py Log Message: ----------- BUG: fix ma.median for empty ndarrays return nan as it did in 1.11 and same as normal median. closes gh-8703 Commit: e50b4cbd80fa83b66819af9a57a935aea0d216b3 https://github.com/numpy/numpy/commit/e50b4cbd80fa83b66819af9a57a935aea0d216b3 Author: Julian Taylor Date: 2017-02-28 (Tue, 28 Feb 2017) Changed paths: M numpy/ma/extras.py M numpy/ma/tests/test_extras.py Log Message: ----------- Merge pull request #8707 from juliantaylor/ma-median-empty-1.12 backport ma.median fix gh-8703 to 1.12 Compare: https://github.com/numpy/numpy/compare/9a8e8298d0ba...e50b4cbd80fa From noreply at github.com Mon Feb 27 19:00:11 2017 From: noreply at github.com (GitHub) Date: Mon, 27 Feb 2017 16:00:11 -0800 Subject: [Numpy-svn] [numpy/numpy] f3f91b: BUG: MaskedArray __eq__ wrong for masked scalar, m... Message-ID: <58b4bd8b29185_62783fc393525c2459649@hookshot-fe1-cp1-prd.iad.github.net.mail> Branch: refs/heads/master Home: https://github.com/numpy/numpy Commit: f3f91be7920f52cd6abace64d7e14b876e5f054f https://github.com/numpy/numpy/commit/f3f91be7920f52cd6abace64d7e14b876e5f054f Author: Marten van Kerkwijk Date: 2017-02-27 (Mon, 27 Feb 2017) Changed paths: M doc/release/1.13.0-notes.rst M numpy/ma/core.py M numpy/ma/tests/test_core.py Log Message: ----------- BUG: MaskedArray __eq__ wrong for masked scalar, multi-d recarray In the process of trying to fix the "questionable behaviour in `MaskedArray.__eq__`" (gh-8589), it became clear that the code was buggy. E.g., `ma == ma[0]` failed if `ma` held a structured dtype; multi-d structured dtypes failed generally; and, more worryingly, a masked scalar comparison could be wrong: `np.ma.MaskedArray(1, mask=True) == 0` yields True. This commit solves these problems, adding tests to prevent regression. In the process, it also ensures that the results for structured arrays always equals what one would get by logically combining the results over individual parts of the structure. Commit: 3435dd9881d84ba2b91faa478555a3c58e7921af https://github.com/numpy/numpy/commit/3435dd9881d84ba2b91faa478555a3c58e7921af Author: Marten van Kerkwijk Date: 2017-02-27 (Mon, 27 Feb 2017) Changed paths: M numpy/ma/core.py M numpy/ma/tests/test_core.py Log Message: ----------- BUG: ensure masked array comparison with regular void works. Commit: 64111c5ca2768471f80eb8190f1773aedccd5c88 https://github.com/numpy/numpy/commit/64111c5ca2768471f80eb8190f1773aedccd5c88 Author: Eric Wieser Date: 2017-02-28 (Tue, 28 Feb 2017) Changed paths: M doc/release/1.13.0-notes.rst M numpy/ma/core.py M numpy/ma/tests/test_core.py Log Message: ----------- Merge pull request #8590 from mhvk/ma/eq_ne_axis_bug BUG MaskedArray __eq__ wrong for masked scalar, multi-d recarray Compare: https://github.com/numpy/numpy/compare/2dd9125bad6d...64111c5ca276 From noreply at github.com Mon Feb 27 19:05:01 2017 From: noreply at github.com (GitHub) Date: Mon, 27 Feb 2017 16:05:01 -0800 Subject: [Numpy-svn] [numpy/numpy] fe652b: DOC: Fixed minor typos in temp_elide.c Message-ID: <58b4bead9144a_61973f83f386bc3899766@hookshot-fe1-cp1-prd.iad.github.net.mail> Branch: refs/heads/master Home: https://github.com/numpy/numpy Commit: fe652b6957d59c9335ed2268a9a2d9d6bc53be7c https://github.com/numpy/numpy/commit/fe652b6957d59c9335ed2268a9a2d9d6bc53be7c Author: Mortada Mehyar Date: 2017-02-27 (Mon, 27 Feb 2017) Changed paths: M numpy/core/src/multiarray/temp_elide.c Log Message: ----------- DOC: Fixed minor typos in temp_elide.c [ci skip] Commit: e58c6adc591e47675192ecfc584dad54a00cf401 https://github.com/numpy/numpy/commit/e58c6adc591e47675192ecfc584dad54a00cf401 Author: Eric Wieser Date: 2017-02-28 (Tue, 28 Feb 2017) Changed paths: M numpy/core/src/multiarray/temp_elide.c Log Message: ----------- Merge pull request #8709 from mortada/docstring_typos DOC: Fixed minor typos in temp_elide.c Compare: https://github.com/numpy/numpy/compare/64111c5ca276...e58c6adc591e From noreply at github.com Mon Feb 27 20:05:05 2017 From: noreply at github.com (GitHub) Date: Mon, 27 Feb 2017 17:05:05 -0800 Subject: [Numpy-svn] [numpy/numpy] d0bf15: MAINT: Warn users when calling np.ma.MaskedArray.(... Message-ID: <58b4ccc1e0ab5_4a143fba0d417c2c103864@hookshot-fe6-cp1-prd.iad.github.net.mail> Branch: refs/heads/master Home: https://github.com/numpy/numpy Commit: d0bf15d1b99dd239530b25a0d939ee4475f85af5 https://github.com/numpy/numpy/commit/d0bf15d1b99dd239530b25a0d939ee4475f85af5 Author: Michael Seifert Date: 2017-02-28 (Tue, 28 Feb 2017) Changed paths: M numpy/ma/core.py Log Message: ----------- MAINT: Warn users when calling np.ma.MaskedArray.(arg-)partition function. Using the np.median function on MaskedArrays uses the not-overriden partition method of a plain np.ndarray without error or warning. (#7330) This PR overrides the partition method on MaskedArrays but simply to throw a Warning. This will make users aware that something ignores the mask without breaking backwards-compatibility. This also applies to the argpartition method (even if it's not called by np.median). Commit: ee3ab365cb55cce6d0b9b6ed5cfbd8e3ede8cc66 https://github.com/numpy/numpy/commit/ee3ab365cb55cce6d0b9b6ed5cfbd8e3ede8cc66 Author: Eric Wieser Date: 2017-02-28 (Tue, 28 Feb 2017) Changed paths: M numpy/ma/core.py Log Message: ----------- Merge pull request #8669 from MSeifert04/partition_warning MAINT: Warn users when calling np.ma.MaskedArray.partition function. Compare: https://github.com/numpy/numpy/compare/e58c6adc591e...ee3ab365cb55