From noreply at github.com Wed Jun 1 17:35:02 2016 From: noreply at github.com (GitHub) Date: Wed, 01 Jun 2016 14:35:02 -0700 Subject: [Numpy-svn] [numpy/numpy] 0bf947: BUG: Fix unicode with byte swap transfer and copys... Message-ID: <574f5506c0635_130d3fd949c732bc445c8@hookshot-fe5-cp1-prd.iad.github.net.mail> Branch: refs/heads/master Home: https://github.com/numpy/numpy Commit: 0bf9478c1fdc1e3b8cf448dbb244baf9dc88f76d https://github.com/numpy/numpy/commit/0bf9478c1fdc1e3b8cf448dbb244baf9dc88f76d Author: Sebastian Berg Date: 2016-06-01 (Wed, 01 Jun 2016) Changed paths: M numpy/core/src/multiarray/arraytypes.c.src M numpy/core/src/multiarray/dtype_transfer.c M numpy/core/src/private/lowlevel_strided_loops.h Log Message: ----------- BUG: Fix unicode with byte swap transfer and copyswap These fixes should make unicode byteswapping not be completely broken. The code is not so much designed for absolute speed. Fixes gh-3939 Commit: 39fdf796d39b52934a25ba59069dcd68161d8e68 https://github.com/numpy/numpy/commit/39fdf796d39b52934a25ba59069dcd68161d8e68 Author: Sebastian Berg Date: 2016-06-01 (Wed, 01 Jun 2016) Changed paths: M numpy/core/src/multiarray/arrayobject.c Log Message: ----------- BUG: Unicode comparison of byteswapped types now works Commit: e8be5b11eee7d64661f894651a67ad976016b0cc https://github.com/numpy/numpy/commit/e8be5b11eee7d64661f894651a67ad976016b0cc Author: Sebastian Berg Date: 2016-06-01 (Wed, 01 Jun 2016) Changed paths: M numpy/core/src/multiarray/dtype_transfer.c M numpy/core/tests/test_unicode.py Log Message: ----------- BUG: Make sure string to non-native unicode cast works Casting to non-negative unicode used the wrong swapping functionality. Just to note, the whole swapping is rather inefficient, since it is completely unnecessary due to the fact that we go via python in any case, though likely it does not matter. Commit: 9d6e3f480e228f3cbe95fd475fcc2e8e3f61736d https://github.com/numpy/numpy/commit/9d6e3f480e228f3cbe95fd475fcc2e8e3f61736d Author: Sebastian Berg Date: 2016-06-01 (Wed, 01 Jun 2016) Changed paths: M numpy/core/tests/test_unicode.py Log Message: ----------- TST: Test unicode byteorder cast roundtripping and equality Commit: bd82a0dfa39cf80b8f15e5211b08bdf796db2345 https://github.com/numpy/numpy/commit/bd82a0dfa39cf80b8f15e5211b08bdf796db2345 Author: ahaldane Date: 2016-06-01 (Wed, 01 Jun 2016) Changed paths: M numpy/core/src/multiarray/arrayobject.c M numpy/core/src/multiarray/arraytypes.c.src M numpy/core/src/multiarray/dtype_transfer.c M numpy/core/src/private/lowlevel_strided_loops.h M numpy/core/tests/test_unicode.py Log Message: ----------- Merge pull request #7664 from seberg/fix-unicode-trans BUG: Fix unicode with byte swap transfer and copyswap Compare: https://github.com/numpy/numpy/compare/e6593fbe72d2...bd82a0dfa39c From noreply at github.com Thu Jun 2 11:26:54 2016 From: noreply at github.com (GitHub) Date: Thu, 02 Jun 2016 08:26:54 -0700 Subject: [Numpy-svn] [numpy/numpy] 0bf907: BUG: Fix numerous bugs related to zero-width strin... Message-ID: <5750503ee557_3e083fb9729852b879094@hookshot-fe6-cp1-prd.iad.github.net.mail> Branch: refs/heads/master Home: https://github.com/numpy/numpy Commit: 0bf907ac5ed0d3c3917cd55d0511633ea8feb8f3 https://github.com/numpy/numpy/commit/0bf907ac5ed0d3c3917cd55d0511633ea8feb8f3 Author: Erik M. Bray Date: 2016-05-31 (Tue, 31 May 2016) Changed paths: M numpy/core/_internal.py M numpy/core/records.py M numpy/core/src/multiarray/convert.c M numpy/core/src/multiarray/ctors.c M numpy/core/src/multiarray/ctors.h M numpy/core/src/multiarray/descriptor.c M numpy/core/src/multiarray/dtype_transfer.c M numpy/core/src/multiarray/mapping.c M numpy/core/src/multiarray/methods.c M numpy/core/tests/test_dtype.py M numpy/core/tests/test_multiarray.py M numpy/core/tests/test_records.py Log Message: ----------- BUG: Fix numerous bugs related to zero-width string arrays (#473, #1901, #2196, #2585, #4955) PyArray_NewFromDescr normally does not allow zero-width string dtypes (or rather, it automatically converts them to 1-width strings). This affects any code that uses PyArray_NewFromDescr, which is a lot. So we extend PyArray_NewFromDescr_int to allow disabling this functionality in a couple narrow cases where it's appropriate--one is when extracting a field from a structured array that has a zero-width string dtype (which, intentionally or not, has been allowed). The other, which is related, is returning a view of an array that has a zero-width string dtype. This shouldn't otherwise break or change any existing behavior. Remove roadblocks to creating structured dtypes with zero-width fields using dict-based constructors (this was possible by other means such as the list-based constructor--with the previous fix in particular it should not be necessary to block this anymore). Adds tests based on the tests cases given in the issues this is fixing. Fix a bug with array to zero-width array assignment revealed by the tests. I am slightly concerned that the blunt-force check for this in raw_array_assign_array may be masking a bug somewhere else though. Commit: 7a50050386cf05b94c16ba5e8676a68a23cbd6b8 https://github.com/numpy/numpy/commit/7a50050386cf05b94c16ba5e8676a68a23cbd6b8 Author: Erik M. Bray Date: 2016-05-31 (Tue, 31 May 2016) Changed paths: M numpy/core/src/multiarray/ctors.c M numpy/core/src/multiarray/shape.c M numpy/core/tests/test_multiarray.py Log Message: ----------- BUG: Fix indexing a nested structured type that contains a zero-width structure (i.e. with underlying dtype V0 as opposed to S0). Fix bug with reshape of zero-width array. See #6430 Commit: db7c0b74d3d85521769042ff91309baeb57aae0d https://github.com/numpy/numpy/commit/db7c0b74d3d85521769042ff91309baeb57aae0d Author: Erik M. Bray Date: 2016-05-31 (Tue, 31 May 2016) Changed paths: M numpy/core/src/multiarray/arrayobject.c M numpy/core/tests/test_multiarray.py Log Message: ----------- BUG: Change ndarray.__new__ to allow zero-width data types, and in particular without converting zero-width strings to a one-width string dtype. ndarray.__new__, being relatively low-level, should not be mangling the requested dtype when creating an array. See #6430 Commit: ee02cdda6c8d135098baa1d5afe41fd4996d587c https://github.com/numpy/numpy/commit/ee02cdda6c8d135098baa1d5afe41fd4996d587c Author: Erik M. Bray Date: 2016-05-31 (Tue, 31 May 2016) Changed paths: M numpy/core/src/multiarray/convert.c M numpy/core/src/multiarray/ctors.c M numpy/core/tests/test_multiarray.py M numpy/lib/format.py M numpy/lib/npyio.py Log Message: ----------- BUG: Fixes to reading and writing of empty arrays, and in particular arrays with empty dtypes. See #6430 Commit: fd95d10f4d7ed8f3cb66e4f7e73c184be13f395e https://github.com/numpy/numpy/commit/fd95d10f4d7ed8f3cb66e4f7e73c184be13f395e Author: Erik M. Bray Date: 2016-05-31 (Tue, 31 May 2016) Changed paths: M numpy/lib/npyio.py Log Message: ----------- STY: Misc whitespace cleanup. Commit: 945c308e96fb815729e8f8aeb0ad6b39b8bdf84a https://github.com/numpy/numpy/commit/945c308e96fb815729e8f8aeb0ad6b39b8bdf84a Author: ahaldane Date: 2016-06-02 (Thu, 02 Jun 2016) Changed paths: M numpy/core/_internal.py M numpy/core/records.py M numpy/core/src/multiarray/arrayobject.c M numpy/core/src/multiarray/convert.c M numpy/core/src/multiarray/ctors.c M numpy/core/src/multiarray/ctors.h M numpy/core/src/multiarray/descriptor.c M numpy/core/src/multiarray/dtype_transfer.c M numpy/core/src/multiarray/mapping.c M numpy/core/src/multiarray/methods.c M numpy/core/src/multiarray/shape.c M numpy/core/tests/test_dtype.py M numpy/core/tests/test_multiarray.py M numpy/core/tests/test_records.py M numpy/lib/format.py M numpy/lib/npyio.py Log Message: ----------- Merge pull request #6430 from embray/issue-473 Fix issues with zero-width string fields Compare: https://github.com/numpy/numpy/compare/bd82a0dfa39c...945c308e96fb From noreply at github.com Fri Jun 3 13:06:28 2016 From: noreply at github.com (GitHub) Date: Fri, 03 Jun 2016 10:06:28 -0700 Subject: [Numpy-svn] [numpy/numpy] af1363: BENCH: add correlate/convolve benchmarks. Message-ID: <5751b914e7deb_7f223fde9fda529c1623a7@hookshot-fe4-cp1-prd.iad.github.net.mail> Branch: refs/heads/master Home: https://github.com/numpy/numpy Commit: af13636c8611415df5b1e5d90be3f6fb975f6e0d https://github.com/numpy/numpy/commit/af13636c8611415df5b1e5d90be3f6fb975f6e0d Author: Ralf Gommers Date: 2016-05-28 (Sat, 28 May 2016) Changed paths: M benchmarks/benchmarks/bench_core.py Log Message: ----------- BENCH: add correlate/convolve benchmarks. Related to gh-5978, which makes significant changes to these functions. Commit: a55b2dd2b3b928a49154672c9ec381dacd7ea81d https://github.com/numpy/numpy/commit/a55b2dd2b3b928a49154672c9ec381dacd7ea81d Author: Charles Harris Date: 2016-06-03 (Fri, 03 Jun 2016) Changed paths: M benchmarks/benchmarks/bench_core.py Log Message: ----------- Merge pull request #7689 from rgommers/correlate-benchmarks BENCH: add correlate/convolve benchmarks. Compare: https://github.com/numpy/numpy/compare/945c308e96fb...a55b2dd2b3b9 From noreply at github.com Fri Jun 3 13:08:00 2016 From: noreply at github.com (GitHub) Date: Fri, 03 Jun 2016 10:08:00 -0700 Subject: [Numpy-svn] [numpy/numpy] e928bd: DOC: fix broken genfromtxt examples in user guide.... Message-ID: <5751b970aaecb_31f63fc1f463b2bc1314d9@hookshot-fe6-cp1-prd.iad.github.net.mail> Branch: refs/heads/master Home: https://github.com/numpy/numpy Commit: e928bd96d2b4e6fbf523a459770aa8a253664d88 https://github.com/numpy/numpy/commit/e928bd96d2b4e6fbf523a459770aa8a253664d88 Author: Ralf Gommers Date: 2016-05-27 (Fri, 27 May 2016) Changed paths: M doc/source/user/basics.io.genfromtxt.rst Log Message: ----------- DOC: fix broken genfromtxt examples in user guide. Closes gh-7662. [ci skip] Commit: c12595612cbc43da96591dace6eac34c73ff6c81 https://github.com/numpy/numpy/commit/c12595612cbc43da96591dace6eac34c73ff6c81 Author: Charles Harris Date: 2016-06-03 (Fri, 03 Jun 2016) Changed paths: M doc/source/user/basics.io.genfromtxt.rst Log Message: ----------- Merge pull request #7688 from rgommers/genfromtxt-examples DOC: fix broken genfromtxt examples in user guide. Closes gh-7662. Compare: https://github.com/numpy/numpy/compare/a55b2dd2b3b9...c12595612cbc From noreply at github.com Fri Jun 3 15:06:03 2016 From: noreply at github.com (GitHub) Date: Fri, 03 Jun 2016 12:06:03 -0700 Subject: [Numpy-svn] [numpy/numpy] 17b247: DOC: update wheel build / upload instructions Message-ID: <5751d51b1af41_469a3fb50648b2a0784e1@hookshot-fe3-cp1-prd.iad.github.net.mail> Branch: refs/heads/master Home: https://github.com/numpy/numpy Commit: 17b24725efdf4a33e159f38b31ef19ca1439d7b9 https://github.com/numpy/numpy/commit/17b24725efdf4a33e159f38b31ef19ca1439d7b9 Author: Matthew Brett Date: 2016-05-31 (Tue, 31 May 2016) Changed paths: M doc/HOWTO_RELEASE.rst.txt Log Message: ----------- DOC: update wheel build / upload instructions Update the instructions for the numpy Windows and manylinux wheels builds, and uploading the wheels to pypi. Commit: d4d38b489a86d11297a94c6e22d7227f221b9c1f https://github.com/numpy/numpy/commit/d4d38b489a86d11297a94c6e22d7227f221b9c1f Author: Matthew Brett Date: 2016-06-03 (Fri, 03 Jun 2016) Changed paths: M doc/HOWTO_RELEASE.rst.txt Log Message: ----------- DOC: write pypi as PyPI; more on warehouse uploads Correct capitalization of PyPI. Add more on procedure for uploading via warehouse server rather than pypi server. Commit: cc51ba88af13175d4bdf9e7bf9675a88e3cb10ea https://github.com/numpy/numpy/commit/cc51ba88af13175d4bdf9e7bf9675a88e3cb10ea Author: Charles Harris Date: 2016-06-03 (Fri, 03 Jun 2016) Changed paths: M doc/HOWTO_RELEASE.rst.txt Log Message: ----------- Merge pull request #7696 from matthew-brett/update-wheel-release-procedure DOC: update wheel build / upload instructions Compare: https://github.com/numpy/numpy/compare/c12595612cbc...cc51ba88af13 From noreply at github.com Sat Jun 4 19:17:39 2016 From: noreply at github.com (GitHub) Date: Sat, 04 Jun 2016 16:17:39 -0700 Subject: [Numpy-svn] [numpy/numpy] 307177: ENH: Add bits attribute to np.finfo, closes #1886 Message-ID: <575361938716d_4b363fbb947f52bc116226@hookshot-fe1-cp1-prd.iad.github.net.mail> Branch: refs/heads/master Home: https://github.com/numpy/numpy Commit: 3071778e37112377b592b180769f0a44496dc2da https://github.com/numpy/numpy/commit/3071778e37112377b592b180769f0a44496dc2da Author: Jaime Fernandez Date: 2016-06-04 (Sat, 04 Jun 2016) Changed paths: M numpy/core/getlimits.py M numpy/core/tests/test_getlimits.py Log Message: ----------- ENH: Add bits attribute to np.finfo, closes #1886 Add a bits attribute to np.finfo, document the existence of this attribute for both np.iinfo and np.finfo, plus some extra spacing around the __str__ labels to make the representation consistent for both classes. Commit: 1b162c697536313e993fbc80cab297957e11665d https://github.com/numpy/numpy/commit/1b162c697536313e993fbc80cab297957e11665d Author: Charles Harris Date: 2016-06-04 (Sat, 04 Jun 2016) Changed paths: M doc/release/1.12.0-notes.rst Log Message: ----------- DOC: Mention bits attribute added to finfo in 1.12.0 release notes. Commit: d0224de082a7a1786bdf1df20fdc4e58990f9789 https://github.com/numpy/numpy/commit/d0224de082a7a1786bdf1df20fdc4e58990f9789 Author: Charles Harris Date: 2016-06-04 (Sat, 04 Jun 2016) Changed paths: M doc/release/1.12.0-notes.rst M numpy/core/getlimits.py M numpy/core/tests/test_getlimits.py Log Message: ----------- Merge pull request #7704 from charris/gh-7471 ENH: Add bits attribute to np.finfo Compare: https://github.com/numpy/numpy/compare/cc51ba88af13...d0224de082a7 From noreply at github.com Sun Jun 5 05:13:02 2016 From: noreply at github.com (GitHub) Date: Sun, 05 Jun 2016 02:13:02 -0700 Subject: [Numpy-svn] [numpy/numpy] 321d7e: BUG: Memory Leak in _GenericBinaryOutFunction. Fix... Message-ID: <5753ed1e9730b_7e083feefd5472bc6545e@hookshot-fe2-cp1-prd.iad.github.net.mail> Branch: refs/heads/master Home: https://github.com/numpy/numpy Commit: 321d7ef8b717e1a21121b8cb0eef78d6d8005a6a https://github.com/numpy/numpy/commit/321d7ef8b717e1a21121b8cb0eef78d6d8005a6a Author: Simon Gibbons Date: 2016-03-30 (Wed, 30 Mar 2016) Changed paths: M numpy/core/src/multiarray/calculation.c Log Message: ----------- BUG: Memory Leak in _GenericBinaryOutFunction. Fixes #6672 _GenericBinaryOutFunction was leaking a string each time it was called. This fixes the leak by storing the (constant) **kwargs that are passed into the op statically so that they are only constructed the first time that _GenericBinaryOutFunction is called. Credit to @seberg for finding the location of the bug and providing an initial version of the fix. Commit: f65b233dc5689ecbb79a4ed8a383ef0251bc39c6 https://github.com/numpy/numpy/commit/f65b233dc5689ecbb79a4ed8a383ef0251bc39c6 Author: seberg Date: 2016-06-05 (Sun, 05 Jun 2016) Changed paths: M numpy/core/src/multiarray/calculation.c Log Message: ----------- Merge pull request #7482 from simongibbons/clip_memory_leak_fix BUG: Memory Leak in _GenericBinaryOutFunction Compare: https://github.com/numpy/numpy/compare/d0224de082a7...f65b233dc568 From noreply at github.com Mon Jun 6 15:27:43 2016 From: noreply at github.com (GitHub) Date: Mon, 06 Jun 2016 12:27:43 -0700 Subject: [Numpy-svn] [numpy/numpy] 2de965: ENH: Changing FFT cache to a bounded LRU cache Message-ID: <5755ceaf97a3f_770c3fb3da57f29c72384@hookshot-fe6-cp1-prd.iad.github.net.mail> Branch: refs/heads/master Home: https://github.com/numpy/numpy Commit: 2de9651b99da9d3308de5df510cfd28c1a3a0f19 https://github.com/numpy/numpy/commit/2de9651b99da9d3308de5df510cfd28c1a3a0f19 Author: Lion Krischer Date: 2016-06-06 (Mon, 06 Jun 2016) Changed paths: M doc/release/1.12.0-notes.rst M numpy/fft/fftpack.py M numpy/fft/helper.py M numpy/fft/tests/test_helper.py Log Message: ----------- ENH: Changing FFT cache to a bounded LRU cache Replaces the simple dictionary caches for the twiddle factors of numpy.fft to bounded LRU (least recently used) caches. The caches can thus no longer grow without bounds. See #7686. Commit: 175476fec763984573e60485a447978cbcb381c0 https://github.com/numpy/numpy/commit/175476fec763984573e60485a447978cbcb381c0 Author: Charles Harris Date: 2016-06-06 (Mon, 06 Jun 2016) Changed paths: M doc/release/1.12.0-notes.rst M numpy/fft/fftpack.py M numpy/fft/helper.py M numpy/fft/tests/test_helper.py Log Message: ----------- Merge pull request #7686 from krischer/limit-fft-cache ENH: Changing FFT cache to a bounded LRU cache Compare: https://github.com/numpy/numpy/compare/f65b233dc568...175476fec763 From noreply at github.com Tue Jun 7 20:13:55 2016 From: noreply at github.com (GitHub) Date: Tue, 07 Jun 2016 17:13:55 -0700 Subject: [Numpy-svn] [numpy/numpy] 080c43: BUG: Remove memory leak in np.place Message-ID: <57576343daed3_1bea3fcb706792bc124427@hookshot-fe2-cp1-prd.iad.github.net.mail> Branch: refs/heads/master Home: https://github.com/numpy/numpy Commit: 080c433e9979f964155692d21b26e073914610f5 https://github.com/numpy/numpy/commit/080c433e9979f964155692d21b26e073914610f5 Author: gfyoung Date: 2016-06-07 (Tue, 07 Jun 2016) Changed paths: M numpy/core/src/multiarray/compiled_base.c Log Message: ----------- BUG: Remove memory leak in np.place Closes gh-7714. Commit: d69c1470ed09f18293b9a9dec1809e14b5b9b779 https://github.com/numpy/numpy/commit/d69c1470ed09f18293b9a9dec1809e14b5b9b779 Author: Charles Harris Date: 2016-06-07 (Tue, 07 Jun 2016) Changed paths: M numpy/core/src/multiarray/compiled_base.c Log Message: ----------- Merge pull request #7715 from gfyoung/str-replace-mem-leak BUG: Remove memory leak in np.place Compare: https://github.com/numpy/numpy/compare/175476fec763...d69c1470ed09 From noreply at github.com Thu Jun 9 11:06:21 2016 From: noreply at github.com (GitHub) Date: Thu, 09 Jun 2016 08:06:21 -0700 Subject: [Numpy-svn] [numpy/numpy] b0efcb: BUG: Fix race condition with new FFT cache Message-ID: <575985ede1198_57043f9fb32852c095960@hookshot-fe1-cp1-prd.iad.github.net.mail> Branch: refs/heads/master Home: https://github.com/numpy/numpy Commit: b0efcbadd5944d44f56c106dc5bc4571ebcab03e https://github.com/numpy/numpy/commit/b0efcbadd5944d44f56c106dc5bc4571ebcab03e Author: Lion Krischer Date: 2016-06-07 (Tue, 07 Jun 2016) Changed paths: M numpy/fft/fftpack.py M numpy/fft/helper.py Log Message: ----------- BUG: Fix race condition with new FFT cache There is now a lock around cache accesses ensuring thread safety. The size of a cache entry is now also calculated by summing over all arrays in the list. Commit: 820d527fe0bc6414ad19b10eea941a7fc0749757 https://github.com/numpy/numpy/commit/820d527fe0bc6414ad19b10eea941a7fc0749757 Author: Lion Krischer Date: 2016-06-08 (Wed, 08 Jun 2016) Changed paths: M numpy/fft/fftpack.py M numpy/fft/helper.py M numpy/fft/tests/test_helper.py Log Message: ----------- Dropping dict like behavior and relying on explicit methods. Commit: d4a39b0f0e7d5b999b834b86f4beababe23e77f1 https://github.com/numpy/numpy/commit/d4a39b0f0e7d5b999b834b86f4beababe23e77f1 Author: Charles Harris Date: 2016-06-09 (Thu, 09 Jun 2016) Changed paths: M numpy/fft/fftpack.py M numpy/fft/helper.py M numpy/fft/tests/test_helper.py Log Message: ----------- Merge pull request #7712 from krischer/fft-cache-race-condition BUG: Fix race condition with new FFT cache Compare: https://github.com/numpy/numpy/compare/d69c1470ed09...d4a39b0f0e7d From noreply at github.com Fri Jun 10 10:07:12 2016 From: noreply at github.com (GitHub) Date: Fri, 10 Jun 2016 07:07:12 -0700 Subject: [Numpy-svn] [numpy/numpy] 5657a6: BUG: Fix segfaults in np.random.shuffle Message-ID: <575ac99068b0b_1bac3f8ffac252bc135f5@hookshot-fe1-cp1-prd.iad.github.net.mail> Branch: refs/heads/master Home: https://github.com/numpy/numpy Commit: 5657a6cd5ed1c54986f697660c6336d2fb2b1c21 https://github.com/numpy/numpy/commit/5657a6cd5ed1c54986f697660c6336d2fb2b1c21 Author: Simon Gibbons Date: 2016-06-10 (Fri, 10 Jun 2016) Changed paths: M numpy/random/mtrand/mtrand.pyx M numpy/random/tests/test_regression.py Log Message: ----------- BUG: Fix segfaults in np.random.shuffle np.random.shuffle will allocate a buffer based on the size of the first element of an array of strings. If the first element is smaller than another in the array this buffer will overflow, causing a segfault when garbage is collected. Additionally if the array contains objects then one would be left in the buffer and have it's refcount erroniously decrimented on function exit, causing that object to be deallocated too early. To fix this we change the buffer to be an array of int8 of the the size of the array's dtype, which sidesteps both issues. Fixes #7710 Commit: 5056c4cef5a320b2f30f5d89175e95eb4184dab1 https://github.com/numpy/numpy/commit/5056c4cef5a320b2f30f5d89175e95eb4184dab1 Author: Charles Harris Date: 2016-06-10 (Fri, 10 Jun 2016) Changed paths: M numpy/random/mtrand/mtrand.pyx M numpy/random/tests/test_regression.py Log Message: ----------- Merge pull request #7719 from simongibbons/segfault_permutation BUG: Fix segfault in np.random.shuffle for arrays of different length strings Compare: https://github.com/numpy/numpy/compare/d4a39b0f0e7d...5056c4cef5a3 From noreply at github.com Fri Jun 10 13:09:06 2016 From: noreply at github.com (GitHub) Date: Fri, 10 Jun 2016 10:09:06 -0700 Subject: [Numpy-svn] [numpy/numpy] a9650c: BUG: Fix segfaults in np.random.shuffle Message-ID: <575af432b2e41_a383fca5a03929c1323b3@hookshot-fe4-cp1-prd.iad.github.net.mail> Branch: refs/heads/maintenance/1.11.x Home: https://github.com/numpy/numpy Commit: a9650cf6208aa804de7d1ee1dc93348d614287a5 https://github.com/numpy/numpy/commit/a9650cf6208aa804de7d1ee1dc93348d614287a5 Author: Simon Gibbons Date: 2016-06-10 (Fri, 10 Jun 2016) Changed paths: M numpy/random/mtrand/mtrand.pyx M numpy/random/tests/test_regression.py Log Message: ----------- BUG: Fix segfaults in np.random.shuffle np.random.shuffle will allocate a buffer based on the size of the first element of an array of strings. If the first element is smaller than another in the array this buffer will overflow, causing a segfault when garbage is collected. Additionally if the array contains objects then one would be left in the buffer and have it's refcount erroniously decrimented on function exit, causing that object to be deallocated too early. To fix this we change the buffer to be an array of int8 of the the size of the array's dtype, which sidesteps both issues. Fixes #7710 Commit: be805e34883569f9d4171eb86bb13d1532510dc9 https://github.com/numpy/numpy/commit/be805e34883569f9d4171eb86bb13d1532510dc9 Author: Charles Harris Date: 2016-06-10 (Fri, 10 Jun 2016) Changed paths: M numpy/random/mtrand/mtrand.pyx M numpy/random/tests/test_regression.py Log Message: ----------- Merge pull request #7724 from charris/backport-7719 Backport 7719, BUG: Fix segfaults in np.random.shuffle Compare: https://github.com/numpy/numpy/compare/7230b9a5227f...be805e348835 From noreply at github.com Fri Jun 10 18:19:00 2016 From: noreply at github.com (GitHub) Date: Fri, 10 Jun 2016 15:19:00 -0700 Subject: [Numpy-svn] [numpy/numpy] 24ee6b: DOC: Corrections in Datetime Units-arrays.datetime... Message-ID: <575b3cd438de0_6b473ff92ff192b8139792@hookshot-fe6-cp1-prd.iad.github.net.mail> Branch: refs/heads/master Home: https://github.com/numpy/numpy Commit: 24ee6b3541501e9fadd57f67c23e392f8280593e https://github.com/numpy/numpy/commit/24ee6b3541501e9fadd57f67c23e392f8280593e Author: badhrink Date: 2016-06-10 (Fri, 10 Jun 2016) Changed paths: M doc/source/reference/arrays.datetime.rst Log Message: ----------- DOC: Corrections in Datetime Units-arrays.datetime.rst Changed/corrected Time span - relative and absolute - for second, millisecond and microsecond. There were slight differences and was noted duly in the issue. See #6711 (https://github.com/numpy/numpy/issues/6711) Commit: 34f15253935066da485cf41e05cbd668fbdbbb90 https://github.com/numpy/numpy/commit/34f15253935066da485cf41e05cbd668fbdbbb90 Author: Charles Harris Date: 2016-06-10 (Fri, 10 Jun 2016) Changed paths: M doc/source/reference/arrays.datetime.rst Log Message: ----------- Merge pull request #7727 from badhrink/patch-1 DOC: Corrections in Datetime Units-arrays.datetime.rst Compare: https://github.com/numpy/numpy/compare/5056c4cef5a3...34f152539350 From noreply at github.com Fri Jun 10 22:02:36 2016 From: noreply at github.com (GitHub) Date: Fri, 10 Jun 2016 19:02:36 -0700 Subject: [Numpy-svn] [numpy/numpy] 1aaf99: DOC: fix typo in savetxt docstring (closes #7620) Message-ID: <575b713cbf1b2_7543fe468a3d2c01348d1@hookshot-fe6-cp1-prd.iad.github.net.mail> Branch: refs/heads/master Home: https://github.com/numpy/numpy Commit: 1aaf99a31835beacd49ced62a7d02120e6942522 https://github.com/numpy/numpy/commit/1aaf99a31835beacd49ced62a7d02120e6942522 Author: bertrand Date: 2016-06-10 (Fri, 10 Jun 2016) Changed paths: M numpy/lib/npyio.py Log Message: ----------- DOC: fix typo in savetxt docstring (closes #7620) Commit: 690a5ed78bca568b6e1dce54678273b225db6c8a https://github.com/numpy/numpy/commit/690a5ed78bca568b6e1dce54678273b225db6c8a Author: Charles Harris Date: 2016-06-10 (Fri, 10 Jun 2016) Changed paths: M numpy/lib/npyio.py Log Message: ----------- Merge pull request #7729 from bertrand-l/savetext_doc_typo DOC: fix typo in savetxt docstring (closes #7620) Compare: https://github.com/numpy/numpy/compare/34f152539350...690a5ed78bca From noreply at github.com Sat Jun 11 11:28:11 2016 From: noreply at github.com (GitHub) Date: Sat, 11 Jun 2016 08:28:11 -0700 Subject: [Numpy-svn] [numpy/numpy] 9dc9a0: Change mkl_info.dir_env_var from MKL to MKLROOT Message-ID: <575c2e0bb622_2db03f81ba88d29c174767@hookshot-fe1-cp1-prd.iad.github.net.mail> Branch: refs/heads/master Home: https://github.com/numpy/numpy Commit: 9dc9a00fdca195e06477d2c7dbd79850e9d4e107 https://github.com/numpy/numpy/commit/9dc9a00fdca195e06477d2c7dbd79850e9d4e107 Author: Ray Donnelly Date: 2016-06-10 (Fri, 10 Jun 2016) Changed paths: M numpy/distutils/system_info.py Log Message: ----------- Change mkl_info.dir_env_var from MKL to MKLROOT Reference: https://software.intel.com/en-us/node/528500 Commit: 76c27b5d2a28657062b2dcebba062f1941e4955f https://github.com/numpy/numpy/commit/76c27b5d2a28657062b2dcebba062f1941e4955f Author: Charles Harris Date: 2016-06-11 (Sat, 11 Jun 2016) Changed paths: M numpy/distutils/system_info.py Log Message: ----------- Merge pull request #7723 from mingwandroid/master Change mkl_info.dir_env_var from MKL to MKLROOT Compare: https://github.com/numpy/numpy/compare/690a5ed78bca...76c27b5d2a28 From noreply at github.com Sat Jun 11 13:09:41 2016 From: noreply at github.com (GitHub) Date: Sat, 11 Jun 2016 10:09:41 -0700 Subject: [Numpy-svn] [numpy/numpy] 92f497: Change mkl_info.dir_env_var from MKL to MKLROOT Message-ID: <575c45d5e43db_750b3fe1243c12bc127225@hookshot-fe6-cp1-prd.iad.github.net.mail> Branch: refs/heads/maintenance/1.11.x Home: https://github.com/numpy/numpy Commit: 92f497a59c9fba24882c6d0ba211a19ba012c161 https://github.com/numpy/numpy/commit/92f497a59c9fba24882c6d0ba211a19ba012c161 Author: Ray Donnelly Date: 2016-06-11 (Sat, 11 Jun 2016) Changed paths: M numpy/distutils/system_info.py Log Message: ----------- Change mkl_info.dir_env_var from MKL to MKLROOT Reference: https://software.intel.com/en-us/node/528500 Commit: 1a709355c869e3af4b786fd95c5f72fb47f19016 https://github.com/numpy/numpy/commit/1a709355c869e3af4b786fd95c5f72fb47f19016 Author: Charles Harris Date: 2016-06-11 (Sat, 11 Jun 2016) Changed paths: M numpy/distutils/system_info.py Log Message: ----------- Merge pull request #7731 from charris/backport-7723 Backport 7723, Change mkl_info.dir_env_var from MKL to MKLROOT Compare: https://github.com/numpy/numpy/compare/be805e348835...1a709355c869 From noreply at github.com Sun Jun 12 16:17:08 2016 From: noreply at github.com (GitHub) Date: Sun, 12 Jun 2016 13:17:08 -0700 Subject: [Numpy-svn] [numpy/numpy] a52d2f: BUG: fix issue on OS X with Python 3.x where npyma... Message-ID: <575dc344342f4_1e083fda745bd2c02631da@hookshot-fe2-cp1-prd.iad.github.net.mail> Branch: refs/heads/master Home: https://github.com/numpy/numpy Commit: a52d2fa765096f1afd6c477e0f51ec3d6cb55814 https://github.com/numpy/numpy/commit/a52d2fa765096f1afd6c477e0f51ec3d6cb55814 Author: Ralf Gommers Date: 2016-06-12 (Sun, 12 Jun 2016) Changed paths: M numpy/distutils/misc_util.py M numpy/distutils/tests/test_misc_util.py Log Message: ----------- BUG: fix issue on OS X with Python 3.x where npymath.ini was not installed. Closes gh-7707. Happened for `pip install .` or another location (including a remote git repo). Commit: f2217305777a12d5716a772272e4a1a0645605d4 https://github.com/numpy/numpy/commit/f2217305777a12d5716a772272e4a1a0645605d4 Author: Charles Harris Date: 2016-06-12 (Sun, 12 Jun 2016) Changed paths: M numpy/distutils/misc_util.py M numpy/distutils/tests/test_misc_util.py Log Message: ----------- Merge pull request #7735 from rgommers/pip3-osx-install BUG: fix issue on OS X with Python 3.x where npymath.ini was not installed Compare: https://github.com/numpy/numpy/compare/76c27b5d2a28...f2217305777a From noreply at github.com Sun Jun 12 16:24:11 2016 From: noreply at github.com (GitHub) Date: Sun, 12 Jun 2016 13:24:11 -0700 Subject: [Numpy-svn] [numpy/numpy] 987cd0: DOC: Fix order='A' docs of np.array Message-ID: <575dc4eb1be7c_14893fdf6251f2bc1712f9@hookshot-fe4-cp1-prd.iad.github.net.mail> Branch: refs/heads/master Home: https://github.com/numpy/numpy Commit: 987cd0c2e6e2c8a73917e0bee19f869058c3b20f https://github.com/numpy/numpy/commit/987cd0c2e6e2c8a73917e0bee19f869058c3b20f Author: MechCoder Date: 2016-06-12 (Sun, 12 Jun 2016) Changed paths: M numpy/add_newdocs.py Log Message: ----------- DOC: Fix order='A' docs of np.array Commit: e85d99863c55bcb06ff9ccf9afbee6435ebb9b09 https://github.com/numpy/numpy/commit/e85d99863c55bcb06ff9ccf9afbee6435ebb9b09 Author: Charles Harris Date: 2016-06-12 (Sun, 12 Jun 2016) Changed paths: M numpy/add_newdocs.py Log Message: ----------- DOC: Further clarification of order argument in np.array. Attempt to clarify the sometimes convoluted behavior of the various order options 'K', 'A', 'C', 'F'. Commit: 70fed7d0120e839d8c73075219985a82406ca530 https://github.com/numpy/numpy/commit/70fed7d0120e839d8c73075219985a82406ca530 Author: Charles Harris Date: 2016-06-12 (Sun, 12 Jun 2016) Changed paths: M numpy/add_newdocs.py Log Message: ----------- Merge pull request #7733 from charris/update-7525 Update 7525, DOC: Fix order='A' docs of np.array. Compare: https://github.com/numpy/numpy/compare/f2217305777a...70fed7d0120e From noreply at github.com Sun Jun 12 16:24:36 2016 From: noreply at github.com (GitHub) Date: Sun, 12 Jun 2016 13:24:36 -0700 Subject: [Numpy-svn] [numpy/numpy] 76e2d4: ENH: Add `polyrootval` to numpy.polynomial Message-ID: <575dc504e4ee5_14b83fb244ac129c2252a1@hookshot-fe4-cp1-prd.iad.github.net.mail> Branch: refs/heads/master Home: https://github.com/numpy/numpy Commit: 76e2d4751294077cc4cafe155571ead8213133a8 https://github.com/numpy/numpy/commit/76e2d4751294077cc4cafe155571ead8213133a8 Author: e-q Date: 2016-06-12 (Sun, 12 Jun 2016) Changed paths: M doc/release/1.12.0-notes.rst M doc/source/reference/routines.polynomials.polynomial.rst M numpy/polynomial/polynomial.py M numpy/polynomial/tests/test_polynomial.py Log Message: ----------- ENH: Add `polyrootval` to numpy.polynomial As one can easily encounter when working with high-order signal processing filters, converting a high-order polynomial from its roots to its polynomial coefficients can be quite lossy, leading to inaccuracies in the filter's properties. This PR adds a new function, `polyrootval` - based on `polyval` - that evaluates a polynomial given a list of its roots. The benefit of calculating it this way can be seen at scipy/scipy:6059. Some tests are included, as well. Commit: e25f7c9e314e79de6be5f17dc4c2c2be8ee9b753 https://github.com/numpy/numpy/commit/e25f7c9e314e79de6be5f17dc4c2c2be8ee9b753 Author: Charles Harris Date: 2016-06-12 (Sun, 12 Jun 2016) Changed paths: M numpy/polynomial/polynomial.py M numpy/polynomial/tests/test_polynomial.py Log Message: ----------- MAINT: refactor and small fixes to polyvalfromroots. Simplify the logic a bit and make behavior consistent with polyval. Note that this adds a check that the number of dimensions of the array of the evaluation points is less than the number of dimensions of the array of roots when tensor=False. That check is missing from polyval and needs to be added. Commit: 541fd509c24e9d3f94b478b3d09c8ac1b0c0d207 https://github.com/numpy/numpy/commit/541fd509c24e9d3f94b478b3d09c8ac1b0c0d207 Author: Charles Harris Date: 2016-06-12 (Sun, 12 Jun 2016) Changed paths: M doc/release/1.12.0-notes.rst M doc/source/reference/routines.polynomials.polynomial.rst M numpy/polynomial/polynomial.py M numpy/polynomial/tests/test_polynomial.py Log Message: ----------- Merge pull request #7734 from charris/update-7542 Update 7542, ENH: Add `polyrootval` to numpy.polynomial Compare: https://github.com/numpy/numpy/compare/70fed7d0120e...541fd509c24e From noreply at github.com Sun Jun 12 17:58:54 2016 From: noreply at github.com (GitHub) Date: Sun, 12 Jun 2016 14:58:54 -0700 Subject: [Numpy-svn] [numpy/numpy] 53fe14: BUG: fix issue on OS X with Python 3.x where npyma... Message-ID: <575ddb1e7979b_6ee03fdad110d2b8127880@hookshot-fe6-cp1-prd.iad.github.net.mail> Branch: refs/heads/maintenance/1.11.x Home: https://github.com/numpy/numpy Commit: 53fe147e4a1c8e8f47dbd6d01d5fb64eff0b37a0 https://github.com/numpy/numpy/commit/53fe147e4a1c8e8f47dbd6d01d5fb64eff0b37a0 Author: Ralf Gommers Date: 2016-06-12 (Sun, 12 Jun 2016) Changed paths: M numpy/distutils/misc_util.py M numpy/distutils/tests/test_misc_util.py Log Message: ----------- BUG: fix issue on OS X with Python 3.x where npymath.ini was not installed. Closes gh-7707. Happened for `pip install .` or another location (including a remote git repo). Commit: d204cc4a26bf60dae74f2d360518d3c2cc828c18 https://github.com/numpy/numpy/commit/d204cc4a26bf60dae74f2d360518d3c2cc828c18 Author: Charles Harris Date: 2016-06-12 (Sun, 12 Jun 2016) Changed paths: M numpy/distutils/misc_util.py M numpy/distutils/tests/test_misc_util.py Log Message: ----------- Merge pull request #7737 from charris/backport-7735 Backport 7735, BUG: fix issue on OS X with Python 3.x, npymath.ini not installed. Compare: https://github.com/numpy/numpy/compare/1a709355c869...d204cc4a26bf From noreply at github.com Sun Jun 12 21:29:17 2016 From: noreply at github.com (GitHub) Date: Sun, 12 Jun 2016 18:29:17 -0700 Subject: [Numpy-svn] [numpy/numpy] f7347f: BUG: many functions silently drop `keepdims` kwarg Message-ID: <575e0c6d1b5ba_10ff3f7e763cd2bc16306c@hookshot-fe4-cp1-prd.iad.github.net.mail> Branch: refs/heads/maintenance/1.11.x Home: https://github.com/numpy/numpy Commit: f7347fdc71250aed53fbefe1989cf31da74b1658 https://github.com/numpy/numpy/commit/f7347fdc71250aed53fbefe1989cf31da74b1658 Author: Thomas A Caswell Date: 2016-06-12 (Sun, 12 Jun 2016) Changed paths: M numpy/core/fromnumeric.py M numpy/core/tests/test_numeric.py M numpy/lib/nanfunctions.py Log Message: ----------- BUG: many functions silently drop `keepdims` kwarg change test from `type(a) is not mu.ndarray` to `not isinstance(a, mu.ndarray)` Because every sub-class of ndarray is not guaranteed to implement `keepdims` as a kwarg, when wrapping these methods care must be taken. The previous behavior was to silently eat the kwarg when dealing with a sub-class of ndarray. Now, if `keepdims=np._NoValue` (the new default) it is not passed through to the underlying function call (so the default value of `keepdims` is now controlled by the sub-class). If `keepdims` is not `np._NoValue` then it is passed through and will raise an exception if the sub-class does not support the kwarg. A special case in nanvar was required to deal with `matrix` that previously relied on `fromnumeric` silently dropping `keepdims`. Commit: 4de9331d9f4c10cd561c39d92adea15287eba24e https://github.com/numpy/numpy/commit/4de9331d9f4c10cd561c39d92adea15287eba24e Author: Charles Harris Date: 2016-06-12 (Sun, 12 Jun 2016) Changed paths: M numpy/core/fromnumeric.py M numpy/core/tests/test_numeric.py M numpy/lib/nanfunctions.py Log Message: ----------- Merge pull request #7736 from charris/backport-4619 Backport 4619, BUG: many functions silently drop `keepdims` kwarg Compare: https://github.com/numpy/numpy/compare/d204cc4a26bf...4de9331d9f4c From noreply at github.com Mon Jun 13 09:21:13 2016 From: noreply at github.com (GitHub) Date: Mon, 13 Jun 2016 06:21:13 -0700 Subject: [Numpy-svn] [numpy/numpy] abbf79: DOC: Mention the changes of #6430 in the release n... Message-ID: <575eb349bf835_b143fcc52edd2b8260242@hookshot-fe5-cp1-prd.iad.github.net.mail> Branch: refs/heads/master Home: https://github.com/numpy/numpy Commit: abbf7945ee90680a2dde932be2968ed7fa85f46c https://github.com/numpy/numpy/commit/abbf7945ee90680a2dde932be2968ed7fa85f46c Author: Erik M. Bray Date: 2016-06-13 (Mon, 13 Jun 2016) Changed paths: M doc/release/1.12.0-notes.rst Log Message: ----------- DOC: Mention the changes of #6430 in the release notes. Commit: fd946f0f18795b64a2e2da3a047c76187d29a26d https://github.com/numpy/numpy/commit/fd946f0f18795b64a2e2da3a047c76187d29a26d Author: Charles Harris Date: 2016-06-13 (Mon, 13 Jun 2016) Changed paths: M doc/release/1.12.0-notes.rst Log Message: ----------- Merge pull request #7739 from embray/doc/6430 DOC: Mention the changes of #6430 in the release notes. Compare: https://github.com/numpy/numpy/compare/541fd509c24e...fd946f0f1879 From noreply at github.com Mon Jun 13 10:47:21 2016 From: noreply at github.com (GitHub) Date: Mon, 13 Jun 2016 07:47:21 -0700 Subject: [Numpy-svn] [numpy/numpy] 37d301: BUG: MA ufuncs should set mask to False, not array... Message-ID: <575ec779594c4_3c9c3fd720b392a019021f@hookshot-fe1-cp1-prd.iad.github.net.mail> Branch: refs/heads/master Home: https://github.com/numpy/numpy Commit: 37d301949af456a7aa006ae79bfec910146732f8 https://github.com/numpy/numpy/commit/37d301949af456a7aa006ae79bfec910146732f8 Author: Allan Haldane Date: 2016-03-07 (Mon, 07 Mar 2016) Changed paths: M numpy/ma/core.py M numpy/ma/tests/test_core.py Log Message: ----------- BUG: MA ufuncs should set mask to False, not array([False]) Commit: 9d3f4757fe7600efc9c77aa945bea9476fa9dcd0 https://github.com/numpy/numpy/commit/9d3f4757fe7600efc9c77aa945bea9476fa9dcd0 Author: Charles Harris Date: 2016-06-13 (Mon, 13 Jun 2016) Changed paths: M numpy/ma/core.py M numpy/ma/tests/test_core.py Log Message: ----------- Merge pull request #7350 from ahaldane/ma_fix_2_ufuncfalse BUG: MA ufuncs should set mask to False, not array([False]) Compare: https://github.com/numpy/numpy/compare/fd946f0f1879...9d3f4757fe76 From noreply at github.com Mon Jun 13 13:57:52 2016 From: noreply at github.com (GitHub) Date: Mon, 13 Jun 2016 10:57:52 -0700 Subject: [Numpy-svn] [numpy/numpy] 69fb4f: DOC: add reference to poisson rng Message-ID: <575ef4208b8bb_3c8b3fb5e35a32b81005e@hookshot-fe6-cp1-prd.iad.github.net.mail> Branch: refs/heads/master Home: https://github.com/numpy/numpy Commit: 69fb4f160518ac347efc63dc17ebdf81285c1958 https://github.com/numpy/numpy/commit/69fb4f160518ac347efc63dc17ebdf81285c1958 Author: Julian Taylor Date: 2016-06-13 (Mon, 13 Jun 2016) Changed paths: M numpy/random/mtrand/distributions.c Log Message: ----------- DOC: add reference to poisson rng [ci skip] Commit: a94fd6122aa30b2cf24757c3e3e826d532c7fe6c https://github.com/numpy/numpy/commit/a94fd6122aa30b2cf24757c3e3e826d532c7fe6c Author: Charles Harris Date: 2016-06-13 (Mon, 13 Jun 2016) Changed paths: M numpy/random/mtrand/distributions.c Log Message: ----------- Merge pull request #7740 from juliantaylor/poisson-doc DOC: add reference to poisson rng Compare: https://github.com/numpy/numpy/compare/9d3f4757fe76...a94fd6122aa3 From noreply at github.com Tue Jun 14 09:57:57 2016 From: noreply at github.com (GitHub) Date: Tue, 14 Jun 2016 06:57:57 -0700 Subject: [Numpy-svn] [numpy/numpy] 591737: MAINT: FutureWarning for changes to np.average sub... Message-ID: <57600d651ea42_3c6d3fc36aed52c0794bd@hookshot-fe4-cp1-prd.iad.github.net.mail> Branch: refs/heads/master Home: https://github.com/numpy/numpy Commit: 59173726d78e5d9a2ab117bc57961e941769424b https://github.com/numpy/numpy/commit/59173726d78e5d9a2ab117bc57961e941769424b Author: Allan Haldane Date: 2016-06-14 (Tue, 14 Jun 2016) Changed paths: M doc/release/1.12.0-notes.rst M numpy/lib/function_base.py Log Message: ----------- MAINT: FutureWarning for changes to np.average subclass handling Fixes #7403 Commit: ce0896645ed6e188be33193484edecac8b7a0f94 https://github.com/numpy/numpy/commit/ce0896645ed6e188be33193484edecac8b7a0f94 Author: Charles Harris Date: 2016-06-14 (Tue, 14 Jun 2016) Changed paths: M doc/release/1.12.0-notes.rst M numpy/lib/function_base.py Log Message: ----------- Merge pull request #7433 from ahaldane/deprecate_average MAINT: FutureWarning for changes to np.average subclass handling Compare: https://github.com/numpy/numpy/compare/a94fd6122aa3...ce0896645ed6 From noreply at github.com Tue Jun 14 10:30:28 2016 From: noreply at github.com (GitHub) Date: Tue, 14 Jun 2016 07:30:28 -0700 Subject: [Numpy-svn] [numpy/numpy] 37e8d1: ENH: add extra kwargs and update doc of many MA me... Message-ID: <576015047b700_f2a3fe73d82729c7591d@hookshot-fe2-cp1-prd.iad.github.net.mail> Branch: refs/heads/maintenance/1.11.x Home: https://github.com/numpy/numpy Commit: 37e8d19a65834294bb4985f773a6f96803e07ed1 https://github.com/numpy/numpy/commit/37e8d19a65834294bb4985f773a6f96803e07ed1 Author: Allan Haldane Date: 2016-06-12 (Sun, 12 Jun 2016) Changed paths: M numpy/ma/core.py Log Message: ----------- ENH: add extra kwargs and update doc of many MA methods Updated any, all, sum, prod, cumsum, cumprod, min, max, argmin, argmax, mean, var Commit: f3732210c0ebb6b0cb534926410be44ae65759ed https://github.com/numpy/numpy/commit/f3732210c0ebb6b0cb534926410be44ae65759ed Author: Allan Haldane Date: 2016-06-12 (Sun, 12 Jun 2016) Changed paths: M numpy/ma/tests/test_core.py Log Message: ----------- TST: Unit tests for new kwd args in MA methods Commit: f7c24297448d4d2d07ad31bbec9fefab534c6bae https://github.com/numpy/numpy/commit/f7c24297448d4d2d07ad31bbec9fefab534c6bae Author: Allan Haldane Date: 2016-06-12 (Sun, 12 Jun 2016) Changed paths: M numpy/ma/extras.py Log Message: ----------- ENH: update MA average, median Commit: e2163812c80e6a59fc68f3ec2ff04fc969029b05 https://github.com/numpy/numpy/commit/e2163812c80e6a59fc68f3ec2ff04fc969029b05 Author: Charles Harris Date: 2016-06-14 (Tue, 14 Jun 2016) Changed paths: M numpy/ma/core.py M numpy/ma/extras.py M numpy/ma/tests/test_core.py Log Message: ----------- Merge pull request #7738 from charris/backport-5706 Backport 5706, ENH: add extra kwargs and update doc of many MA methods Compare: https://github.com/numpy/numpy/compare/4de9331d9f4c...e2163812c80e From noreply at github.com Tue Jun 14 14:36:40 2016 From: noreply at github.com (GitHub) Date: Tue, 14 Jun 2016 11:36:40 -0700 Subject: [Numpy-svn] [numpy/numpy] 893194: DEP: deprecate Numeric-style typecodes, closes #21... Message-ID: <57604eb86cac0_7a203f95c4d0b29c7312b@hookshot-fe3-cp1-prd.iad.github.net.mail> Branch: refs/heads/master Home: https://github.com/numpy/numpy Commit: 893194cb9edebcb2bd17dce59ecd86313245d7ce https://github.com/numpy/numpy/commit/893194cb9edebcb2bd17dce59ecd86313245d7ce Author: Jaime Fernandez Date: 2016-06-14 (Tue, 14 Jun 2016) Changed paths: M numpy/core/src/multiarray/descriptor.c M numpy/core/tests/test_deprecations.py Log Message: ----------- DEP: deprecate Numeric-style typecodes, closes #2148 Commit: dceaf05a55d51f1aab5e962c632c6a15c3f6448b https://github.com/numpy/numpy/commit/dceaf05a55d51f1aab5e962c632c6a15c3f6448b Author: Charles Harris Date: 2016-06-14 (Tue, 14 Jun 2016) Changed paths: M numpy/core/src/multiarray/descriptor.c M numpy/core/tests/test_deprecations.py Log Message: ----------- BUG: Fix bugs in gh-7476. * Remove duplicate "Unicode0" in list of numeric types * Add TypeError for exception when deprecated type fails. * Unicode0 and String0 are not available in Python3 already. * Fix bug in _DeprecationTestCase error message. Commit: fb1a2cc4ee72852503758e7939ad1c827ce690b3 https://github.com/numpy/numpy/commit/fb1a2cc4ee72852503758e7939ad1c827ce690b3 Author: Charles Harris Date: 2016-06-14 (Tue, 14 Jun 2016) Changed paths: M numpy/core/src/multiarray/descriptor.c M numpy/core/tests/test_deprecations.py Log Message: ----------- Merge pull request #7743 from charris/update-7476 Update 7476, DEP: deprecate Numeric-style typecodes, closes #2148 Compare: https://github.com/numpy/numpy/compare/ce0896645ed6...fb1a2cc4ee72 From noreply at github.com Tue Jun 14 17:39:23 2016 From: noreply at github.com (GitHub) Date: Tue, 14 Jun 2016 14:39:23 -0700 Subject: [Numpy-svn] [numpy/numpy] cdd85d: DOC: Remove "ones_like" from ufuncs list (it is no... Message-ID: <5760798b8ace9_15d63fb1b9e0d29c102838@hookshot-fe5-cp1-prd.iad.github.net.mail> Branch: refs/heads/master Home: https://github.com/numpy/numpy Commit: cdd85dc99d5292d0037e77e481fe3f0c975ad09c https://github.com/numpy/numpy/commit/cdd85dc99d5292d0037e77e481fe3f0c975ad09c Author: John Zwinck Date: 2016-06-14 (Tue, 14 Jun 2016) Changed paths: M doc/source/reference/ufuncs.rst Log Message: ----------- DOC: Remove "ones_like" from ufuncs list (it is not) Mentioned here: http://stackoverflow.com/questions/37625478/why-is-ones-like-listed-as-a-ufunc Commit: 330d023e5cfcc9aef7334e1b20f3068502054112 https://github.com/numpy/numpy/commit/330d023e5cfcc9aef7334e1b20f3068502054112 Author: Charles Harris Date: 2016-06-14 (Tue, 14 Jun 2016) Changed paths: M doc/source/reference/ufuncs.rst Log Message: ----------- Merge pull request #7744 from jzwinck/master DOC: Remove "ones_like" from ufuncs list (it is not) Compare: https://github.com/numpy/numpy/compare/fb1a2cc4ee72...330d023e5cfc From noreply at github.com Wed Jun 15 10:23:54 2016 From: noreply at github.com (GitHub) Date: Wed, 15 Jun 2016 07:23:54 -0700 Subject: [Numpy-svn] [numpy/numpy] 3cb692: DOC: Clarify the effect of rcond in numpy.linalg.l... Message-ID: <576164fa9cfd3_78e03fdf07daf2c018611f@hookshot-fe5-cp1-prd.iad.github.net.mail> Branch: refs/heads/master Home: https://github.com/numpy/numpy Commit: 3cb6927d0457e800364c26c6022d01e7fd8f2660 https://github.com/numpy/numpy/commit/3cb6927d0457e800364c26c6022d01e7fd8f2660 Author: Stuart Archibald Date: 2016-06-15 (Wed, 15 Jun 2016) Changed paths: M numpy/linalg/linalg.py Log Message: ----------- DOC: Clarify the effect of rcond in numpy.linalg.lstsq. The `rcond` `kwarg` to `numpy.linalg.lstsq` influences the rank determination computation by specifying the level at which singular values should be *treated* as zero, it does not cause the singular values to be "set" to zero. Commit: 0b3a7d90c4d362c88d25150ada4cc95f6b8bc621 https://github.com/numpy/numpy/commit/0b3a7d90c4d362c88d25150ada4cc95f6b8bc621 Author: Charles Harris Date: 2016-06-15 (Wed, 15 Jun 2016) Changed paths: M numpy/linalg/linalg.py Log Message: ----------- Merge pull request #7746 from stuartarchibald/wip/np_la_lstsq_doc_fix DOC: Clarify the effect of rcond in numpy.linalg.lstsq. Compare: https://github.com/numpy/numpy/compare/330d023e5cfc...0b3a7d90c4d3 From noreply at github.com Wed Jun 15 10:34:58 2016 From: noreply at github.com (GitHub) Date: Wed, 15 Jun 2016 07:34:58 -0700 Subject: [Numpy-svn] [numpy/numpy] 1fc268: BUG: sort after conjugating so that poly() outputs... Message-ID: <5761679280da7_69e83fe5263b92a011555b@hookshot-fe4-cp1-prd.iad.github.net.mail> Branch: refs/heads/master Home: https://github.com/numpy/numpy Commit: 1fc268723596266761f1124434676ac234248636 https://github.com/numpy/numpy/commit/1fc268723596266761f1124434676ac234248636 Author: endolith Date: 2015-01-25 (Sun, 25 Jan 2015) Changed paths: M numpy/lib/polynomial.py Log Message: ----------- BUG: sort after conjugating so that poly() outputs real type for exact conjugates Commit: 6a88cb9cced64ba2e0079c5df48b9734ec0f05bc https://github.com/numpy/numpy/commit/6a88cb9cced64ba2e0079c5df48b9734ec0f05bc Author: endolith Date: 2015-01-25 (Sun, 25 Jan 2015) Changed paths: M numpy/lib/tests/test_polynomial.py Log Message: ----------- TST: Add tests for np.poly() Commit: 7d9789f06d305e438425d98e0ce779fb012e6296 https://github.com/numpy/numpy/commit/7d9789f06d305e438425d98e0ce779fb012e6296 Author: endolith Date: 2015-01-25 (Sun, 25 Jan 2015) Changed paths: M numpy/lib/tests/test_polynomial.py Log Message: ----------- TST: Fix missing imports, undeterministic test Change to a deterministic test instead of using rand Commit: cb000ea67435d21fa351d1843e28be3792484b7b https://github.com/numpy/numpy/commit/cb000ea67435d21fa351d1843e28be3792484b7b Author: endolith Date: 2015-02-17 (Tue, 17 Feb 2015) Changed paths: M numpy/lib/polynomial.py Log Message: ----------- Simpler checking of complex conjugates Commit: 050f390199b098b8f1d7bf89a003573f17a690ba https://github.com/numpy/numpy/commit/050f390199b098b8f1d7bf89a003573f17a690ba Author: Endolith Date: 2015-03-08 (Sun, 08 Mar 2015) Changed paths: M numpy/lib/tests/test_polynomial.py Log Message: ----------- TST: Set seed for deterministic random test also fixed some PEP8 issues Commit: e26738a628de0fe1897f2960708ec16e4c3177f7 https://github.com/numpy/numpy/commit/e26738a628de0fe1897f2960708ec16e4c3177f7 Author: Charles Harris Date: 2016-06-15 (Wed, 15 Jun 2016) Changed paths: M numpy/lib/polynomial.py M numpy/lib/tests/test_polynomial.py Log Message: ----------- Merge pull request #4073 from endolith/patch-2 BUG: change real output checking to test if all imaginary parts are zero Compare: https://github.com/numpy/numpy/compare/0b3a7d90c4d3...e26738a628de From noreply at github.com Wed Jun 15 15:03:36 2016 From: noreply at github.com (GitHub) Date: Wed, 15 Jun 2016 12:03:36 -0700 Subject: [Numpy-svn] [numpy/numpy] 37ee08: BUG: Make sure we don't divide by zero in np.polyf... Message-ID: <5761a6888b72e_59d3ff13ef312bc124926@hookshot-fe4-cp1-prd.iad.github.net.mail> Branch: refs/heads/master Home: https://github.com/numpy/numpy Commit: 37ee08dc9c7cbe0cf8a671c8cc73877d1a142ee1 https://github.com/numpy/numpy/commit/37ee08dc9c7cbe0cf8a671c8cc73877d1a142ee1 Author: David Schaich Date: 2016-06-15 (Wed, 15 Jun 2016) Changed paths: M numpy/lib/polynomial.py Log Message: ----------- BUG: Make sure we don't divide by zero in np.polyfit. This should fix the issue discussed at https://mail.scipy.org/pipermail/numpy-discussion/2013-July/067076.html Without the ValueError added here, polyfit can (and does) return negative or nan variances with no warning. Commit: 330291ffcba6d00b6534bcf80107f3baea5b48a4 https://github.com/numpy/numpy/commit/330291ffcba6d00b6534bcf80107f3baea5b48a4 Author: Charles Harris Date: 2016-06-15 (Wed, 15 Jun 2016) Changed paths: M numpy/lib/polynomial.py M numpy/lib/tests/test_polynomial.py Log Message: ----------- TST: Test that polyfit raises if not enough data for cov estimate. Also a slight refactoring of np.polyfit. Commit: 96030cd8f29828fccea16f681f50a749bb836af0 https://github.com/numpy/numpy/commit/96030cd8f29828fccea16f681f50a749bb836af0 Author: Charles Harris Date: 2016-06-15 (Wed, 15 Jun 2016) Changed paths: M numpy/lib/polynomial.py M numpy/lib/tests/test_polynomial.py Log Message: ----------- Merge pull request #7747 from charris/update-7672 Update 7672, BUG: Make sure we don't divide by zero Compare: https://github.com/numpy/numpy/compare/e26738a628de...96030cd8f298 From noreply at github.com Wed Jun 15 16:21:10 2016 From: noreply at github.com (GitHub) Date: Wed, 15 Jun 2016 13:21:10 -0700 Subject: [Numpy-svn] [numpy/numpy] 9b8803: DOC: Update float32 mean example in docstring Message-ID: <5761b8b6c1fe9_29bb3fbaa41c72a01738c4@hookshot-fe4-cp1-prd.iad.github.net.mail> Branch: refs/heads/master Home: https://github.com/numpy/numpy Commit: 9b88034e92794d814bb033f72302a55ca19abdf2 https://github.com/numpy/numpy/commit/9b88034e92794d814bb033f72302a55ca19abdf2 Author: Kelsey Jordahl Date: 2016-06-15 (Wed, 15 Jun 2016) Changed paths: M numpy/core/fromnumeric.py Log Message: ----------- DOC: Update float32 mean example in docstring Commit: 4ccf3d7378a5dd9094a7e27c180eda01d7487278 https://github.com/numpy/numpy/commit/4ccf3d7378a5dd9094a7e27c180eda01d7487278 Author: Charles Harris Date: 2016-06-15 (Wed, 15 Jun 2016) Changed paths: M numpy/core/fromnumeric.py Log Message: ----------- Merge pull request #7748 from kjordahl/doc/mean-float32 DOC: Update float32 mean example in docstring Compare: https://github.com/numpy/numpy/compare/96030cd8f298...4ccf3d7378a5 From noreply at github.com Fri Jun 17 15:53:51 2016 From: noreply at github.com (GitHub) Date: Fri, 17 Jun 2016 12:53:51 -0700 Subject: [Numpy-svn] [numpy/numpy] e22492: ENH: Alias broadcast.ndim to broadcast.nd Message-ID: <5764554fe83d2_56193fe5e08bf2bc1463bf@hookshot-fe4-cp1-prd.iad.github.net.mail> Branch: refs/heads/master Home: https://github.com/numpy/numpy Commit: e22492340f9d89ee77f0dc3fbfcd499c855a9d14 https://github.com/numpy/numpy/commit/e22492340f9d89ee77f0dc3fbfcd499c855a9d14 Author: Eric Wieser Date: 2016-06-15 (Wed, 15 Jun 2016) Changed paths: M numpy/add_newdocs.py M numpy/core/src/multiarray/iterators.c M numpy/core/tests/test_numeric.py Log Message: ----------- ENH: Alias broadcast.ndim to broadcast.nd Both `ndarray` and `nditer` spell this property `ndim`, so broadcast objects should too. The existing property remains for compatibility Commit: 71c18e964e36f3875db867ae45b6e22fb551ae85 https://github.com/numpy/numpy/commit/71c18e964e36f3875db867ae45b6e22fb551ae85 Author: Charles Harris Date: 2016-06-17 (Fri, 17 Jun 2016) Changed paths: M numpy/add_newdocs.py M numpy/core/tests/test_numeric.py Log Message: ----------- MAINT: Tweak documentation of broadcast.nd and broadcast.ndim. Note that the newly added `ndim` property is an alias for `nd` and not available in numpy versions earlier than 1.12. Add back the tests for `nd`. They can be removed if/when `nd` is dropped. Commit: d3afd5057ca05ae7d315c68e5009b3ee183860e3 https://github.com/numpy/numpy/commit/d3afd5057ca05ae7d315c68e5009b3ee183860e3 Author: Charles Harris Date: 2016-06-17 (Fri, 17 Jun 2016) Changed paths: M numpy/add_newdocs.py M numpy/core/src/multiarray/iterators.c M numpy/core/tests/test_numeric.py Log Message: ----------- Merge pull request #7754 from charris/update-7612 Update 7612, ENH: Add broadcast.ndim to match code elsewhere. Compare: https://github.com/numpy/numpy/compare/4ccf3d7378a5...d3afd5057ca0 From noreply at github.com Sat Jun 18 09:21:57 2016 From: noreply at github.com (GitHub) Date: Sat, 18 Jun 2016 06:21:57 -0700 Subject: [Numpy-svn] [numpy/numpy] f14ad7: BUG: Invalid read of size 4 in PyArray_FromFile Message-ID: <57654af512a6c_58f73f83cd4a929c12279d@hookshot-fe5-cp1-prd.iad.github.net.mail> Branch: refs/heads/master Home: https://github.com/numpy/numpy Commit: f14ad751198b203c7c9ee7b0f8127cd625528a97 https://github.com/numpy/numpy/commit/f14ad751198b203c7c9ee7b0f8127cd625528a97 Author: Yu Feng Date: 2016-06-17 (Fri, 17 Jun 2016) Changed paths: M numpy/core/src/multiarray/ctors.c Log Message: ----------- BUG: Invalid read of size 4 in PyArray_FromFile When the input dtype has a subarray, the dtype is DECREFed by PyArray_NewFromDescr, before dtype->elsize is accessed. If no one else holds a reference to the dtype object, then the dtype object will be destroyed, and dtype->elsize shall not be accessed. This raises an error in Valgrind, and occasionally crashes innocently looking code. e.g. ```numpy.fromfile('filename', dtype=('f8', 3'))``` This affects versions as early as 1.9.2 (where I found this bug) and seems to be still relevant today. Closes #7756. Commit: b79cc49ceb0323fb14db6cc42ecbc94a247648fb https://github.com/numpy/numpy/commit/b79cc49ceb0323fb14db6cc42ecbc94a247648fb Author: Charles Harris Date: 2016-06-17 (Fri, 17 Jun 2016) Changed paths: M numpy/core/src/multiarray/ctors.c Log Message: ----------- MAINT: Add comments and small cleanup ctors.c - Do not use fail exit in array_fromfile_binary. - Add comment explaining why we Py_INCREF dtype before call to PyArray_NewFromDescr in array_fromfile_binary and array_from_text. Commit: 5500019647bc8138d4eac294016660a6832a2706 https://github.com/numpy/numpy/commit/5500019647bc8138d4eac294016660a6832a2706 Author: Charles Harris Date: 2016-06-18 (Sat, 18 Jun 2016) Changed paths: M numpy/core/src/multiarray/ctors.c Log Message: ----------- Merge pull request #7757 from charris/update-7175 Update 7175, BUG: Invalid read of size 4 in PyArray_FromFile Compare: https://github.com/numpy/numpy/compare/d3afd5057ca0...5500019647bc From noreply at github.com Sat Jun 18 10:50:12 2016 From: noreply at github.com (GitHub) Date: Sat, 18 Jun 2016 07:50:12 -0700 Subject: [Numpy-svn] [numpy/numpy] de97bb: Avoid NPY_ARRAY_F_CONTIGUOUS for numpy < 1.7 Message-ID: <57655fa4707db_55723fea92e9f2c02335fb@hookshot-fe3-cp1-prd.iad.github.net.mail> Branch: refs/heads/master Home: https://github.com/numpy/numpy Commit: de97bb2ccaa4293632fdd28f6370d63a55d5d538 https://github.com/numpy/numpy/commit/de97bb2ccaa4293632fdd28f6370d63a55d5d538 Author: Jan David Mol Date: 2016-06-18 (Sat, 18 Jun 2016) Changed paths: M tools/swig/numpy.i Log Message: ----------- Avoid NPY_ARRAY_F_CONTIGUOUS for numpy < 1.7 numpy API < 1.7 does not support NPY_ARRAY_F_CONTIGUOUS.or PyArray_IS_F_CONTIGUOUS. Supporting old APIs is useful as users tend to ship modern numpy.i files to compile against possibly older numpy installations. Commit: 812ca6fcb2461e2617a50c0c132a1a27ac134849 https://github.com/numpy/numpy/commit/812ca6fcb2461e2617a50c0c132a1a27ac134849 Author: Charles Harris Date: 2016-06-18 (Sat, 18 Jun 2016) Changed paths: M tools/swig/numpy.i Log Message: ----------- Merge pull request #7759 from jjdmol/master BUG: Fix numpy.i support for numpy API < 1.7. Compare: https://github.com/numpy/numpy/compare/5500019647bc...812ca6fcb246 From noreply at github.com Mon Jun 20 10:58:32 2016 From: noreply at github.com (GitHub) Date: Mon, 20 Jun 2016 07:58:32 -0700 Subject: [Numpy-svn] [numpy/numpy] af4ad9: fix an English typo Message-ID: <57680498b614d_10a23f94dde852b8208388@hookshot-fe4-cp1-prd.iad.github.net.mail> Branch: refs/heads/master Home: https://github.com/numpy/numpy Commit: af4ad9f368ac14a2745a7440b8ed8b25b6286245 https://github.com/numpy/numpy/commit/af4ad9f368ac14a2745a7440b8ed8b25b6286245 Author: Yinon Ehrlich Date: 2016-06-20 (Mon, 20 Jun 2016) Changed paths: M numpy/ctypeslib.py Log Message: ----------- fix an English typo Commit: a348cc7aed675e97dd60b7f145ede7916b0c1f42 https://github.com/numpy/numpy/commit/a348cc7aed675e97dd60b7f145ede7916b0c1f42 Author: Jaime Date: 2016-06-20 (Mon, 20 Jun 2016) Changed paths: M numpy/ctypeslib.py Log Message: ----------- Merge pull request #7766 from Tiksagol/Tiksagol-patch-1 fix an English typo Compare: https://github.com/numpy/numpy/compare/812ca6fcb246...a348cc7aed67 From noreply at github.com Mon Jun 20 11:17:34 2016 From: noreply at github.com (GitHub) Date: Mon, 20 Jun 2016 08:17:34 -0700 Subject: [Numpy-svn] [numpy/numpy] 55002a: ENH: Make assert_almost_equal & assert_array_almos... Message-ID: <5768090ec45f_788e3f7e2e0d72bc104168@hookshot-fe5-cp1-prd.iad.github.net.mail> Branch: refs/heads/master Home: https://github.com/numpy/numpy Commit: 55002a5204240bfaabdc19bd670c50e47881247c https://github.com/numpy/numpy/commit/55002a5204240bfaabdc19bd670c50e47881247c Author: Charles Harris Date: 2016-06-19 (Sun, 19 Jun 2016) Changed paths: M doc/release/1.12.0-notes.rst M numpy/testing/tests/test_utils.py M numpy/testing/utils.py Log Message: ----------- ENH: Make assert_almost_equal & assert_array_almost_equal consistent. This changes the check for scalars in assert_almost_equal so that abs(actual - desired) < 1.5 * 10**(-decimal) Note that the previous documentation claimed that the functions were equivalent to abs(actual - desired) < .5 * 10**(-decimal) but that was not how they behaved in practice. Due to the change in implementation, some very delicate tests may fail that did not fail before. No extra failures were noted in scipy. Closes #5200. Commit: f902cfd0e10f3ceba461dd2cdce0c534674578e7 https://github.com/numpy/numpy/commit/f902cfd0e10f3ceba461dd2cdce0c534674578e7 Author: Charles Harris Date: 2016-06-20 (Mon, 20 Jun 2016) Changed paths: M doc/release/1.12.0-notes.rst M numpy/testing/tests/test_utils.py M numpy/testing/utils.py Log Message: ----------- Merge pull request #7760 from charris/fix-almost-equal-tests ENH: Make assert_almost_equal & assert_array_almost_equal consistent. Compare: https://github.com/numpy/numpy/compare/a348cc7aed67...f902cfd0e10f From noreply at github.com Tue Jun 21 20:55:11 2016 From: noreply at github.com (GitHub) Date: Tue, 21 Jun 2016 17:55:11 -0700 Subject: [Numpy-svn] [numpy/numpy] c96736: ENH: Add geomspace function Message-ID: <5769e1efbb071_3e253fb7e82592b8145cb@hookshot-fe4-cp1-prd.iad.github.net.mail> Branch: refs/heads/master Home: https://github.com/numpy/numpy Commit: c96736198c01861aa8d7ea2b57876648eb999c61 https://github.com/numpy/numpy/commit/c96736198c01861aa8d7ea2b57876648eb999c61 Author: Endolith Date: 2016-06-20 (Mon, 20 Jun 2016) Changed paths: M numpy/core/function_base.py M numpy/core/tests/test_function_base.py Log Message: ----------- ENH: Add geomspace function Like logspace, but specifying start and stop directly, without having to specify the base. Purely imaginary or purely negative real sequences are converted to positive real, computed, and converted back, so there are no negligible real or imaginary parts. Instead of array([ 6.12323400e-17 +1.00000000e+00j, 6.12323400e-16 +1.00000000e+01j, 6.12323400e-15 +1.00000000e+02j, 6.12323400e-14 +1.00000000e+03j]) it outputs array([ 0. +1.j, 0. +10.j, 0. +100.j, 0.+1000.j]) If dtype is complex it does the math in complex so it can leave the real line and follow a spiral. TST: Added tests for geomspace and more tests for logspace, making PhysicalQuantities tests work for all types of functions PEP8: __all__ after imports, line wrapping Commit: e53570dda20ba7863b1aa225a069a206b9d725e2 https://github.com/numpy/numpy/commit/e53570dda20ba7863b1aa225a069a206b9d725e2 Author: endolith Date: 2016-06-21 (Tue, 21 Jun 2016) Changed paths: M doc/release/1.12.0-notes.rst M doc/source/reference/routines.array-creation.rst Log Message: ----------- DOC: Add geomspace to function list, release notes Commit: 70f50b8cbb1cd09c2dd108abe36ed211b9e0a071 https://github.com/numpy/numpy/commit/70f50b8cbb1cd09c2dd108abe36ed211b9e0a071 Author: Charles Harris Date: 2016-06-21 (Tue, 21 Jun 2016) Changed paths: M doc/release/1.12.0-notes.rst M doc/source/reference/routines.array-creation.rst M numpy/core/function_base.py M numpy/core/tests/test_function_base.py Log Message: ----------- Merge pull request #7268 from endolith/geomspace ENH: add geomspace function Compare: https://github.com/numpy/numpy/compare/f902cfd0e10f...70f50b8cbb1c From noreply at github.com Tue Jun 21 23:53:04 2016 From: noreply at github.com (GitHub) Date: Tue, 21 Jun 2016 20:53:04 -0700 Subject: [Numpy-svn] [numpy/numpy] 0327cb: DOC: link geomspace from logspace Message-ID: <576a0ba0f0063_48693fd61f0432bc102317@hookshot-fe5-cp1-prd.iad.github.net.mail> Branch: refs/heads/master Home: https://github.com/numpy/numpy Commit: 0327cb2bda8af376e5f624e48a49b86947fcf68e https://github.com/numpy/numpy/commit/0327cb2bda8af376e5f624e48a49b86947fcf68e Author: endolith Date: 2016-06-21 (Tue, 21 Jun 2016) Changed paths: M numpy/core/function_base.py Log Message: ----------- DOC: link geomspace from logspace Commit: af75d71330bf9cd58da39f8cbe2177db04a6d29d https://github.com/numpy/numpy/commit/af75d71330bf9cd58da39f8cbe2177db04a6d29d Author: Charles Harris Date: 2016-06-21 (Tue, 21 Jun 2016) Changed paths: M numpy/core/function_base.py Log Message: ----------- Merge pull request #7771 from endolith/patch-1 DOC: link geomspace from logspace Compare: https://github.com/numpy/numpy/compare/70f50b8cbb1c...af75d71330bf From noreply at github.com Wed Jun 22 16:20:46 2016 From: noreply at github.com (GitHub) Date: Wed, 22 Jun 2016 13:20:46 -0700 Subject: [Numpy-svn] [numpy/numpy] 7c76ef: ENH: generalize rot90 with axes kwarg, move to fun... Message-ID: <576af31e64482_7c4c3ff4f612129c192781@hookshot-fe3-cp1-prd.iad.github.net.mail> Branch: refs/heads/master Home: https://github.com/numpy/numpy Commit: 7c76ef7ea3adbd9c70a08ee39fdf1b56fb940b3b https://github.com/numpy/numpy/commit/7c76ef7ea3adbd9c70a08ee39fdf1b56fb940b3b Author: Denis Alevi Date: 2016-03-20 (Sun, 20 Mar 2016) Changed paths: M doc/release/1.12.0-notes.rst M numpy/lib/function_base.py M numpy/lib/tests/test_function_base.py M numpy/lib/tests/test_twodim_base.py M numpy/lib/twodim_base.py Log Message: ----------- ENH: generalize rot90 with axes kwarg, move to function_base.py, and add tests Commit: 1dd7108aeecfdde9d849ecc7adf11957ff749c54 https://github.com/numpy/numpy/commit/1dd7108aeecfdde9d849ecc7adf11957ff749c54 Author: Eren Sezener Date: 2016-03-20 (Sun, 20 Mar 2016) Changed paths: M numpy/lib/tests/test_function_base.py Log Message: ----------- MAINT: fix indentation and whitespaces of the flip function Commit: de0fcbd6d1d0183e3fced038be92f64c826f20c3 https://github.com/numpy/numpy/commit/de0fcbd6d1d0183e3fced038be92f64c826f20c3 Author: Charles Harris Date: 2016-06-22 (Wed, 22 Jun 2016) Changed paths: M doc/release/1.12.0-notes.rst M numpy/lib/function_base.py M numpy/lib/tests/test_function_base.py M numpy/lib/tests/test_twodim_base.py M numpy/lib/twodim_base.py Log Message: ----------- Merge pull request #7347 from erensezener/generalized_rot90 ENH Generalized rot90 Compare: https://github.com/numpy/numpy/compare/af75d71330bf...de0fcbd6d1d0 From noreply at github.com Wed Jun 22 22:09:26 2016 From: noreply at github.com (GitHub) Date: Wed, 22 Jun 2016 19:09:26 -0700 Subject: [Numpy-svn] [numpy/numpy] bae9ae: Allow many distributions to have a scale of 0. Message-ID: <576b44d6c2a6b_38e33fd6905252a01746f5@hookshot-fe1-cp1-prd.iad.github.net.mail> Branch: refs/heads/master Home: https://github.com/numpy/numpy Commit: bae9aebaa5aeedc3e1ecf69bef65f5fe721a3d37 https://github.com/numpy/numpy/commit/bae9aebaa5aeedc3e1ecf69bef65f5fe721a3d37 Author: Antony Lee Date: 2016-04-06 (Wed, 06 Apr 2016) Changed paths: M numpy/random/mtrand/mtrand.pyx M numpy/random/tests/test_random.py Log Message: ----------- Allow many distributions to have a scale of 0. (in which case a stream of 0's is usually returned (or 1's)). See #5818. Commit: 0319d0ce3436d39a739b2537e60c1eaced80a6ca https://github.com/numpy/numpy/commit/0319d0ce3436d39a739b2537e60c1eaced80a6ca Author: Antony Lee Date: 2016-06-09 (Thu, 09 Jun 2016) Changed paths: M numpy/random/mtrand/mtrand.pyx M numpy/random/tests/test_random.py Log Message: ----------- Don't allow -0. as distribution shape parameter. At least the gamma generator doesn't support it. Commit: c62b20d10c05c07511553972d1c21e5845aa7d6f https://github.com/numpy/numpy/commit/c62b20d10c05c07511553972d1c21e5845aa7d6f Author: Nathaniel J. Smith Date: 2016-06-22 (Wed, 22 Jun 2016) Changed paths: M numpy/random/mtrand/mtrand.pyx M numpy/random/tests/test_random.py Log Message: ----------- Merge pull request #5822 from anntzer/0-scale-distributions Allow many distributions to have a scale of 0. Compare: https://github.com/numpy/numpy/compare/de0fcbd6d1d0...c62b20d10c05 From noreply at github.com Thu Jun 23 09:36:13 2016 From: noreply at github.com (GitHub) Date: Thu, 23 Jun 2016 06:36:13 -0700 Subject: [Numpy-svn] [numpy/numpy] 05f18c: DOC: Remove a redundant the Message-ID: <576be5cdf0219_793f3fb51c03729c1527df@hookshot-fe4-cp1-prd.iad.github.net.mail> Branch: refs/heads/master Home: https://github.com/numpy/numpy Commit: 05f18c8d206387c54f00f13cbd34dfb3d7d0c573 https://github.com/numpy/numpy/commit/05f18c8d206387c54f00f13cbd34dfb3d7d0c573 Author: Shayan Pooya Date: 2016-06-22 (Wed, 22 Jun 2016) Changed paths: M numpy/add_newdocs.py Log Message: ----------- DOC: Remove a redundant the Commit: b2d4951f858881c5dd06968330ce36d87b9c609b https://github.com/numpy/numpy/commit/b2d4951f858881c5dd06968330ce36d87b9c609b Author: Jaime Date: 2016-06-23 (Thu, 23 Jun 2016) Changed paths: M numpy/add_newdocs.py Log Message: ----------- Merge pull request #7773 from pooya/patch-1 DOC: Remove a redundant the Compare: https://github.com/numpy/numpy/compare/c62b20d10c05...b2d4951f8588 From noreply at github.com Sat Jun 25 11:14:09 2016 From: noreply at github.com (GitHub) Date: Sat, 25 Jun 2016 08:14:09 -0700 Subject: [Numpy-svn] [numpy/numpy] e8abcc: DOC: Update Numpy 1.11.1 release notes. Message-ID: <576e9fc1256fb_40ea3fa9241e72bc71937@hookshot-fe4-cp1-prd.iad.github.net.mail> Branch: refs/heads/master Home: https://github.com/numpy/numpy Commit: e8abcccae1f246b930e317e80b50cecf111424b5 https://github.com/numpy/numpy/commit/e8abcccae1f246b930e317e80b50cecf111424b5 Author: Charles Harris Date: 2016-06-25 (Sat, 25 Jun 2016) Changed paths: M doc/release/1.11.1-notes.rst Log Message: ----------- DOC: Update Numpy 1.11.1 release notes. [ci skip] Commit: 36508b222f46a6830f84e3e0243819f03f6f8738 https://github.com/numpy/numpy/commit/36508b222f46a6830f84e3e0243819f03f6f8738 Author: Charles Harris Date: 2016-06-25 (Sat, 25 Jun 2016) Changed paths: M doc/release/1.11.1-notes.rst Log Message: ----------- Merge pull request #7777 from charris/update-1.11.1-notes DOC: Update Numpy 1.11.1 release notes. Compare: https://github.com/numpy/numpy/compare/b2d4951f8588...36508b222f46 From noreply at github.com Sat Jun 25 11:17:29 2016 From: noreply at github.com (GitHub) Date: Sat, 25 Jun 2016 08:17:29 -0700 Subject: [Numpy-svn] [numpy/numpy] 82077a: DOC: Update Numpy 1.11.1 release notes. Message-ID: <576ea08988611_25013fd6ecbb92b8532ce@hookshot-fe1-cp1-prd.iad.github.net.mail> Branch: refs/heads/maintenance/1.11.x Home: https://github.com/numpy/numpy Commit: 82077a9a303a922b7e34163db107d92da7290214 https://github.com/numpy/numpy/commit/82077a9a303a922b7e34163db107d92da7290214 Author: Charles Harris Date: 2016-06-25 (Sat, 25 Jun 2016) Changed paths: M doc/release/1.11.1-notes.rst Log Message: ----------- DOC: Update Numpy 1.11.1 release notes. [ci skip] Commit: dc7dbc0bfb8b80657d4392cdc5dfd93b21f6c3d9 https://github.com/numpy/numpy/commit/dc7dbc0bfb8b80657d4392cdc5dfd93b21f6c3d9 Author: Charles Harris Date: 2016-06-25 (Sat, 25 Jun 2016) Changed paths: M doc/release/1.11.1-notes.rst Log Message: ----------- Merge pull request #7778 from charris/backport-7777 DOC: Update Numpy 1.11.1 release notes. Compare: https://github.com/numpy/numpy/compare/e2163812c80e...dc7dbc0bfb8b From noreply at github.com Sat Jun 25 20:27:08 2016 From: noreply at github.com (GitHub) Date: Sat, 25 Jun 2016 17:27:08 -0700 Subject: [Numpy-svn] [numpy/numpy] ccc6b8: REL: Numpy 1.11.1 release. Message-ID: <576f215ccfe68_7bd83fdd7889b29c4105a@hookshot-fe5-cp1-prd.iad.github.net.mail> Branch: refs/tags/v1.11.1 Home: https://github.com/numpy/numpy Commit: ccc6b8d8fcf92cc6dc19f7e14d91fc6c127114a6 https://github.com/numpy/numpy/commit/ccc6b8d8fcf92cc6dc19f7e14d91fc6c127114a6 Author: Charles Harris Date: 2016-06-25 (Sat, 25 Jun 2016) Changed paths: M doc/release/1.11.1-notes.rst M pavement.py M setup.py Log Message: ----------- REL: Numpy 1.11.1 release. From noreply at github.com Wed Jun 29 11:08:32 2016 From: noreply at github.com (GitHub) Date: Wed, 29 Jun 2016 08:08:32 -0700 Subject: [Numpy-svn] [numpy/numpy] 449899: DOC: update wheel building procedure for release Message-ID: <5773e470285d6_61573f88789372a01431a0@hookshot-fe2-cp1-prd.iad.github.net.mail> Branch: refs/heads/master Home: https://github.com/numpy/numpy Commit: 449899b32d2a603d459a70a10b8ac00c0255c806 https://github.com/numpy/numpy/commit/449899b32d2a603d459a70a10b8ac00c0255c806 Author: Matthew Brett Date: 2016-06-29 (Wed, 29 Jun 2016) Changed paths: M doc/HOWTO_RELEASE.rst.txt Log Message: ----------- DOC: update wheel building procedure for release Document the single repository wheel building system. Strip out the old Wine instructions. Commit: c3c2b689cd4e1ccc24b18e764f105ed0e400ae92 https://github.com/numpy/numpy/commit/c3c2b689cd4e1ccc24b18e764f105ed0e400ae92 Author: Charles Harris Date: 2016-06-29 (Wed, 29 Jun 2016) Changed paths: M doc/HOWTO_RELEASE.rst.txt Log Message: ----------- Merge pull request #7785 from matthew-brett/update-wheel-procedure-again DOC: update wheel building procedure for release Compare: https://github.com/numpy/numpy/compare/36508b222f46...c3c2b689cd4e From noreply at github.com Wed Jun 29 17:52:23 2016 From: noreply at github.com (GitHub) Date: Wed, 29 Jun 2016 14:52:23 -0700 Subject: [Numpy-svn] [numpy/numpy] d0ba18: DOC: add note of 64-bit wheels on Windows Message-ID: <5774431797fbf_7b5e3f862fcc32c0138589@hookshot-fe5-cp1-prd.iad.github.net.mail> Branch: refs/heads/master Home: https://github.com/numpy/numpy Commit: d0ba18cb318711e997dd143deca02965c89aaea4 https://github.com/numpy/numpy/commit/d0ba18cb318711e997dd143deca02965c89aaea4 Author: Matthew Brett Date: 2016-06-29 (Wed, 29 Jun 2016) Changed paths: M doc/HOWTO_RELEASE.rst.txt Log Message: ----------- DOC: add note of 64-bit wheels on Windows Say that we do provide 64-bit Windows wheels. Update link to mingwpy. Commit: d3e3d91d401f5e47a81e748cd7fb12620b45947a https://github.com/numpy/numpy/commit/d3e3d91d401f5e47a81e748cd7fb12620b45947a Author: Charles Harris Date: 2016-06-29 (Wed, 29 Jun 2016) Changed paths: M doc/HOWTO_RELEASE.rst.txt Log Message: ----------- Merge pull request #7789 from matthew-brett/tweak-release-doc MRG: add note of 64-bit wheels on Windows Compare: https://github.com/numpy/numpy/compare/c3c2b689cd4e...d3e3d91d401f From noreply at github.com Thu Jun 30 12:14:42 2016 From: noreply at github.com (GitHub) Date: Thu, 30 Jun 2016 09:14:42 -0700 Subject: [Numpy-svn] [numpy/numpy] b77537: BUG: MaskedArray.count treats negative axes incorr... Message-ID: <5775457248ec7_29f33fc92d7e92b846191@hookshot-fe2-cp1-prd.iad.github.net.mail> Branch: refs/heads/maintenance/1.11.x Home: https://github.com/numpy/numpy Commit: b775376ed55de118b66d71eb535c6ce8ac570d50 https://github.com/numpy/numpy/commit/b775376ed55de118b66d71eb535c6ce8ac570d50 Author: Allan Haldane Date: 2016-06-30 (Thu, 30 Jun 2016) Changed paths: M numpy/ma/core.py M numpy/ma/tests/test_core.py Log Message: ----------- BUG: MaskedArray.count treats negative axes incorrectly Follow up to #5706. Fixes #7509 Commit: c3992a0a059031b9f907b6c110f569729309ed84 https://github.com/numpy/numpy/commit/c3992a0a059031b9f907b6c110f569729309ed84 Author: Charles Harris Date: 2016-06-30 (Thu, 30 Jun 2016) Changed paths: M numpy/ma/core.py M numpy/ma/tests/test_core.py Log Message: ----------- Merge pull request #7793 from charris/backport-7515 Backport 7515, BUG: MaskedArray.count treats negative axes incorrectly Compare: https://github.com/numpy/numpy/compare/dc7dbc0bfb8b...c3992a0a0590