From noreply at github.com Mon Jun 1 12:01:21 2015 From: noreply at github.com (GitHub) Date: Mon, 01 Jun 2015 09:01:21 -0700 Subject: [Numpy-svn] [numpy/numpy] 5be676: DOC: Better document 'order' argument of 'sort' an... Message-ID: <556c81d14ca44_70133fecadfc92a0907e4@hookshot-fe5-cp1-prd.iad.github.net.mail> Branch: refs/heads/master Home: https://github.com/numpy/numpy Commit: 5be67675762180503e1b3c4824d2009d3614f181 https://github.com/numpy/numpy/commit/5be67675762180503e1b3c4824d2009d3614f181 Author: Jaime Fernandez Date: 2015-05-30 (Sat, 30 May 2015) Changed paths: M numpy/add_newdocs.py M numpy/core/fromnumeric.py Log Message: ----------- DOC: Better document 'order' argument of 'sort' and friends Closes #5927 Commit: c8202592bb8d85c22c643d15d07889b9b9e7f09e https://github.com/numpy/numpy/commit/c8202592bb8d85c22c643d15d07889b9b9e7f09e Author: Charles Harris Date: 2015-06-01 (Mon, 01 Jun 2015) Changed paths: M numpy/add_newdocs.py M numpy/core/fromnumeric.py Log Message: ----------- Merge pull request #5928 from jaimefrio/sort_order_doc DOC: Better document 'order' argument of 'sort' and friends Compare: https://github.com/numpy/numpy/compare/d9ab8f76543f...c8202592bb8d From noreply at github.com Mon Jun 1 12:09:45 2015 From: noreply at github.com (GitHub) Date: Mon, 01 Jun 2015 09:09:45 -0700 Subject: [Numpy-svn] [numpy/numpy] 0c00f6: TST: np.broadcast should accept itself as input Message-ID: <556c83c92447d_329f3fce3f9392a0599cc@hookshot-fe2-cp1-prd.iad.github.net.mail> Branch: refs/heads/master Home: https://github.com/numpy/numpy Commit: 0c00f6910db141b6d514ded9a98857464a075838 https://github.com/numpy/numpy/commit/0c00f6910db141b6d514ded9a98857464a075838 Author: Jaime Fernandez Date: 2015-05-17 (Sun, 17 May 2015) Changed paths: M numpy/core/tests/test_numeric.py Log Message: ----------- TST: np.broadcast should accept itself as input Commit: 7debda6fc2e66bc7fc74ade526a795cc381473a8 https://github.com/numpy/numpy/commit/7debda6fc2e66bc7fc74ade526a795cc381473a8 Author: Jaime Fernandez Date: 2015-05-17 (Sun, 17 May 2015) Changed paths: M numpy/core/src/multiarray/iterators.c Log Message: ----------- BUG: np.broadcast should accept itself as an input Fixes #5881 Commit: 647d2a6586a1f98af1b0ceee0ed0552513625dea https://github.com/numpy/numpy/commit/647d2a6586a1f98af1b0ceee0ed0552513625dea Author: Charles Harris Date: 2015-06-01 (Mon, 01 Jun 2015) Changed paths: M numpy/core/src/multiarray/iterators.c M numpy/core/tests/test_numeric.py Log Message: ----------- Merge pull request #5889 from jaimefrio/broadcast_broadcast BUG: np.broadcast should accept itself as an input Compare: https://github.com/numpy/numpy/compare/c8202592bb8d...647d2a6586a1 From noreply at github.com Mon Jun 1 12:36:33 2015 From: noreply at github.com (GitHub) Date: Mon, 01 Jun 2015 09:36:33 -0700 Subject: [Numpy-svn] [numpy/numpy] 1acd14: ENH: Allow dictproxy objects to be used in place o... Message-ID: <556c8a11e836d_60bb3fd19ab9b29c15884@hookshot-fe3-cp1-prd.iad.github.net.mail> Branch: refs/heads/master Home: https://github.com/numpy/numpy Commit: 1acd14c3ff6d781801fab7b550fc9d295325f7da https://github.com/numpy/numpy/commit/1acd14c3ff6d781801fab7b550fc9d295325f7da Author: Erik M. Bray Date: 2015-06-01 (Mon, 01 Jun 2015) Changed paths: M numpy/core/src/multiarray/descriptor.c M numpy/core/tests/test_dtype.py Log Message: ----------- ENH: Allow dictproxy objects to be used in place of dicts when creating a dtype arraydescr_new allows passing in a dict to represent a multi-field dtype. However, the .fields attribute on such dtypes is returned as a dictproxy object. Therefore it is convenient, for copying existing multi-field dtypes, to be able to pass in a dictproxy object as well. Commit: 9e7a0b224b4a7859efc1bc80b7ccc5c86c83d3df https://github.com/numpy/numpy/commit/9e7a0b224b4a7859efc1bc80b7ccc5c86c83d3df Author: Jaime Date: 2015-06-01 (Mon, 01 Jun 2015) Changed paths: M numpy/core/src/multiarray/descriptor.c M numpy/core/tests/test_dtype.py Log Message: ----------- Merge pull request #5920 from embray/descr-fields-dictproxy ENH: Allow dictproxy objects to be used in place of dicts when creating a dtype Compare: https://github.com/numpy/numpy/compare/647d2a6586a1...9e7a0b224b4a From noreply at github.com Tue Jun 2 11:45:17 2015 From: noreply at github.com (GitHub) Date: Tue, 02 Jun 2015 08:45:17 -0700 Subject: [Numpy-svn] [numpy/numpy] 4969b1: MANT: Remove unused macro _PyArray_ITER_NEXT3 Message-ID: <556dcf8dbf989_36453fe69df3f2a090645@hookshot-fe3-cp1-prd.iad.github.net.mail> Branch: refs/heads/master Home: https://github.com/numpy/numpy Commit: 4969b1ac2ceb4576fd34991abb990fb9856dd613 https://github.com/numpy/numpy/commit/4969b1ac2ceb4576fd34991abb990fb9856dd613 Author: Jaime Fernandez Date: 2015-06-01 (Mon, 01 Jun 2015) Changed paths: M numpy/core/include/numpy/ndarraytypes.h Log Message: ----------- MANT: Remove unused macro _PyArray_ITER_NEXT3 The _PyArray_ITER_NEXT3 macro is not used in PyArray_ITER_NEXT, and has syntax errors that would fail compilation if used. Commit: 9660f4f284504d51d7a60ddb4e4185e6ee1c11e6 https://github.com/numpy/numpy/commit/9660f4f284504d51d7a60ddb4e4185e6ee1c11e6 Author: Charles Harris Date: 2015-06-02 (Tue, 02 Jun 2015) Changed paths: M numpy/core/include/numpy/ndarraytypes.h Log Message: ----------- Merge pull request #5931 from jaimefrio/iter_next_cleanup MANT: Remove unused macro _PyArray_ITER_NEXT3 Compare: https://github.com/numpy/numpy/compare/9e7a0b224b4a...9660f4f28450 From noreply at github.com Tue Jun 2 17:04:26 2015 From: noreply at github.com (GitHub) Date: Tue, 02 Jun 2015 14:04:26 -0700 Subject: [Numpy-svn] [numpy/numpy] 776c3c: BUG: Further fixes to record and recarray getitem/... Message-ID: <556e1a5a2d3f9_7f3e3febefd952b8696de@hookshot-fe4-cp1-prd.iad.github.net.mail> Branch: refs/heads/master Home: https://github.com/numpy/numpy Commit: 776c3c32b759a62542939fa2abd729f9ad77ae9b https://github.com/numpy/numpy/commit/776c3c32b759a62542939fa2abd729f9ad77ae9b Author: Erik M. Bray Date: 2015-06-01 (Mon, 01 Jun 2015) Changed paths: M numpy/core/records.py M numpy/core/tests/test_records.py Log Message: ----------- BUG: Further fixes to record and recarray getitem/getattr This is a followup to PR #5505, which didn't go quite far enough. This fixes two issues in particular: 1) The record class also needs an updated `__getitem__` that works analogously to its `__getattribute__` so that a nested record is returned as a `record` object and not a plain `np.void`. In other words the old behavior is: ```python >>> rec = np.rec.array([('abc ', (1,1), 1), ('abc', (2,3), 1)], ... dtype=[('foo', 'S4'), ('bar', [('A', int), ('B', int)]), ('baz', int)]) >>> rec[0].bar (1, 1) >>> type(rec[0].bar) >>> type(rec[0]['bar']) ``` demonstrated inconsistency between `.bar` and `['bar']` on the record object. The new behavior is: ```python >>> type(rec[0]['bar']) ``` 2) The second issue is more subtle. The fix to #5505 used the `obj.dtype.descr` attribute to create a new dtype of type `record`. However, this does not recreate the correct type if the fields are not aligned. To demonstrate: ```python >>> dt = np.dtype({'C': ('S5', 0), 'D': ('S5', 6)}) >>> dt.fields dict_proxy({'C': (dtype('S5'), 0), 'D': (dtype('S5'), 6)}) >>> dt.descr [('C', '|S5'), ('', '|V1'), ('D', '|S5')] >>> new_dt = np.dtype((np.record, dt.descr)) >>> new_dt dtype((numpy.record, [('C', 'S5'), ('f1', 'V1'), ('D', 'S5')])) >>> new_dt.fields dict_proxy({'f1': (dtype('V1'), 5), 'C': (dtype('S5'), 0), 'D': (dtype('S5'), 6)}) ``` Using the `fields` dict to construct the new type reconstructs the correct type with the correct offsets: ```python >>> new_dt2 = np.dtype((np.record, dt.fields)) >>> new_dt2.fields dict_proxy({'C': (dtype('S5'), 0), 'D': (dtype('S5'), 6)}) ``` (Note: This is based on #5920 for convenience, but I could decouple the changes if that's preferable.) Commit: f535f71dfced2164e095871bf2d7f82b9e6d052d https://github.com/numpy/numpy/commit/f535f71dfced2164e095871bf2d7f82b9e6d052d Author: Charles Harris Date: 2015-06-02 (Tue, 02 Jun 2015) Changed paths: M numpy/core/records.py M numpy/core/tests/test_records.py Log Message: ----------- Merge pull request #5921 from embray/record-getitem-fixes BUG: Further fixes to record and recarray getitem/getattr Compare: https://github.com/numpy/numpy/compare/9660f4f28450...f535f71dfced From noreply at github.com Tue Jun 2 18:44:03 2015 From: noreply at github.com (GitHub) Date: Tue, 02 Jun 2015 15:44:03 -0700 Subject: [Numpy-svn] [numpy/numpy] 3e8650: MAINT: explicit fft copy Message-ID: <556e31b372186_34203fbc013092b81644@hookshot-fe3-cp1-prd.iad.github.net.mail> Branch: refs/heads/master Home: https://github.com/numpy/numpy Commit: 3e86500a165efa4e3b54c724fb1812bec05b87f7 https://github.com/numpy/numpy/commit/3e86500a165efa4e3b54c724fb1812bec05b87f7 Author: alex Date: 2015-05-22 (Fri, 22 May 2015) Changed paths: M numpy/fft/fftpack.py Log Message: ----------- MAINT: explicit fft copy Commit: 949315787a51eb86db0f8a19b4c257a0ef739f32 https://github.com/numpy/numpy/commit/949315787a51eb86db0f8a19b4c257a0ef739f32 Author: alex Date: 2015-05-29 (Fri, 29 May 2015) Changed paths: M numpy/fft/fftpack.py Log Message: ----------- MAINT: remove unnecessary helper function Commit: dd88309a8f4f559688c3fcba3ec41b932f37eeb1 https://github.com/numpy/numpy/commit/dd88309a8f4f559688c3fcba3ec41b932f37eeb1 Author: alex Date: 2015-05-29 (Fri, 29 May 2015) Changed paths: M numpy/fft/fftpack.py Log Message: ----------- MAINT: in fft, make copying more explicit Commit: d1f656a3a8d79d6562541c83e55e79ea06fdfce8 https://github.com/numpy/numpy/commit/d1f656a3a8d79d6562541c83e55e79ea06fdfce8 Author: alex Date: 2015-06-02 (Tue, 02 Jun 2015) Changed paths: M numpy/fft/fftpack.py Log Message: ----------- MAINT: fft: np.asarray(...) -> array(...) Commit: 17d7e4147c8eaf908bf84a3ee4741568da95e182 https://github.com/numpy/numpy/commit/17d7e4147c8eaf908bf84a3ee4741568da95e182 Author: Jaime Date: 2015-06-02 (Tue, 02 Jun 2015) Changed paths: M numpy/fft/fftpack.py Log Message: ----------- Merge pull request #5910 from argriffing/more-astype-auditing MAINT: explicit fft copy Compare: https://github.com/numpy/numpy/compare/f535f71dfced...17d7e4147c8e From noreply at github.com Wed Jun 3 12:10:20 2015 From: noreply at github.com (GitHub) Date: Wed, 03 Jun 2015 09:10:20 -0700 Subject: [Numpy-svn] [numpy/numpy] 12320f: DOC: update INSTALL.txt with info on binary instal... Message-ID: <556f26ecdb340_5cb63f829312b2b867115@hookshot-fe2-cp1-prd.iad.github.net.mail> Branch: refs/heads/master Home: https://github.com/numpy/numpy Commit: 12320f48eae2ffe50da9f92aed4639b4525b50eb https://github.com/numpy/numpy/commit/12320f48eae2ffe50da9f92aed4639b4525b50eb Author: Ralf Gommers Date: 2015-05-23 (Sat, 23 May 2015) Changed paths: M INSTALL.txt Log Message: ----------- DOC: update INSTALL.txt with info on binary installers and 32-bit Windows. Closes gh-5832. [ci skip] Commit: a9c810dd1d8fc1e3c6d0f0ca6310f41795545ec9 https://github.com/numpy/numpy/commit/a9c810dd1d8fc1e3c6d0f0ca6310f41795545ec9 Author: Charles Harris Date: 2015-06-03 (Wed, 03 Jun 2015) Changed paths: M INSTALL.txt Log Message: ----------- Merge pull request #5912 from rgommers/install-doc DOC: update INSTALL.txt with info on binary installers and 32-bit Windows Compare: https://github.com/numpy/numpy/compare/17d7e4147c8e...a9c810dd1d8f From noreply at github.com Wed Jun 3 20:48:42 2015 From: noreply at github.com (GitHub) Date: Wed, 03 Jun 2015 17:48:42 -0700 Subject: [Numpy-svn] [numpy/numpy] 7a84c5: ENH: Let MaskedArray getter, setter respect basecl... Message-ID: <556fa06a26b5c_3ddd3fddcaf732c01036df@hookshot-fe6-cp1-prd.iad.github.net.mail> Branch: refs/heads/master Home: https://github.com/numpy/numpy Commit: 7a84c5660539bb210746ba6b9b8e38d82d9fd330 https://github.com/numpy/numpy/commit/7a84c5660539bb210746ba6b9b8e38d82d9fd330 Author: Marten van Kerkwijk Date: 2015-04-22 (Wed, 22 Apr 2015) Changed paths: M doc/release/1.10.0-notes.rst M numpy/ma/core.py M numpy/ma/tests/test_core.py M numpy/ma/tests/test_subclassing.py Log Message: ----------- ENH: Let MaskedArray getter, setter respect baseclass overrides Commit: 36b940497f194b1b90e9ff48c58a01a6e74c09de https://github.com/numpy/numpy/commit/36b940497f194b1b90e9ff48c58a01a6e74c09de Author: Charles Harris Date: 2015-06-03 (Wed, 03 Jun 2015) Changed paths: M doc/release/1.10.0-notes.rst M numpy/ma/core.py M numpy/ma/tests/test_core.py M numpy/ma/tests/test_subclassing.py Log Message: ----------- Merge pull request #4586 from mhvk/ma/subclass-item-setting-getting ENH: Let MaskedArray getter, setter respect baseclass overrides Compare: https://github.com/numpy/numpy/compare/a9c810dd1d8f...36b940497f19 From noreply at github.com Thu Jun 4 18:47:59 2015 From: noreply at github.com (GitHub) Date: Thu, 04 Jun 2015 15:47:59 -0700 Subject: [Numpy-svn] [numpy/numpy] 403d61: ENH: Add inline C function to import and cache Pyt... Message-ID: <5570d59fb15bd_4d813fac05ee72bc12149e@hookshot-fe6-cp1-prd.iad.github.net.mail> Branch: refs/heads/master Home: https://github.com/numpy/numpy Commit: 403d61d1448eb8ee6a2ddc81865d9ebaf1ef73df https://github.com/numpy/numpy/commit/403d61d1448eb8ee6a2ddc81865d9ebaf1ef73df Author: Charles Harris Date: 2015-06-04 (Thu, 04 Jun 2015) Changed paths: A numpy/core/src/private/npy_import.h Log Message: ----------- ENH: Add inline C function to import and cache Python functions. A new inline function 'npy_cache_pyfunc' is provided for the common operation of inporting and caching a Python function in static variables. The intended usage is as follows. int myfunc() { static PyObject *cache = NULL: npy_cache_pyfunc("the.module.name", "function", &cache); ... } Errors are not recoverable, so checked with assert for debugging. Commit: b1cfccd6d78be622ee85f658e8f9b4a2d5fc9ddb https://github.com/numpy/numpy/commit/b1cfccd6d78be622ee85f658e8f9b4a2d5fc9ddb Author: Jaime Date: 2015-06-04 (Thu, 04 Jun 2015) Changed paths: A numpy/core/src/private/npy_import.h Log Message: ----------- Merge pull request #5940 from charris/add-python-func-import ENH: Add inline C function to import and cache Python functions. Compare: https://github.com/numpy/numpy/compare/36b940497f19...b1cfccd6d78b From noreply at github.com Thu Jun 4 20:18:36 2015 From: noreply at github.com (GitHub) Date: Thu, 04 Jun 2015 17:18:36 -0700 Subject: [Numpy-svn] [numpy/numpy] 8c1858: BUG: Fix npy_cache_pyfunc to properly implement in... Message-ID: <5570eadcbfbdd_688b3f828a7c12c08116e@hookshot-fe3-cp1-prd.iad.github.net.mail> Branch: refs/heads/master Home: https://github.com/numpy/numpy Commit: 8c18581110925ebe9e2b3530d4d5fc4afefbc8b0 https://github.com/numpy/numpy/commit/8c18581110925ebe9e2b3530d4d5fc4afefbc8b0 Author: Charles Harris Date: 2015-06-04 (Thu, 04 Jun 2015) Changed paths: M numpy/core/src/private/npy_import.h Log Message: ----------- BUG: Fix npy_cache_pyfunc to properly implement inline. The function was not static, which led to multiple definition errors. Commit: 721675e19dd3f0c798f9582f69ea153484917e34 https://github.com/numpy/numpy/commit/721675e19dd3f0c798f9582f69ea153484917e34 Author: Charles Harris Date: 2015-06-04 (Thu, 04 Jun 2015) Changed paths: M numpy/core/numeric.py M numpy/core/src/multiarray/multiarraymodule.c Log Message: ----------- ENH: Add a matmul function to multiarray This is the functional counterpart of the '@' operator that will be available in Python 3.5 with the addition of an out keyword. It operates like the dot function except that - scalar multiplication is not allowed. - multiplication of arrays with more than 2 dimensions broadcasts. The last means that when arrays have more than 2 dimensions they are treated as stacks of matrices and those stacks are broadcast against each other unlike the current behavior of dot that does an outer product. Like dot, matmul is aware of `__numpy_ufunc__` and can be overridden. The current version of the function uses einsum when cblas cannot be used, hence object arrays are not yet supported. Commit: 1b6193b977c1a411a497ccab4ddf741e3b4849c1 https://github.com/numpy/numpy/commit/1b6193b977c1a411a497ccab4ddf741e3b4849c1 Author: Charles Harris Date: 2015-06-04 (Thu, 04 Jun 2015) Changed paths: M numpy/core/src/multiarray/number.c Log Message: ----------- ENH: Add support for the '@' operator added in Python 3.5. Commit: 0cb4cbd235978ec0925c5c1cdbfe34da669e3379 https://github.com/numpy/numpy/commit/0cb4cbd235978ec0925c5c1cdbfe34da669e3379 Author: Charles Harris Date: 2015-06-04 (Thu, 04 Jun 2015) Changed paths: M numpy/core/tests/test_multiarray.py Log Message: ----------- TST: Add tests for multiarray.matmul and operator '@'. Commit: c79651d865ca53940f5ec0dc4e9bcbc33c01918b https://github.com/numpy/numpy/commit/c79651d865ca53940f5ec0dc4e9bcbc33c01918b Author: Charles Harris Date: 2015-06-04 (Thu, 04 Jun 2015) Changed paths: M numpy/core/src/multiarray/multiarraymodule.c Log Message: ----------- STY: Minor C style fixes for multiarraymodule.c. Start labels at beginning of line. Break a long line Whitespace. Commit: 91e8cd29c93ec310b0665e6c3a823c3f095fc516 https://github.com/numpy/numpy/commit/91e8cd29c93ec310b0665e6c3a823c3f095fc516 Author: Charles Harris Date: 2015-06-04 (Thu, 04 Jun 2015) Changed paths: M doc/source/reference/arrays.ndarray.rst M doc/source/reference/routines.linalg.rst M numpy/add_newdocs.py Log Message: ----------- DOC: Document '@' and matmul. Document the matmul function and add '@' to the operator section of the reference manual. Commit: 24fcc25e14b272050ab5b7fe757b34d182a8fe85 https://github.com/numpy/numpy/commit/24fcc25e14b272050ab5b7fe757b34d182a8fe85 Author: Charles Harris Date: 2015-06-04 (Thu, 04 Jun 2015) Changed paths: M doc/release/1.10.0-notes.rst Log Message: ----------- DOC: Mention support for the '@' operator in the 1.10 release notes. Commit: 30d755d8737505717d54ed32501261bb94130a7f https://github.com/numpy/numpy/commit/30d755d8737505717d54ed32501261bb94130a7f Author: Charles Harris Date: 2015-06-04 (Thu, 04 Jun 2015) Changed paths: M doc/release/1.10.0-notes.rst M doc/source/reference/arrays.ndarray.rst M doc/source/reference/routines.linalg.rst M numpy/add_newdocs.py M numpy/core/numeric.py M numpy/core/src/multiarray/multiarraymodule.c M numpy/core/src/multiarray/number.c M numpy/core/src/private/npy_import.h M numpy/core/tests/test_multiarray.py Log Message: ----------- Merge pull request #5878 from charris/quick-and-dirty-matmul Quick and dirty matmul Compare: https://github.com/numpy/numpy/compare/b1cfccd6d78b...30d755d87375 From noreply at github.com Fri Jun 5 11:43:36 2015 From: noreply at github.com (GitHub) Date: Fri, 05 Jun 2015 08:43:36 -0700 Subject: [Numpy-svn] [numpy/numpy] e2cd6f: ENH: structured datatype safety checks Message-ID: <5571c3a818d6e_4a823fe09ce972a02646c6@hookshot-fe1-cp1-prd.iad.github.net.mail> Branch: refs/heads/master Home: https://github.com/numpy/numpy Commit: e2cd6fa869cec6d92062fb687d8e6952c1202017 https://github.com/numpy/numpy/commit/e2cd6fa869cec6d92062fb687d8e6952c1202017 Author: Allan Haldane Date: 2015-06-05 (Fri, 05 Jun 2015) Changed paths: M numpy/core/_internal.py M numpy/core/src/multiarray/getset.c M numpy/core/src/multiarray/methods.c M numpy/core/tests/test_multiarray.py M numpy/core/tests/test_records.py M numpy/core/tests/test_regression.py M numpy/lib/tests/test_recfunctions.py Log Message: ----------- ENH: structured datatype safety checks Previously views of structured arrays containing objects were completely disabled. This commit adds more lenient check for whether an object-array view is allowed, and adds similar checks to getfield/setfield Fixes #2346. Fixes #3256. Fixes #2599. Fixes #3253. Fixes #3286. Fixes #5762. Commit: a99c77577850054c55850102132dcf3eb43dea6a https://github.com/numpy/numpy/commit/a99c77577850054c55850102132dcf3eb43dea6a Author: Jaime Date: 2015-06-05 (Fri, 05 Jun 2015) Changed paths: M numpy/core/_internal.py M numpy/core/src/multiarray/getset.c M numpy/core/src/multiarray/methods.c M numpy/core/tests/test_multiarray.py M numpy/core/tests/test_records.py M numpy/core/tests/test_regression.py M numpy/lib/tests/test_recfunctions.py Log Message: ----------- Merge pull request #5548 from ahaldane/view_objects_owned ENH: structured datatype safety checks Compare: https://github.com/numpy/numpy/compare/30d755d87375...a99c77577850 From noreply at github.com Fri Jun 5 16:24:41 2015 From: noreply at github.com (GitHub) Date: Fri, 05 Jun 2015 13:24:41 -0700 Subject: [Numpy-svn] [numpy/numpy] 5bfc31: BUG: Einsum specialization did not check contiguit... Message-ID: <5572058986e99_d3f3fb808b052c01148bc@hookshot-fe6-cp1-prd.iad.github.net.mail> Branch: refs/heads/master Home: https://github.com/numpy/numpy Commit: 5bfc31c178faf8470d90ee8594f4de7cb70ee3db https://github.com/numpy/numpy/commit/5bfc31c178faf8470d90ee8594f4de7cb70ee3db Author: Sebastian Berg Date: 2015-06-05 (Fri, 05 Jun 2015) Changed paths: M numpy/core/src/multiarray/einsum.c.src Log Message: ----------- BUG: Einsum specialization did not check contiguity of output array Closes gh-5907 Commit: a19efc85c21940cb2621e63c5012f89d7d7eb1fa https://github.com/numpy/numpy/commit/a19efc85c21940cb2621e63c5012f89d7d7eb1fa Author: Sebastian Berg Date: 2015-06-05 (Fri, 05 Jun 2015) Changed paths: M numpy/core/tests/test_einsum.py Log Message: ----------- TST: Einsum contiguous output test More tests would be good, but for now two specific tests. Commit: 943ac81b58c7c8afbfadedbdd28ab94e56ad58fa https://github.com/numpy/numpy/commit/943ac81b58c7c8afbfadedbdd28ab94e56ad58fa Author: Charles Harris Date: 2015-06-05 (Fri, 05 Jun 2015) Changed paths: M numpy/core/src/multiarray/einsum.c.src M numpy/core/tests/test_einsum.py Log Message: ----------- Merge pull request #5944 from seberg/einsum-fix Einsum fix Compare: https://github.com/numpy/numpy/compare/a99c77577850...943ac81b58c7 From noreply at github.com Sun Jun 7 09:08:20 2015 From: noreply at github.com (GitHub) Date: Sun, 07 Jun 2015 06:08:20 -0700 Subject: [Numpy-svn] [numpy/numpy] c5ad05: DEP: Deprecate boolean array indices with non-matc... Message-ID: <557442443541c_61cd3f9a0331d29c7838b@hookshot-fe5-cp1-prd.iad.github.net.mail> Branch: refs/heads/master Home: https://github.com/numpy/numpy Commit: c5ad05813f36bbb65248d85bf1bacb2d0d60c368 https://github.com/numpy/numpy/commit/c5ad05813f36bbb65248d85bf1bacb2d0d60c368 Author: Sebastian Berg Date: 2015-06-06 (Sat, 06 Jun 2015) Changed paths: M numpy/core/src/multiarray/mapping.c M numpy/core/src/multiarray/mapping.h M numpy/core/src/multiarray/multiarraymodule.c M numpy/core/tests/test_deprecations.py M numpy/core/tests/test_indexing.py M numpy/core/tests/test_multiarray.py M numpy/core/tests/test_regression.py Log Message: ----------- DEP: Deprecate boolean array indices with non-matching shape Boolean array indices will (unless the special case is taken) always be converted using a nonzero logic. However, for example ``` arr = np.arange(10) index = np.array([True]) arr[index] ``` would thus work as if index is filled up with `False`. This is a source of confusion and hardly useful in practice. Especially if the array has more then one dimension this behaviour can be very unexpected as it conflicts with broadcasting. Uses VisibleDeprecationWarning, since this is probably usually a user bug in the first place. Commit: 01c59d63ad0356650571e239fffb9e7ee38c4c08 https://github.com/numpy/numpy/commit/01c59d63ad0356650571e239fffb9e7ee38c4c08 Author: Charles Harris Date: 2015-06-07 (Sun, 07 Jun 2015) Changed paths: M numpy/core/src/multiarray/mapping.c M numpy/core/src/multiarray/mapping.h M numpy/core/src/multiarray/multiarraymodule.c M numpy/core/tests/test_deprecations.py M numpy/core/tests/test_indexing.py M numpy/core/tests/test_multiarray.py M numpy/core/tests/test_regression.py Log Message: ----------- Merge pull request #4353 from seberg/boolean-bad-shape-dep DEP: Deprecate boolean array indices with non-matching shape Compare: https://github.com/numpy/numpy/compare/943ac81b58c7...01c59d63ad03 From noreply at github.com Tue Jun 9 01:49:16 2015 From: noreply at github.com (GitHub) Date: Mon, 08 Jun 2015 22:49:16 -0700 Subject: [Numpy-svn] [numpy/numpy] b08f36: BLD: find Python.h when build_ext --include-dirs i... Message-ID: <55767e5c64d9a_7c13fd8acd0b2bc1137df@hookshot-fe2-cp1-prd.iad.github.net.mail> Branch: refs/heads/master Home: https://github.com/numpy/numpy Commit: b08f369554e6d6b231c941740f6c852a45edcc12 https://github.com/numpy/numpy/commit/b08f369554e6d6b231c941740f6c852a45edcc12 Author: Tim D. Smith Date: 2015-06-05 (Fri, 05 Jun 2015) Changed paths: M numpy/distutils/command/build_ext.py Log Message: ----------- BLD: find Python.h when build_ext --include-dirs is set Ensure that build_ext.include_dirs is the same physical list as build_ext.distribution.include_dirs. Commit: 7d867925e6aa634136e85511cfe7ddbe41c88f74 https://github.com/numpy/numpy/commit/7d867925e6aa634136e85511cfe7ddbe41c88f74 Author: Ralf Gommers Date: 2015-06-09 (Tue, 09 Jun 2015) Changed paths: M numpy/distutils/command/build_ext.py Log Message: ----------- Merge pull request #5866 from tdsmith/include_dirs MAINT: can't find Python.h when build_ext --include-dirs is set Compare: https://github.com/numpy/numpy/compare/01c59d63ad03...7d867925e6aa From noreply at github.com Wed Jun 10 10:51:40 2015 From: noreply at github.com (GitHub) Date: Wed, 10 Jun 2015 07:51:40 -0700 Subject: [Numpy-svn] [numpy/numpy] 9c53d0: DOC: Polynomial.deriv refers to integrations, not ... Message-ID: <55784efc9fcef_65843f901d1bb2b8465a@hookshot-fe5-cp1-prd.iad.github.net.mail> Branch: refs/heads/master Home: https://github.com/numpy/numpy Commit: 9c53d0454a124175696c4fa3d77d8ac65ac2fb25 https://github.com/numpy/numpy/commit/9c53d0454a124175696c4fa3d77d8ac65ac2fb25 Author: Andrew Nelson Date: 2015-06-10 (Wed, 10 Jun 2015) Changed paths: M numpy/polynomial/_polybase.py Log Message: ----------- DOC: Polynomial.deriv refers to integrations, not differentiations Commit: 83f36c52acb578514f1801b9704fec1825986239 https://github.com/numpy/numpy/commit/83f36c52acb578514f1801b9704fec1825986239 Author: Charles Harris Date: 2015-06-10 (Wed, 10 Jun 2015) Changed paths: M numpy/polynomial/_polybase.py Log Message: ----------- Merge pull request #5956 from andyfaff/doc_poly DOC: Polynomial.deriv refers to integrations, not differentiations Compare: https://github.com/numpy/numpy/compare/7d867925e6aa...83f36c52acb5 From noreply at github.com Thu Jun 11 18:09:47 2015 From: noreply at github.com (GitHub) Date: Thu, 11 Jun 2015 15:09:47 -0700 Subject: [Numpy-svn] [numpy/numpy] df959e: BUG: make void-scalar getfield/setfield use ndarra... Message-ID: <557a072b24cf9_33323fe688aab2bc209fe@hookshot-fe2-cp1-prd.iad.github.net.mail> Branch: refs/heads/master Home: https://github.com/numpy/numpy Commit: df959ed7c45a923c59b6bb3ebbb4bc0b7c73df58 https://github.com/numpy/numpy/commit/df959ed7c45a923c59b6bb3ebbb4bc0b7c73df58 Author: Allan Haldane Date: 2015-06-10 (Wed, 10 Jun 2015) Changed paths: M numpy/core/src/multiarray/scalartypes.c.src M numpy/core/tests/test_multiarray.py M numpy/core/tests/test_records.py Log Message: ----------- BUG: make void-scalar getfield/setfield use ndarray methods This commit modifies voidtype_get/setfield to call ndarray's get/setfield, which does proper safety checks (for object arrays) and broadcasts properly. This solves bugs related to void-scalar assignment. Also changed the calling convention of voidtype_getfield. Previously it accepted a (dtype, offset, title) tuple and dropped title. Now it expects only (dtype, offset), just like ndarray's getfield. Fixes #3126. Fixes #3561. Commit: abaa8488daa6249381e6b42bb8e3c2ec7ed53eab https://github.com/numpy/numpy/commit/abaa8488daa6249381e6b42bb8e3c2ec7ed53eab Author: Charles Harris Date: 2015-06-11 (Thu, 11 Jun 2015) Changed paths: M numpy/core/src/multiarray/scalartypes.c.src M numpy/core/tests/test_multiarray.py M numpy/core/tests/test_records.py Log Message: ----------- Merge pull request #5947 from ahaldane/voidscalar_getsetfield BUG: make void-scalar getfield/setfield use ndarray methods Compare: https://github.com/numpy/numpy/compare/83f36c52acb5...abaa8488daa6 From noreply at github.com Thu Jun 11 19:11:04 2015 From: noreply at github.com (GitHub) Date: Thu, 11 Jun 2015 16:11:04 -0700 Subject: [Numpy-svn] [numpy/numpy] 6925cb: DOC: Fix typo in documentation Message-ID: <557a158815165_285d3ff7370012c0646b4@hookshot-fe6-cp1-prd.iad.github.net.mail> Branch: refs/heads/master Home: https://github.com/numpy/numpy Commit: 6925cb7c249420a278e34c98d385264b1ac30293 https://github.com/numpy/numpy/commit/6925cb7c249420a278e34c98d385264b1ac30293 Author: amir Date: 2015-06-12 (Fri, 12 Jun 2015) Changed paths: M numpy/linalg/linalg.py Log Message: ----------- DOC: Fix typo in documentation [ci skip] Commit: 1fe98ff582d57c576d95316422a113e681e6773b https://github.com/numpy/numpy/commit/1fe98ff582d57c576d95316422a113e681e6773b Author: Charles Harris Date: 2015-06-11 (Thu, 11 Jun 2015) Changed paths: M numpy/linalg/linalg.py Log Message: ----------- Merge pull request #5959 from Ladsgroup/master Fix typo in documentation Compare: https://github.com/numpy/numpy/compare/abaa8488daa6...1fe98ff582d5 From noreply at github.com Sat Jun 13 07:05:36 2015 From: noreply at github.com (GitHub) Date: Sat, 13 Jun 2015 04:05:36 -0700 Subject: [Numpy-svn] [numpy/numpy] 8f172d: BUG: Make type_tuple_type_resolver more robust. Message-ID: <557c0e80b7016_351c3fb91fb0b2c06574b@hookshot-fe2-cp1-prd.iad.github.net.mail> Branch: refs/heads/master Home: https://github.com/numpy/numpy Commit: 8f172ddbb90357e80bafa2cd7df4b307ce15600b https://github.com/numpy/numpy/commit/8f172ddbb90357e80bafa2cd7df4b307ce15600b Author: Charles Harris Date: 2015-06-12 (Fri, 12 Jun 2015) Changed paths: M numpy/core/src/umath/ufunc_type_resolution.c Log Message: ----------- BUG: Make type_tuple_type_resolver more robust. When a loop match fails on account of casting, continue searching the loops until success or all loops have been examined. The failure to do this was causing true_divide to fail with float inputs and dtype=float because the first loop found was (int8, int8, float64), leading to a casting error as float cannot be safely cast to int8. Versions of numpy previous to 1.10 will still fail silently if this is backported as the casting rules were less strict, so that would also need fixing. Closes #3484. Commit: f60c553e6c92447d71fc960faf81bdeb9c54bbd6 https://github.com/numpy/numpy/commit/f60c553e6c92447d71fc960faf81bdeb9c54bbd6 Author: Charles Harris Date: 2015-06-12 (Fri, 12 Jun 2015) Changed paths: M numpy/core/tests/test_ufunc.py Log Message: ----------- TST: Test that true_divide works for float inputs and dtype=np.float. This was failing due to the check for matching loops not searching through all available loops, rather ending with int8 inputs and float output, which in turn would fail casting. Commit: 88937f8f1d61d889e6923de7e15b63e40fa9a8ee https://github.com/numpy/numpy/commit/88937f8f1d61d889e6923de7e15b63e40fa9a8ee Author: seberg Date: 2015-06-13 (Sat, 13 Jun 2015) Changed paths: M numpy/core/src/umath/ufunc_type_resolution.c M numpy/core/tests/test_ufunc.py Log Message: ----------- Merge pull request #5963 from charris/rubustify-tuple-loop-search Rubustify tuple loop search Compare: https://github.com/numpy/numpy/compare/1fe98ff582d5...88937f8f1d61 From noreply at github.com Sun Jun 14 06:13:05 2015 From: noreply at github.com (GitHub) Date: Sun, 14 Jun 2015 03:13:05 -0700 Subject: [Numpy-svn] [numpy/numpy] 1a82c6: DOC: Extend github source links to line ranges Message-ID: <557d53b1b3a3_28a3ff03aaa52c02077@hookshot-fe2-cp1-prd.iad.github.net.mail> Branch: refs/heads/master Home: https://github.com/numpy/numpy Commit: 1a82c6d7f8ee97565deefc827735cdc1e3676679 https://github.com/numpy/numpy/commit/1a82c6d7f8ee97565deefc827735cdc1e3676679 Author: Jan Schl?ter Date: 2015-06-08 (Mon, 08 Jun 2015) Changed paths: M doc/source/conf.py Log Message: ----------- DOC: Extend github source links to line ranges Commit: adc6476c0f4a2cae70d772f1d9ddfba5168ebc2c https://github.com/numpy/numpy/commit/adc6476c0f4a2cae70d772f1d9ddfba5168ebc2c Author: Ralf Gommers Date: 2015-06-14 (Sun, 14 Jun 2015) Changed paths: M doc/source/conf.py Log Message: ----------- Merge pull request #5950 from f0k/patch-1 Extend github source links to line ranges Compare: https://github.com/numpy/numpy/compare/88937f8f1d61...adc6476c0f4a From noreply at github.com Sun Jun 14 11:54:46 2015 From: noreply at github.com (GitHub) Date: Sun, 14 Jun 2015 08:54:46 -0700 Subject: [Numpy-svn] [numpy/numpy] 4b1f50: MAINT: move the special case for string comparison... Message-ID: <557da3c63e001_3953fa305ed72bc1027b5@hookshot-fe2-cp1-prd.iad.github.net.mail> Branch: refs/heads/master Home: https://github.com/numpy/numpy Commit: 4b1f508a57549d8031a23160b40c7f87f47892ed https://github.com/numpy/numpy/commit/4b1f508a57549d8031a23160b40c7f87f47892ed Author: Nathaniel J. Smith Date: 2015-06-13 (Sat, 13 Jun 2015) Changed paths: M numpy/core/src/multiarray/arrayobject.c Log Message: ----------- MAINT: move the special case for string comparison before the regular case The ndarray richcompare function has a special case for handling string dtypes (which currently cannot be handled by ufuncs). Traditionally this was handled by the ufuncs returning NotImplemented, and then falling through to a special case. By moving the special case to the top of the richcompare function, it becomes unnecessary for the ufuncs to return NotImplemented in this case. Commit: 1e3ab40493fadb5daa67c8a55c5360fd934cca7b https://github.com/numpy/numpy/commit/1e3ab40493fadb5daa67c8a55c5360fd934cca7b Author: Nathaniel J. Smith Date: 2015-06-13 (Sat, 13 Jun 2015) Changed paths: M numpy/core/src/multiarray/arrayobject.c M numpy/core/tests/test_deprecations.py M numpy/core/tests/test_multiarray.py M numpy/testing/utils.py Log Message: ----------- MAINT: move the special case for void comparison before the regular case The ndarray richcompare function has special case code for handling void dtypes (esp. structured dtypes), since there are no ufuncs for this. Previously, we would attempt to call the relevant ufunc (e.g. np.equal), and then when this failed (as signaled by the ufunc returning NotImplemented), we would fall back on the special case code. This commit moves the special case code to before the regular code, so that it no longer requires ufuncs to return NotImplemented. Technically, it is possible to define ufunc loops for void dtypes using PyUFunc_RegisterLoopForDescr, so technically I think this commit changes behaviour: if someone had registered a ufunc loop for one of these operations, then previously it might have been found and pre-empted the special case fallback code; now, we use the special-case code without even checking for any ufunc. But the only possible use of this functionality would have been if someone wanted to redefine what == or != meant for a particular structured dtype -- like, they decided that equality for 2-tuples of float32's should be different from the obvious thing. This does not seem like an important capability to preserve. There were also several cases here where on error, an array comparison would return a scalar instead of raising. This is supposedly deprecated, but there were call paths that did this that had no deprecation warning. I added those warnings. Commit: a0643f542642537cb4f4b3fa057fbbecaf799b29 https://github.com/numpy/numpy/commit/a0643f542642537cb4f4b3fa057fbbecaf799b29 Author: Nathaniel J. Smith Date: 2015-06-13 (Sat, 13 Jun 2015) Changed paths: M numpy/core/src/multiarray/number.c M numpy/ma/core.py M numpy/ma/tests/test_core.py Log Message: ----------- MAINT: add __array_priority__ special case to masked array binary ops ndarray special methods like __add__ have a special case where if the right argument is not an ndarray or subclass, and it has higher __array_priority__ than the left argument, then we return NotImplemented and let the right argument handle the operation. ufuncs have traditionally had a similar but different special case, where if it's a 2 input - 1 output ufunc, and the right argument is not an ndarray (exactly, subclasses don't count), and when converted to an ndarray ends up as an object array (presumably b/c it doesn't have a meaningful coercion route, though who knows), and it has a higher __array_priority__ than the left argument AND it has a __r__ attribute, then they return NotImplemented. In practice this latter special case is not used by regular ndarrays, b/c anytime it would need to be triggered, the former special case triggers first and the ufunc is never called. However, numpy.ma did not have the former special case, and was thus relying on the ufunc special case. This commit adds the special case to the numpy.ma special methods directly, so that they no longer depend on the quirky ufunc behaviour. It also cleans up the relevant test to things that actually should be true in general, instead of just testing some implementation details. Commit: 6bf0e419dc79ea6815557c57b7e9bb504ba20543 https://github.com/numpy/numpy/commit/6bf0e419dc79ea6815557c57b7e9bb504ba20543 Author: Nathaniel J. Smith Date: 2015-06-13 (Sat, 13 Jun 2015) Changed paths: M doc/release/1.10.0-notes.rst M numpy/core/src/multiarray/arrayobject.c M numpy/core/src/umath/ufunc_object.c M numpy/core/tests/test_deprecations.py M numpy/core/tests/test_indexing.py M numpy/core/tests/test_regression.py Log Message: ----------- MAINT: Remove NotImplemented handling from ufuncs (almost) This was redundant/broken anyway. See gh-5844 for discussion. See the massive comment added to ufunc_object.c:get_ufunc_arguments for a discussion of the deprecation strategy here -- it turns out that array_richcompare is such a disaster zone that we can't quite wholly eliminate NotImplemented quite yet. But this removes most NotImplementeds, and lays the groundwork for eliminating the rest in a release or two. Commit: c65a7518537a6ad53146c6479dd10de28311460e https://github.com/numpy/numpy/commit/c65a7518537a6ad53146c6479dd10de28311460e Author: Nathaniel J. Smith Date: 2015-06-13 (Sat, 13 Jun 2015) Changed paths: M numpy/core/src/multiarray/arrayobject.c Log Message: ----------- MAINT: make the deprecation warnings a little more distinctive This is probably a good change in any case, and in particular might help with debugging whatever bizarro thing is going wrong on Travis. Commit: df148e1b6327ca699b8b56f51f34dc871551da8b https://github.com/numpy/numpy/commit/df148e1b6327ca699b8b56f51f34dc871551da8b Author: Charles Harris Date: 2015-06-13 (Sat, 13 Jun 2015) Changed paths: M numpy/core/tests/test_deprecations.py Log Message: ----------- BUG: Fix test_void_dtype_equality_failures for Python 3. The NotArray test class needs to define a `__ne__` method, otherwise the inherited Python 3 method will call `__eq__`, resulting in two rather than one DeprecationWarning. Commit: 0aa32608246881339871231398cc0dc037cef79a https://github.com/numpy/numpy/commit/0aa32608246881339871231398cc0dc037cef79a Author: Charles Harris Date: 2015-06-13 (Sat, 13 Jun 2015) Changed paths: M numpy/core/src/umath/ufunc_object.c M numpy/core/tests/test_deprecations.py Log Message: ----------- STY: Minor style cleanups in tests and C code. Also added back some extended error messages that were in original PR #5864. Commit: 3b3edd9ae8e82259215c72798af4fe3880c86f0d https://github.com/numpy/numpy/commit/3b3edd9ae8e82259215c72798af4fe3880c86f0d Author: Charles Harris Date: 2015-06-13 (Sat, 13 Jun 2015) Changed paths: M numpy/core/tests/test_ufunc.py Log Message: ----------- TST: Test that NotImplemented is not longer returned The following functions now raise a TypeError instead of returning NotImplemented: np.power, np.add, np.subtract, np.multiply, np.divide, np.bitwise_and, np.bitwise_or, np.bitwise_xor, np.floor_divide, np.fmax, np.fmin, np.fmod, np.hypot, np.logaddexp, np.logaddexp2, np.logical_and, np.logical_or, np.logical_xor, np.maximum, np.minimum, np.mod Functions that remain to be fixed: np.greater, np.greater_equal, np.less, np.less_equal, np.not_equal Commit: ed031c2eba327d9c01904441b9e13421c661e417 https://github.com/numpy/numpy/commit/ed031c2eba327d9c01904441b9e13421c661e417 Author: Charles Harris Date: 2015-06-13 (Sat, 13 Jun 2015) Changed paths: M numpy/core/tests/test_multiarray.py Log Message: ----------- TST: Test __array_priority__ for different class combinations. This checks the four classes with different __array_priority__ values against each other for the operators __add__, __radd__ __sub__, __rsub__ __mul__, __rmul__ __pow__, __rpow__ __div__, __rdiv__ __mod__, __rmod__ __truediv__, __rtruediv__ __floordiv__, __rfloordiv__ __and__, __rand__ __xor__, __rxor__ __or__, __ror__ __lshift__, __rlshift__ __rshift__, __rrshift__ __eq__ __ne__ __gt__ __ge__ __lt__ __le__ The classes are ndarray, two subclasses of ndarray, and a class unrelated to ndarray. The combinations checked are ndarray -- ndarray subclass ndarray -- unrelated class ndarray subclass -- ndarray subclass ndarray subclass -- unrelated class Commit: 899a2a2abafe565be634c134c76395753b906834 https://github.com/numpy/numpy/commit/899a2a2abafe565be634c134c76395753b906834 Author: Charles Harris Date: 2015-06-14 (Sun, 14 Jun 2015) Changed paths: M doc/release/1.10.0-notes.rst M numpy/core/src/multiarray/arrayobject.c M numpy/core/src/multiarray/number.c M numpy/core/src/umath/ufunc_object.c M numpy/core/tests/test_deprecations.py M numpy/core/tests/test_indexing.py M numpy/core/tests/test_multiarray.py M numpy/core/tests/test_regression.py M numpy/core/tests/test_ufunc.py M numpy/ma/core.py M numpy/ma/tests/test_core.py M numpy/testing/utils.py Log Message: ----------- Merge pull request #5964 from charris/fixup-gh-5864 Fixup gh 5864 Compare: https://github.com/numpy/numpy/compare/adc6476c0f4a...899a2a2abafe From noreply at github.com Sun Jun 14 12:38:22 2015 From: noreply at github.com (GitHub) Date: Sun, 14 Jun 2015 09:38:22 -0700 Subject: [Numpy-svn] [numpy/numpy] 7721d3: TST: Add test for segfault in richcompare of void ... Message-ID: <557dadfe96622_f533fb3c606f2c0411c8@hookshot-fe3-cp1-prd.iad.github.net.mail> Branch: refs/heads/master Home: https://github.com/numpy/numpy Commit: 7721d3d10e85d4ddbc22d600bb99567cd4d6ecad https://github.com/numpy/numpy/commit/7721d3d10e85d4ddbc22d600bb99567cd4d6ecad Author: Charles Harris Date: 2015-06-14 (Sun, 14 Jun 2015) Changed paths: M numpy/core/tests/test_ufunc.py Log Message: ----------- TST: Add test for segfault in richcompare of void type ==, !=. Fixed by #5964, but might as well keep the test from #5960. Commit: 31d05f2f83384fb05111d71ccbf98ef23f22737b https://github.com/numpy/numpy/commit/31d05f2f83384fb05111d71ccbf98ef23f22737b Author: Charles Harris Date: 2015-06-14 (Sun, 14 Jun 2015) Changed paths: M numpy/core/tests/test_ufunc.py Log Message: ----------- Merge pull request #5965 from charris/add-test-from-gh-5960 TST: Add test for segfault in richcompare of void type ==, !=. Compare: https://github.com/numpy/numpy/compare/899a2a2abafe...31d05f2f8338 From noreply at github.com Sun Jun 14 12:41:51 2015 From: noreply at github.com (GitHub) Date: Sun, 14 Jun 2015 09:41:51 -0700 Subject: [Numpy-svn] [numpy/numpy] 189ae6: BUG: einsums bool_sum_of_products_contig incorrect... Message-ID: <557daecfe900d_3d003fb5fd70f2b83846f@hookshot-fe1-cp1-prd.iad.github.net.mail> Branch: refs/heads/master Home: https://github.com/numpy/numpy Commit: 189ae609a75b349092c133dc81d583fb64fb261b https://github.com/numpy/numpy/commit/189ae609a75b349092c133dc81d583fb64fb261b Author: Sebastian Berg Date: 2015-06-06 (Sat, 06 Jun 2015) Changed paths: M numpy/core/src/multiarray/einsum.c.src Log Message: ----------- BUG: einsums bool_sum_of_products_contig incorrect for small arrays The small array (and end of loop) special case incorrectly stepped through array and left pointers bogus. Commit: eaaa9313b3bf57196528c78868141bf106be9876 https://github.com/numpy/numpy/commit/eaaa9313b3bf57196528c78868141bf106be9876 Author: Charles Harris Date: 2015-06-14 (Sun, 14 Jun 2015) Changed paths: M numpy/core/src/multiarray/einsum.c.src Log Message: ----------- Merge pull request #5946 from seberg/einsum-bool-fix BUG: einsums bool_sum_of_products_contig incorrect for small arrays Compare: https://github.com/numpy/numpy/compare/31d05f2f8338...eaaa9313b3bf From noreply at github.com Sun Jun 14 13:44:03 2015 From: noreply at github.com (GitHub) Date: Sun, 14 Jun 2015 10:44:03 -0700 Subject: [Numpy-svn] [numpy/numpy] 190b8f: TST: Test einsum for small boolean matrices. Message-ID: <557dbd632555b_2ab33fc7924a72b8344d@hookshot-fe6-cp1-prd.iad.github.net.mail> Branch: refs/heads/master Home: https://github.com/numpy/numpy Commit: 190b8f0665084e458be8289748fa393824306193 https://github.com/numpy/numpy/commit/190b8f0665084e458be8289748fa393824306193 Author: Charles Harris Date: 2015-06-14 (Sun, 14 Jun 2015) Changed paths: M numpy/core/tests/test_einsum.py Log Message: ----------- TST: Test einsum for small boolean matrices. See #5946. The input/output pointers were being incorrectly incremented. Commit: b72d69ded7790da6ac0f351fe0ce8cf8187e562d https://github.com/numpy/numpy/commit/b72d69ded7790da6ac0f351fe0ce8cf8187e562d Author: Charles Harris Date: 2015-06-14 (Sun, 14 Jun 2015) Changed paths: M numpy/core/tests/test_einsum.py Log Message: ----------- Merge pull request #5966 from charris/test-einsum-small-boolean-arrays TST: Test einsum for small boolean matrices. Compare: https://github.com/numpy/numpy/compare/eaaa9313b3bf...b72d69ded779 From noreply at github.com Mon Jun 15 15:04:54 2015 From: noreply at github.com (GitHub) Date: Mon, 15 Jun 2015 12:04:54 -0700 Subject: [Numpy-svn] [numpy/numpy] 524d6f: MAINT: Py3 changes PySlice_GetIndices' first argum... Message-ID: <557f21d6f0042_1e193fdfdf1412bc2563c@hookshot-fe5-cp1-prd.iad.github.net.mail> Branch: refs/heads/master Home: https://github.com/numpy/numpy Commit: 524d6f9672eb737b40b4981bc9977ad71a3f19df https://github.com/numpy/numpy/commit/524d6f9672eb737b40b4981bc9977ad71a3f19df Author: Lars Buitinck Date: 2015-06-14 (Sun, 14 Jun 2015) Changed paths: M numpy/core/src/multiarray/nditer_pywrap.c Log Message: ----------- MAINT: Py3 changes PySlice_GetIndices' first argument's type to PyObject* Commit: 7f0900f0f08f9218428ce2d0dd0908af0f9b8cc9 https://github.com/numpy/numpy/commit/7f0900f0f08f9218428ce2d0dd0908af0f9b8cc9 Author: Lars Buitinck Date: 2015-06-14 (Sun, 14 Jun 2015) Changed paths: M numpy/core/src/multiarray/mapping.c Log Message: ----------- BUG: erroneous use of sprintf Output argument was a char ** instead of a char *. Also changed to use snprintf for safety; if the error message is ever changed, the magic number 174 (!?) is likely to go stale, causing buffer overruns. Commit: 0b5cecacc4d6ee2cfb395ac4b955cd52883a77e8 https://github.com/numpy/numpy/commit/0b5cecacc4d6ee2cfb395ac4b955cd52883a77e8 Author: Lars Buitinck Date: 2015-06-15 (Mon, 15 Jun 2015) Changed paths: M numpy/core/src/multiarray/arraytypes.c.src M numpy/core/src/npysort/heapsort.c.src M numpy/core/src/npysort/mergesort.c.src M numpy/core/src/npysort/quicksort.c.src M numpy/core/src/private/npy_sort.h Log Message: ----------- MAINT: change {arg,}sort functions' type to PyArray_{Arg,}SortFunc Commit: 8c4303acdbdd24d5ba035de3ae0a636c348544dc https://github.com/numpy/numpy/commit/8c4303acdbdd24d5ba035de3ae0a636c348544dc Author: Lars Buitinck Date: 2015-06-15 (Mon, 15 Jun 2015) Changed paths: M numpy/build_utils/src/apple_sgemv_fix.c Log Message: ----------- MAINT: build_utils: get rid of more sprintf calls Commit: 4e365875bae8db895f0caa8debaf9774651bffcd https://github.com/numpy/numpy/commit/4e365875bae8db895f0caa8debaf9774651bffcd Author: Charles Harris Date: 2015-06-15 (Mon, 15 Jun 2015) Changed paths: M numpy/build_utils/src/apple_sgemv_fix.c M numpy/core/src/multiarray/arraytypes.c.src M numpy/core/src/multiarray/mapping.c M numpy/core/src/multiarray/nditer_pywrap.c M numpy/core/src/npysort/heapsort.c.src M numpy/core/src/npysort/mergesort.c.src M numpy/core/src/npysort/quicksort.c.src M numpy/core/src/private/npy_sort.h Log Message: ----------- Merge pull request #5968 from larsmans/c-fixes FIX sprintf bug + get rid of a lot of warnings Compare: https://github.com/numpy/numpy/compare/b72d69ded779...4e365875bae8 From noreply at github.com Mon Jun 15 16:16:57 2015 From: noreply at github.com (GitHub) Date: Mon, 15 Jun 2015 13:16:57 -0700 Subject: [Numpy-svn] [numpy/numpy] 338d04: ENH: allow subclass overrides by removing explicit... Message-ID: <557f32b9cab91_7a9d3fd73e54b2bc353e2@hookshot-fe2-cp1-prd.iad.github.net.mail> Branch: refs/heads/master Home: https://github.com/numpy/numpy Commit: 338d047c3d17b815b2a5ea22cc96bfb12a4c013d https://github.com/numpy/numpy/commit/338d047c3d17b815b2a5ea22cc96bfb12a4c013d Author: Marten van Kerkwijk Date: 2015-06-10 (Wed, 10 Jun 2015) Changed paths: M doc/release/1.10.0-notes.rst M numpy/ma/core.py Log Message: ----------- ENH: allow subclass overrides by removing explicit ndarray methods Commit: 7e04882ac753f02cd3fe6d583e8c544cb1eb4ab9 https://github.com/numpy/numpy/commit/7e04882ac753f02cd3fe6d583e8c544cb1eb4ab9 Author: Charles Harris Date: 2015-06-15 (Mon, 15 Jun 2015) Changed paths: M doc/release/1.10.0-notes.rst M numpy/ma/core.py Log Message: ----------- Merge pull request #4617 from mhvk/ma/no-direct-ndarray-methods ENH: allow subclass overrides by removing explicit ndarray methods Compare: https://github.com/numpy/numpy/compare/4e365875bae8...7e04882ac753 From noreply at github.com Tue Jun 16 03:56:59 2015 From: noreply at github.com (GitHub) Date: Tue, 16 Jun 2015 00:56:59 -0700 Subject: [Numpy-svn] [numpy/numpy] 0a08e7: BUG: fix inconsistency with np.array(['']) being t... Message-ID: <557fd6cb5cf67_5c7b3fb5e9e112a015277@hookshot-fe2-cp1-prd.iad.github.net.mail> Branch: refs/heads/auto Home: https://github.com/numpy/numpy Commit: 0a08e7e50f5a445e54fd9a888a9d03a2fdeb9e9e https://github.com/numpy/numpy/commit/0a08e7e50f5a445e54fd9a888a9d03a2fdeb9e9e Author: wim glenn Date: 2015-06-15 (Mon, 15 Jun 2015) Changed paths: M numpy/core/src/multiarray/arraytypes.c.src M numpy/core/tests/test_multiarray.py Log Message: ----------- BUG: fix inconsistency with np.array(['']) being truthy Commit: 8b447baab0932c7bd5cf89aba3e9e2197e4be735 https://github.com/numpy/numpy/commit/8b447baab0932c7bd5cf89aba3e9e2197e4be735 Author: wim glenn Date: 2015-06-15 (Mon, 15 Jun 2015) Changed paths: M numpy/core/tests/test_multiarray.py Log Message: ----------- grrr python 3.2 Commit: 3dd9a5dd7e30a05e97b3671976eee87564370ac1 https://github.com/numpy/numpy/commit/3dd9a5dd7e30a05e97b3671976eee87564370ac1 Author: wim glenn Date: 2015-06-15 (Mon, 15 Jun 2015) Changed paths: M numpy/core/tests/test_multiarray.py Log Message: ----------- tests for removing explicit size check Commit: d67dc631694585ca84972d2ba1823dac9ca220e1 https://github.com/numpy/numpy/commit/d67dc631694585ca84972d2ba1823dac9ca220e1 Author: wim glenn Date: 2015-06-15 (Mon, 15 Jun 2015) Changed paths: M numpy/core/src/multiarray/arraytypes.c.src Log Message: ----------- the code changes to make those new tests pass Commit: 8749a9a95b0b917dfff3872344204c0040b71cef https://github.com/numpy/numpy/commit/8749a9a95b0b917dfff3872344204c0040b71cef Author: wim glenn Date: 2015-06-15 (Mon, 15 Jun 2015) Changed paths: M numpy/core/src/multiarray/arraytypes.c.src Log Message: ----------- whoops dont need that bit anymore Commit: 8c86a0a879a9f6d8bc9b225e95512fd7f2fca964 https://github.com/numpy/numpy/commit/8c86a0a879a9f6d8bc9b225e95512fd7f2fca964 Author: Homu Date: 2015-06-16 (Tue, 16 Jun 2015) Changed paths: M numpy/core/src/multiarray/arraytypes.c.src M numpy/core/tests/test_multiarray.py Log Message: ----------- Auto merge of #5967 - wimglenn:bugfix/empty_string_array, r=seberg BUG: fix inconsistency with np.array(['']) being truthy ``` a = np.array([0]) b = np.array([None]) c = np.array(['']) d = np.array([' ']) ``` Why should we have this inconsistency: ``` >>> bool(a) False >>> bool(b) False >>> bool(c) True >>> bool(d) False ``` Compare: https://github.com/numpy/numpy/compare/7e04882ac753...8c86a0a879a9 From noreply at github.com Tue Jun 16 03:56:59 2015 From: noreply at github.com (GitHub) Date: Tue, 16 Jun 2015 00:56:59 -0700 Subject: [Numpy-svn] [numpy/numpy] Message-ID: <557fd6cb3cb2d_76153faf5ed312b854951@hookshot-fe1-cp1-prd.iad.github.net.mail> Branch: refs/heads/auto Home: https://github.com/numpy/numpy From noreply at github.com Tue Jun 16 04:28:18 2015 From: noreply at github.com (GitHub) Date: Tue, 16 Jun 2015 01:28:18 -0700 Subject: [Numpy-svn] [numpy/numpy] 0a08e7: BUG: fix inconsistency with np.array(['']) being t... Message-ID: <557fde222b829_7aa93fe86696d2bc6884a@hookshot-fe4-cp1-prd.iad.github.net.mail> Branch: refs/heads/master Home: https://github.com/numpy/numpy Commit: 0a08e7e50f5a445e54fd9a888a9d03a2fdeb9e9e https://github.com/numpy/numpy/commit/0a08e7e50f5a445e54fd9a888a9d03a2fdeb9e9e Author: wim glenn Date: 2015-06-15 (Mon, 15 Jun 2015) Changed paths: M numpy/core/src/multiarray/arraytypes.c.src M numpy/core/tests/test_multiarray.py Log Message: ----------- BUG: fix inconsistency with np.array(['']) being truthy Commit: 8b447baab0932c7bd5cf89aba3e9e2197e4be735 https://github.com/numpy/numpy/commit/8b447baab0932c7bd5cf89aba3e9e2197e4be735 Author: wim glenn Date: 2015-06-15 (Mon, 15 Jun 2015) Changed paths: M numpy/core/tests/test_multiarray.py Log Message: ----------- grrr python 3.2 Commit: 3dd9a5dd7e30a05e97b3671976eee87564370ac1 https://github.com/numpy/numpy/commit/3dd9a5dd7e30a05e97b3671976eee87564370ac1 Author: wim glenn Date: 2015-06-15 (Mon, 15 Jun 2015) Changed paths: M numpy/core/tests/test_multiarray.py Log Message: ----------- tests for removing explicit size check Commit: d67dc631694585ca84972d2ba1823dac9ca220e1 https://github.com/numpy/numpy/commit/d67dc631694585ca84972d2ba1823dac9ca220e1 Author: wim glenn Date: 2015-06-15 (Mon, 15 Jun 2015) Changed paths: M numpy/core/src/multiarray/arraytypes.c.src Log Message: ----------- the code changes to make those new tests pass Commit: 8749a9a95b0b917dfff3872344204c0040b71cef https://github.com/numpy/numpy/commit/8749a9a95b0b917dfff3872344204c0040b71cef Author: wim glenn Date: 2015-06-15 (Mon, 15 Jun 2015) Changed paths: M numpy/core/src/multiarray/arraytypes.c.src Log Message: ----------- whoops dont need that bit anymore Commit: 8c86a0a879a9f6d8bc9b225e95512fd7f2fca964 https://github.com/numpy/numpy/commit/8c86a0a879a9f6d8bc9b225e95512fd7f2fca964 Author: Homu Date: 2015-06-16 (Tue, 16 Jun 2015) Changed paths: M numpy/core/src/multiarray/arraytypes.c.src M numpy/core/tests/test_multiarray.py Log Message: ----------- Auto merge of #5967 - wimglenn:bugfix/empty_string_array, r=seberg BUG: fix inconsistency with np.array(['']) being truthy ``` a = np.array([0]) b = np.array([None]) c = np.array(['']) d = np.array([' ']) ``` Why should we have this inconsistency: ``` >>> bool(a) False >>> bool(b) False >>> bool(c) True >>> bool(d) False ``` Compare: https://github.com/numpy/numpy/compare/7e04882ac753...8c86a0a879a9 From noreply at github.com Wed Jun 17 15:29:59 2015 From: noreply at github.com (GitHub) Date: Wed, 17 Jun 2015 12:29:59 -0700 Subject: [Numpy-svn] [numpy/numpy] 3c1a13: ENH: simplify field indexing of structured arrays Message-ID: <5581cab7c80c7_74e93fca216252c01096c6@hookshot-fe6-cp1-prd.iad.github.net.mail> Branch: refs/heads/master Home: https://github.com/numpy/numpy Commit: 3c1a13dea6a7e189675977ad65ea230ce4816061 https://github.com/numpy/numpy/commit/3c1a13dea6a7e189675977ad65ea230ce4816061 Author: Allan Haldane Date: 2015-06-17 (Wed, 17 Jun 2015) Changed paths: M numpy/core/_internal.py M numpy/core/src/multiarray/arraytypes.c.src M numpy/core/src/multiarray/mapping.c M numpy/core/tests/test_indexing.py M numpy/core/tests/test_multiarray.py M numpy/core/tests/test_records.py Log Message: ----------- ENH: simplify field indexing of structured arrays This commit simplifies the code in array_subscript and array_assign_subscript related to field access. This fixes #4806, and also removes a potential segfaults, eg if the array is indexed using an sequence-like object that raises an exception in getitem. Also fixes #5631, related to creation of structured dtypes with no fields (an unusual and probably useless edge case). Also moves all imports in _internal.py to the top. Fixes #4806. Fixes #5631. Commit: f4e0bdd0386f89bc2c40c5329663710293140ae6 https://github.com/numpy/numpy/commit/f4e0bdd0386f89bc2c40c5329663710293140ae6 Author: Charles Harris Date: 2015-06-17 (Wed, 17 Jun 2015) Changed paths: M numpy/core/_internal.py M numpy/core/src/multiarray/arraytypes.c.src M numpy/core/src/multiarray/mapping.c M numpy/core/tests/test_indexing.py M numpy/core/tests/test_multiarray.py M numpy/core/tests/test_records.py Log Message: ----------- Merge pull request #5636 from ahaldane/rework_index_fields ENH: simplify field indexing of structured arrays Compare: https://github.com/numpy/numpy/compare/8c86a0a879a9...f4e0bdd0386f From noreply at github.com Wed Jun 17 15:44:44 2015 From: noreply at github.com (GitHub) Date: Wed, 17 Jun 2015 12:44:44 -0700 Subject: [Numpy-svn] [numpy/numpy] 3c6b6b: BUG Allow subclasses in MaskedArray ufuncs -- for ... Message-ID: <5581ce2c3c6bf_75933f7fcdf3d2c0109686@hookshot-fe6-cp1-prd.iad.github.net.mail> Branch: refs/heads/master Home: https://github.com/numpy/numpy Commit: 3c6b6baba587297633b8744a3b2ade8644ad8a5e https://github.com/numpy/numpy/commit/3c6b6baba587297633b8744a3b2ade8644ad8a5e Author: Marten van Kerkwijk Date: 2015-06-16 (Tue, 16 Jun 2015) Changed paths: M numpy/ma/core.py M numpy/ma/tests/test_core.py M numpy/ma/tests/test_subclassing.py Log Message: ----------- BUG Allow subclasses in MaskedArray ufuncs -- for non-ndarray _data Commit: 6c1e1de675c3a774bef31be789c43600da60addc https://github.com/numpy/numpy/commit/6c1e1de675c3a774bef31be789c43600da60addc Author: Charles Harris Date: 2015-06-17 (Wed, 17 Jun 2015) Changed paths: M numpy/ma/core.py M numpy/ma/tests/test_core.py M numpy/ma/tests/test_subclassing.py Log Message: ----------- Merge pull request #3907 from mhvk/ma/allow-subclass-in-ufunc BUG allow subclasses in MaskedArray ufuncs -- for non-ndarray _data Compare: https://github.com/numpy/numpy/compare/f4e0bdd0386f...6c1e1de675c3 From noreply at github.com Wed Jun 17 17:11:30 2015 From: noreply at github.com (GitHub) Date: Wed, 17 Jun 2015 14:11:30 -0700 Subject: [Numpy-svn] [numpy/numpy] 53b8c2: MAINT: document change to bytestring index behavio... Message-ID: <5581e28261d5a_2a793ff5aa2672a0831c5@hookshot-fe2-cp1-prd.iad.github.net.mail> Branch: refs/heads/master Home: https://github.com/numpy/numpy Commit: 53b8c2a88d33933a45d4f34525a583776e096502 https://github.com/numpy/numpy/commit/53b8c2a88d33933a45d4f34525a583776e096502 Author: Allan Haldane Date: 2015-06-17 (Wed, 17 Jun 2015) Changed paths: M doc/release/1.10.0-notes.rst Log Message: ----------- MAINT: document change to bytestring index behavior Bytestring indices now raise IndexError, not ValueError [ci skip] Commit: a580d6fb832ee1c571a60b104e44b6b21f3c2951 https://github.com/numpy/numpy/commit/a580d6fb832ee1c571a60b104e44b6b21f3c2951 Author: Charles Harris Date: 2015-06-17 (Wed, 17 Jun 2015) Changed paths: M doc/release/1.10.0-notes.rst Log Message: ----------- Merge pull request #5977 from ahaldane/bytestring_releasenote MAINT: document change to bytestring index behavior Compare: https://github.com/numpy/numpy/compare/6c1e1de675c3...a580d6fb832e From noreply at github.com Wed Jun 17 23:16:52 2015 From: noreply at github.com (GitHub) Date: Wed, 17 Jun 2015 20:16:52 -0700 Subject: [Numpy-svn] [numpy/numpy] 1a4d94: BUG Ensure masked object arrays can always return ... Message-ID: <558238247bd09_6f9b3ff163cb52c01020e8@hookshot-fe6-cp1-prd.iad.github.net.mail> Branch: refs/heads/master Home: https://github.com/numpy/numpy Commit: 1a4d94357eb8d06930ad69309fda579a8caa6c57 https://github.com/numpy/numpy/commit/1a4d94357eb8d06930ad69309fda579a8caa6c57 Author: Marten van Kerkwijk Date: 2015-06-17 (Wed, 17 Jun 2015) Changed paths: M doc/release/1.10.0-notes.rst M numpy/ma/core.py M numpy/ma/tests/test_core.py Log Message: ----------- BUG Ensure masked object arrays can always return single items. For a masked array holding objects that themselves are arrays, when selecting a single item, it is treated as if it were a slice of the array and an attempt is made to set its mask. This was always a bug, but it become visible with a recent change to `MaskedArray.__getitem__` (gh-4586) where it is attempted to change the shape of the mask. With this PR, this case gets special treatment in that the object is made into a Masked Array with a full set mask. (A previous attempt to do the perhaps more logical think and just return `masked` caused quite a few errors in astropy.io.votable; it seemed it was not worth breaking backwards compatibility that much). Test case that now works but used to fail: ``` mx1 = MaskedArray([1.], mask=[True]) mx2 = MaskedArray([1., 2.]) mx = MaskedArray([mx1, mx2], mask=[False, True]) mx[0] ``` Commit: 2c29b138aedb1774e7f984f4a237243455c423ad https://github.com/numpy/numpy/commit/2c29b138aedb1774e7f984f4a237243455c423ad Author: Charles Harris Date: 2015-06-17 (Wed, 17 Jun 2015) Changed paths: M doc/release/1.10.0-notes.rst M numpy/ma/core.py M numpy/ma/tests/test_core.py Log Message: ----------- Merge pull request #5962 from mhvk/ma-getitem-nomask-correction BUG Ensure masked object arrays can always return single items. Compare: https://github.com/numpy/numpy/compare/a580d6fb832e...2c29b138aedb From noreply at github.com Thu Jun 18 10:46:04 2015 From: noreply at github.com (GitHub) Date: Thu, 18 Jun 2015 07:46:04 -0700 Subject: [Numpy-svn] [numpy/numpy] b26aef: BUG: Large concatenates with axis=None causing seg... Message-ID: <5582d9aca8b8f_2ac3feb643a129c703b3@hookshot-fe2-cp1-prd.iad.github.net.mail> Branch: refs/heads/master Home: https://github.com/numpy/numpy Commit: b26aef66a998b8a6877ee261e4d97ec8f815dad2 https://github.com/numpy/numpy/commit/b26aef66a998b8a6877ee261e4d97ec8f815dad2 Author: Sebastian Berg Date: 2015-06-18 (Thu, 18 Jun 2015) Changed paths: M numpy/core/src/multiarray/multiarraymodule.c M numpy/core/tests/test_shape_base.py Log Message: ----------- BUG: Large concatenates with axis=None causing segfault. This was due to sizes assuming a MAX_ARGS, just remove usage and call PyArray_SIZE each time. Closes gh-5979 Commit: 4027d16f0aa19e551067bf0c93dbe057e0142bb8 https://github.com/numpy/numpy/commit/4027d16f0aa19e551067bf0c93dbe057e0142bb8 Author: Charles Harris Date: 2015-06-18 (Thu, 18 Jun 2015) Changed paths: M numpy/core/src/multiarray/multiarraymodule.c M numpy/core/tests/test_shape_base.py Log Message: ----------- Merge pull request #5980 from seberg/large-flat-concat BUG: Large concatenates with axis=None causing segfault. Compare: https://github.com/numpy/numpy/compare/2c29b138aedb...4027d16f0aa1 From noreply at github.com Thu Jun 18 20:23:06 2015 From: noreply at github.com (GitHub) Date: Thu, 18 Jun 2015 17:23:06 -0700 Subject: [Numpy-svn] [numpy/numpy] 3c6b6b: BUG Allow subclasses in MaskedArray ufuncs -- for ... Message-ID: <558360ea69b05_7cd3fe3c7fef2a048089@hookshot-fe5-cp1-prd.iad.github.net.mail> Branch: refs/heads/auto Home: https://github.com/numpy/numpy Commit: 3c6b6baba587297633b8744a3b2ade8644ad8a5e https://github.com/numpy/numpy/commit/3c6b6baba587297633b8744a3b2ade8644ad8a5e Author: Marten van Kerkwijk Date: 2015-06-16 (Tue, 16 Jun 2015) Changed paths: M numpy/ma/core.py M numpy/ma/tests/test_core.py M numpy/ma/tests/test_subclassing.py Log Message: ----------- BUG Allow subclasses in MaskedArray ufuncs -- for non-ndarray _data Commit: 3c1a13dea6a7e189675977ad65ea230ce4816061 https://github.com/numpy/numpy/commit/3c1a13dea6a7e189675977ad65ea230ce4816061 Author: Allan Haldane Date: 2015-06-17 (Wed, 17 Jun 2015) Changed paths: M numpy/core/_internal.py M numpy/core/src/multiarray/arraytypes.c.src M numpy/core/src/multiarray/mapping.c M numpy/core/tests/test_indexing.py M numpy/core/tests/test_multiarray.py M numpy/core/tests/test_records.py Log Message: ----------- ENH: simplify field indexing of structured arrays This commit simplifies the code in array_subscript and array_assign_subscript related to field access. This fixes #4806, and also removes a potential segfaults, eg if the array is indexed using an sequence-like object that raises an exception in getitem. Also fixes #5631, related to creation of structured dtypes with no fields (an unusual and probably useless edge case). Also moves all imports in _internal.py to the top. Fixes #4806. Fixes #5631. Commit: f4e0bdd0386f89bc2c40c5329663710293140ae6 https://github.com/numpy/numpy/commit/f4e0bdd0386f89bc2c40c5329663710293140ae6 Author: Charles Harris Date: 2015-06-17 (Wed, 17 Jun 2015) Changed paths: M numpy/core/_internal.py M numpy/core/src/multiarray/arraytypes.c.src M numpy/core/src/multiarray/mapping.c M numpy/core/tests/test_indexing.py M numpy/core/tests/test_multiarray.py M numpy/core/tests/test_records.py Log Message: ----------- Merge pull request #5636 from ahaldane/rework_index_fields ENH: simplify field indexing of structured arrays Commit: 6c1e1de675c3a774bef31be789c43600da60addc https://github.com/numpy/numpy/commit/6c1e1de675c3a774bef31be789c43600da60addc Author: Charles Harris Date: 2015-06-17 (Wed, 17 Jun 2015) Changed paths: M numpy/ma/core.py M numpy/ma/tests/test_core.py M numpy/ma/tests/test_subclassing.py Log Message: ----------- Merge pull request #3907 from mhvk/ma/allow-subclass-in-ufunc BUG allow subclasses in MaskedArray ufuncs -- for non-ndarray _data Commit: 53b8c2a88d33933a45d4f34525a583776e096502 https://github.com/numpy/numpy/commit/53b8c2a88d33933a45d4f34525a583776e096502 Author: Allan Haldane Date: 2015-06-17 (Wed, 17 Jun 2015) Changed paths: M doc/release/1.10.0-notes.rst Log Message: ----------- MAINT: document change to bytestring index behavior Bytestring indices now raise IndexError, not ValueError [ci skip] Commit: a580d6fb832ee1c571a60b104e44b6b21f3c2951 https://github.com/numpy/numpy/commit/a580d6fb832ee1c571a60b104e44b6b21f3c2951 Author: Charles Harris Date: 2015-06-17 (Wed, 17 Jun 2015) Changed paths: M doc/release/1.10.0-notes.rst Log Message: ----------- Merge pull request #5977 from ahaldane/bytestring_releasenote MAINT: document change to bytestring index behavior Commit: 1a4d94357eb8d06930ad69309fda579a8caa6c57 https://github.com/numpy/numpy/commit/1a4d94357eb8d06930ad69309fda579a8caa6c57 Author: Marten van Kerkwijk Date: 2015-06-17 (Wed, 17 Jun 2015) Changed paths: M doc/release/1.10.0-notes.rst M numpy/ma/core.py M numpy/ma/tests/test_core.py Log Message: ----------- BUG Ensure masked object arrays can always return single items. For a masked array holding objects that themselves are arrays, when selecting a single item, it is treated as if it were a slice of the array and an attempt is made to set its mask. This was always a bug, but it become visible with a recent change to `MaskedArray.__getitem__` (gh-4586) where it is attempted to change the shape of the mask. With this PR, this case gets special treatment in that the object is made into a Masked Array with a full set mask. (A previous attempt to do the perhaps more logical think and just return `masked` caused quite a few errors in astropy.io.votable; it seemed it was not worth breaking backwards compatibility that much). Test case that now works but used to fail: ``` mx1 = MaskedArray([1.], mask=[True]) mx2 = MaskedArray([1., 2.]) mx = MaskedArray([mx1, mx2], mask=[False, True]) mx[0] ``` Commit: 2c29b138aedb1774e7f984f4a237243455c423ad https://github.com/numpy/numpy/commit/2c29b138aedb1774e7f984f4a237243455c423ad Author: Charles Harris Date: 2015-06-17 (Wed, 17 Jun 2015) Changed paths: M doc/release/1.10.0-notes.rst M numpy/ma/core.py M numpy/ma/tests/test_core.py Log Message: ----------- Merge pull request #5962 from mhvk/ma-getitem-nomask-correction BUG Ensure masked object arrays can always return single items. Commit: b26aef66a998b8a6877ee261e4d97ec8f815dad2 https://github.com/numpy/numpy/commit/b26aef66a998b8a6877ee261e4d97ec8f815dad2 Author: Sebastian Berg Date: 2015-06-18 (Thu, 18 Jun 2015) Changed paths: M numpy/core/src/multiarray/multiarraymodule.c M numpy/core/tests/test_shape_base.py Log Message: ----------- BUG: Large concatenates with axis=None causing segfault. This was due to sizes assuming a MAX_ARGS, just remove usage and call PyArray_SIZE each time. Closes gh-5979 Commit: 4027d16f0aa19e551067bf0c93dbe057e0142bb8 https://github.com/numpy/numpy/commit/4027d16f0aa19e551067bf0c93dbe057e0142bb8 Author: Charles Harris Date: 2015-06-18 (Thu, 18 Jun 2015) Changed paths: M numpy/core/src/multiarray/multiarraymodule.c M numpy/core/tests/test_shape_base.py Log Message: ----------- Merge pull request #5980 from seberg/large-flat-concat BUG: Large concatenates with axis=None causing segfault. Compare: https://github.com/numpy/numpy/compare/8c86a0a879a9...4027d16f0aa1 From noreply at github.com Thu Jun 18 20:23:06 2015 From: noreply at github.com (GitHub) Date: Thu, 18 Jun 2015 17:23:06 -0700 Subject: [Numpy-svn] [numpy/numpy] 6ccef0: MAINT: Rename npy_cache_pyfunc to npy_cache_import... Message-ID: <558360eaa1a2d_49983fa83b5012c0346ce@hookshot-fe4-cp1-prd.iad.github.net.mail> Branch: refs/heads/auto Home: https://github.com/numpy/numpy Commit: 6ccef0364915663ca122b102a7c47c01a6051fd6 https://github.com/numpy/numpy/commit/6ccef0364915663ca122b102a7c47c01a6051fd6 Author: Charles Harris Date: 2015-06-18 (Thu, 18 Jun 2015) Changed paths: M numpy/core/src/multiarray/getset.c M numpy/core/src/multiarray/mapping.c M numpy/core/src/multiarray/methods.c M numpy/core/src/multiarray/multiarraymodule.c M numpy/core/src/multiarray/number.c M numpy/core/src/private/npy_import.h Log Message: ----------- MAINT: Rename npy_cache_pyfunc to npy_cache_import. The function will be new in NumPy 1.10, so get this done before branching that version. The old name was a bit too specific for a function that could also be used to cache other attributes than just functions. Commit: 520b564a4761e4d1935fd16a2fc119df1f2c77a2 https://github.com/numpy/numpy/commit/520b564a4761e4d1935fd16a2fc119df1f2c77a2 Author: Homu Date: 2015-06-19 (Fri, 19 Jun 2015) Changed paths: M numpy/core/src/multiarray/getset.c M numpy/core/src/multiarray/mapping.c M numpy/core/src/multiarray/methods.c M numpy/core/src/multiarray/multiarraymodule.c M numpy/core/src/multiarray/number.c M numpy/core/src/private/npy_import.h Log Message: ----------- Auto merge of #5983 - charris:rename-npy_cache_pyfunc, r=njsmith MAINT: Rename npy_cache_pyfunc to npy_cache_import. The function will be new in NumPy 1.10, so get this done before branching that version. The old name was a bit too specific for a function that could also be used to cache other attributes than just functions. Compare: https://github.com/numpy/numpy/compare/4027d16f0aa1...520b564a4761 From noreply at github.com Fri Jun 19 03:21:29 2015 From: noreply at github.com (GitHub) Date: Fri, 19 Jun 2015 00:21:29 -0700 Subject: [Numpy-svn] [numpy/numpy] Message-ID: <5583c2f9814b0_4663fee5fe9f2b860015@hookshot-fe5-cp1-prd.iad.github.net.mail> Branch: refs/heads/auto Home: https://github.com/numpy/numpy From noreply at github.com Fri Jun 19 03:21:29 2015 From: noreply at github.com (GitHub) Date: Fri, 19 Jun 2015 00:21:29 -0700 Subject: [Numpy-svn] [numpy/numpy] 75e435: MAINT: Rename npy_cache_pyfunc to npy_cache_import... Message-ID: <5583c2f98bceb_3423fea1282b2c0642ee@hookshot-fe3-cp1-prd.iad.github.net.mail> Branch: refs/heads/auto Home: https://github.com/numpy/numpy Commit: 75e4353d16f7bf591bbdc7a8024f902d6cf1846f https://github.com/numpy/numpy/commit/75e4353d16f7bf591bbdc7a8024f902d6cf1846f Author: Charles Harris Date: 2015-06-18 (Thu, 18 Jun 2015) Changed paths: M numpy/core/src/multiarray/getset.c M numpy/core/src/multiarray/mapping.c M numpy/core/src/multiarray/methods.c M numpy/core/src/multiarray/multiarraymodule.c M numpy/core/src/multiarray/number.c M numpy/core/src/private/npy_import.h Log Message: ----------- MAINT: Rename npy_cache_pyfunc to npy_cache_import. The function will be new in NumPy 1.10, so get this done before branching that version. The old name was a bit too specific for a function that could also be used to cache other attributes than just functions. Commit: d033b6e19fc95a1f1fd6592de8318178368011b1 https://github.com/numpy/numpy/commit/d033b6e19fc95a1f1fd6592de8318178368011b1 Author: Homu Date: 2015-06-19 (Fri, 19 Jun 2015) Changed paths: M numpy/core/src/multiarray/getset.c M numpy/core/src/multiarray/mapping.c M numpy/core/src/multiarray/methods.c M numpy/core/src/multiarray/multiarraymodule.c M numpy/core/src/multiarray/number.c M numpy/core/src/private/npy_import.h Log Message: ----------- Auto merge of #5983 - charris:rename-npy_cache_pyfunc, r=njsmith MAINT: Rename npy_cache_pyfunc to npy_cache_import. The function will be new in NumPy 1.10, so get this done before branching that version. The old name was a bit too specific for a function that could also be used to cache other attributes than just functions. Compare: https://github.com/numpy/numpy/compare/4027d16f0aa1...d033b6e19fc9 From noreply at github.com Fri Jun 19 03:54:05 2015 From: noreply at github.com (GitHub) Date: Fri, 19 Jun 2015 00:54:05 -0700 Subject: [Numpy-svn] [numpy/numpy] 75e435: MAINT: Rename npy_cache_pyfunc to npy_cache_import... Message-ID: <5583ca9da49f6_63943f97a7e972c0755e@hookshot-fe2-cp1-prd.iad.github.net.mail> Branch: refs/heads/master Home: https://github.com/numpy/numpy Commit: 75e4353d16f7bf591bbdc7a8024f902d6cf1846f https://github.com/numpy/numpy/commit/75e4353d16f7bf591bbdc7a8024f902d6cf1846f Author: Charles Harris Date: 2015-06-18 (Thu, 18 Jun 2015) Changed paths: M numpy/core/src/multiarray/getset.c M numpy/core/src/multiarray/mapping.c M numpy/core/src/multiarray/methods.c M numpy/core/src/multiarray/multiarraymodule.c M numpy/core/src/multiarray/number.c M numpy/core/src/private/npy_import.h Log Message: ----------- MAINT: Rename npy_cache_pyfunc to npy_cache_import. The function will be new in NumPy 1.10, so get this done before branching that version. The old name was a bit too specific for a function that could also be used to cache other attributes than just functions. Commit: d033b6e19fc95a1f1fd6592de8318178368011b1 https://github.com/numpy/numpy/commit/d033b6e19fc95a1f1fd6592de8318178368011b1 Author: Homu Date: 2015-06-19 (Fri, 19 Jun 2015) Changed paths: M numpy/core/src/multiarray/getset.c M numpy/core/src/multiarray/mapping.c M numpy/core/src/multiarray/methods.c M numpy/core/src/multiarray/multiarraymodule.c M numpy/core/src/multiarray/number.c M numpy/core/src/private/npy_import.h Log Message: ----------- Auto merge of #5983 - charris:rename-npy_cache_pyfunc, r=njsmith MAINT: Rename npy_cache_pyfunc to npy_cache_import. The function will be new in NumPy 1.10, so get this done before branching that version. The old name was a bit too specific for a function that could also be used to cache other attributes than just functions. Compare: https://github.com/numpy/numpy/compare/4027d16f0aa1...d033b6e19fc9 From noreply at github.com Fri Jun 19 17:38:50 2015 From: noreply at github.com (GitHub) Date: Fri, 19 Jun 2015 14:38:50 -0700 Subject: [Numpy-svn] [numpy/numpy] a93b86: BUG: automatically convert recarray dtype to np.re... Message-ID: <55848beacb29f_1aac3fc9ab3a929c1089c5@hookshot-fe4-cp1-prd.iad.github.net.mail> Branch: refs/heads/master Home: https://github.com/numpy/numpy Commit: a93b86217e9ff8cc1060aaf362cd682b518cfb7b https://github.com/numpy/numpy/commit/a93b86217e9ff8cc1060aaf362cd682b518cfb7b Author: Allan Haldane Date: 2015-06-19 (Fri, 19 Jun 2015) Changed paths: M doc/release/1.10.0-notes.rst M doc/source/reference/arrays.dtypes.rst M numpy/core/records.py M numpy/core/tests/test_records.py M numpy/doc/structured_arrays.py M numpy/ma/core.py M numpy/ma/tests/test_core.py Log Message: ----------- BUG: automatically convert recarray dtype to np.record Viewing an ndarray as a np.recarray now automatically converts the dtype to np.record. This commit also fixes assignment to MaskedArray's dtype attribute, fixes the repr of recarrays with non-structured dtype, and removes recarray.view so that viewing a recarray as a non-structured dtype no longer converts to ndarray type. Fixes #3581 Commit: e42bea5f09b7056d37217c26efd9008bc7ff380a https://github.com/numpy/numpy/commit/e42bea5f09b7056d37217c26efd9008bc7ff380a Author: Charles Harris Date: 2015-06-19 (Fri, 19 Jun 2015) Changed paths: M doc/release/1.10.0-notes.rst M doc/source/reference/arrays.dtypes.rst M numpy/core/records.py M numpy/core/tests/test_records.py M numpy/doc/structured_arrays.py M numpy/ma/core.py M numpy/ma/tests/test_core.py Log Message: ----------- Merge pull request #5943 from ahaldane/record_finalize BUG: automatically convert recarray dtype to np.record Compare: https://github.com/numpy/numpy/compare/d033b6e19fc9...e42bea5f09b7 From noreply at github.com Fri Jun 19 17:53:56 2015 From: noreply at github.com (GitHub) Date: Fri, 19 Jun 2015 14:53:56 -0700 Subject: [Numpy-svn] [numpy/numpy] 14a28b: DOC: update eigvalsh docstring example Message-ID: <55848f7468962_57683fa0b77d129c2367e@hookshot-fe1-cp1-prd.iad.github.net.mail> Branch: refs/heads/master Home: https://github.com/numpy/numpy Commit: 14a28bd8e7eb1f99e570cd2903d955c6b9d0038e https://github.com/numpy/numpy/commit/14a28bd8e7eb1f99e570cd2903d955c6b9d0038e Author: alex Date: 2015-06-19 (Fri, 19 Jun 2015) Changed paths: M numpy/linalg/linalg.py Log Message: ----------- DOC: update eigvalsh docstring example Commit: a9695eec20c029d8d64f0e7162f7947b6c3589a5 https://github.com/numpy/numpy/commit/a9695eec20c029d8d64f0e7162f7947b6c3589a5 Author: Charles Harris Date: 2015-06-19 (Fri, 19 Jun 2015) Changed paths: M numpy/linalg/linalg.py Log Message: ----------- Merge pull request #5987 from argriffing/eighvalsh-docs DOC: update eigvalsh docstring example Compare: https://github.com/numpy/numpy/compare/e42bea5f09b7...a9695eec20c0 From noreply at github.com Fri Jun 19 21:47:26 2015 From: noreply at github.com (GitHub) Date: Fri, 19 Jun 2015 18:47:26 -0700 Subject: [Numpy-svn] [numpy/numpy] 494275: ENH: Take advantage of symmetry in leggauss. Message-ID: <5584c62e333c1_68703ff2674612b81121fe@hookshot-fe2-cp1-prd.iad.github.net.mail> Branch: refs/heads/master Home: https://github.com/numpy/numpy Commit: 49427504787e46bc394305901997d629f039fd19 https://github.com/numpy/numpy/commit/49427504787e46bc394305901997d629f039fd19 Author: Andrew Dawson Date: 2015-06-19 (Fri, 19 Jun 2015) Changed paths: M numpy/polynomial/legendre.py Log Message: ----------- ENH: Take advantage of symmetry in leggauss. The calculation of points and weights for Gauss-Legendre quadrature can take advantage of the symmetry of the companion matrix when computing its eigenvalues in order to speed up the computation. Commit: 0514d31299318bfa4c87abbfea6424eebaeec188 https://github.com/numpy/numpy/commit/0514d31299318bfa4c87abbfea6424eebaeec188 Author: argriffing Date: 2015-06-19 (Fri, 19 Jun 2015) Changed paths: M numpy/polynomial/legendre.py Log Message: ----------- Merge pull request #5985 from ajdawson/lgauss-sym ENH: Take advantage of symmetry in leggauss. Compare: https://github.com/numpy/numpy/compare/a9695eec20c0...0514d3129931 From noreply at github.com Fri Jun 19 21:58:06 2015 From: noreply at github.com (GitHub) Date: Fri, 19 Jun 2015 18:58:06 -0700 Subject: [Numpy-svn] [numpy/numpy] 5035da: MAINT: notice that eigvalsh returns a sorted array Message-ID: <5584c8ae47271_637c3f931018d2a034476@hookshot-fe6-cp1-prd.iad.github.net.mail> Branch: refs/heads/master Home: https://github.com/numpy/numpy Commit: 5035da745cff7b7a5c40e7801c4e17b8355ee36d https://github.com/numpy/numpy/commit/5035da745cff7b7a5c40e7801c4e17b8355ee36d Author: alex Date: 2015-06-19 (Fri, 19 Jun 2015) Changed paths: M numpy/linalg/linalg.py M numpy/linalg/tests/test_linalg.py Log Message: ----------- MAINT: notice that eigvalsh returns a sorted array Commit: 52c8285f2603da718fa00d76de528d035c624dc9 https://github.com/numpy/numpy/commit/52c8285f2603da718fa00d76de528d035c624dc9 Author: Charles Harris Date: 2015-06-19 (Fri, 19 Jun 2015) Changed paths: M numpy/linalg/linalg.py M numpy/linalg/tests/test_linalg.py Log Message: ----------- Merge pull request #5988 from argriffing/eigvalsh-ordering-update MAINT: notice that eigvalsh returns a sorted array Compare: https://github.com/numpy/numpy/compare/0514d3129931...52c8285f2603 From noreply at github.com Fri Jun 19 22:53:56 2015 From: noreply at github.com (GitHub) Date: Fri, 19 Jun 2015 19:53:56 -0700 Subject: [Numpy-svn] [numpy/numpy] 1f79ad: MAINT: improve laguerre and legendre efficiency Message-ID: <5584d5c46c847_5f6f3f965607b29c83526@hookshot-fe1-cp1-prd.iad.github.net.mail> Branch: refs/heads/master Home: https://github.com/numpy/numpy Commit: 1f79addc9d546690984896fc4a35298aab289ba5 https://github.com/numpy/numpy/commit/1f79addc9d546690984896fc4a35298aab289ba5 Author: alex Date: 2015-06-19 (Fri, 19 Jun 2015) Changed paths: M numpy/polynomial/laguerre.py M numpy/polynomial/legendre.py Log Message: ----------- MAINT: improve laguerre and legendre efficiency Commit: 95b2c24820759397695ece5f512e930e7c1712cf https://github.com/numpy/numpy/commit/95b2c24820759397695ece5f512e930e7c1712cf Author: Charles Harris Date: 2015-06-19 (Fri, 19 Jun 2015) Changed paths: M numpy/polynomial/laguerre.py M numpy/polynomial/legendre.py Log Message: ----------- Merge pull request #5989 from argriffing/polynomial-improvements MAINT: improve laguerre and legendre efficiency Compare: https://github.com/numpy/numpy/compare/52c8285f2603...95b2c2482075 From noreply at github.com Sun Jun 21 16:10:25 2015 From: noreply at github.com (GitHub) Date: Sun, 21 Jun 2015 13:10:25 -0700 Subject: [Numpy-svn] [numpy/numpy] 5b8ec8: DEP, MAINT: Remove deprecated functions from npy_3k... Message-ID: <55871a318bee5_87e3ff41a3bd2bc425ce@hookshot-fe2-cp1-prd.iad.github.net.mail> Branch: refs/heads/master Home: https://github.com/numpy/numpy Commit: 5b8ec8915ef5e2fa58824411be4ea1e17736d08a https://github.com/numpy/numpy/commit/5b8ec8915ef5e2fa58824411be4ea1e17736d08a Author: Charles Harris Date: 2015-06-21 (Sun, 21 Jun 2015) Changed paths: M doc/release/1.10.0-notes.rst M numpy/core/include/numpy/npy_3kcompat.h Log Message: ----------- DEP,MAINT: Remove deprecated functions from npy_3kcompat.h These functions npy_PyFile_Dup and npy_PyFile_DupClose do not work correctly in Python 3. Deprecation messages have been raised in npy_PyFile_Dup since 1.9 and it is probably best to smoke out any remaining uses by simply removing the function. Commit: f6861923209df65d9c4253368061072eda67ea77 https://github.com/numpy/numpy/commit/f6861923209df65d9c4253368061072eda67ea77 Author: Charles Harris Date: 2015-06-21 (Sun, 21 Jun 2015) Changed paths: M doc/release/1.10.0-notes.rst M numpy/core/src/multiarray/multiarraymodule.c M numpy/core/tests/test_shape_base.py Log Message: ----------- DEP,MAINT: Raise IndexError if axis != 0 when concatenating 1-D arrays. This was deprecated in NumPy 1.7 with a warning that it would raise an error in the future. Tests for the new error are added and the test that allowed that special case is removed. Commit: 505b0f4c11acb1ade1e91f1360ffa6a33cbd0b51 https://github.com/numpy/numpy/commit/505b0f4c11acb1ade1e91f1360ffa6a33cbd0b51 Author: Charles Harris Date: 2015-06-21 (Sun, 21 Jun 2015) Changed paths: M numpy/_import_tools.py M numpy/core/arrayprint.py M numpy/core/fromnumeric.py M numpy/core/numeric.py M numpy/core/src/multiarray/arrayobject.c M numpy/core/src/multiarray/conversion_utils.c M numpy/core/src/multiarray/ctors.c M numpy/core/src/multiarray/descriptor.c M numpy/core/src/multiarray/item_selection.c M numpy/core/src/multiarray/mapping.c M numpy/core/src/multiarray/multiarraymodule.c M numpy/core/src/multiarray/nditer_constr.c M numpy/core/src/multiarray/number.c M numpy/core/src/umath/loops.c.src M numpy/core/src/umath/ufunc_type_resolution.c M numpy/distutils/command/config.py M numpy/distutils/exec_command.py M numpy/lib/function_base.py M numpy/lib/npyio.py M numpy/lib/utils.py M numpy/linalg/linalg.py M numpy/ma/extras.py Log Message: ----------- MAINT: Mark deprecation warning with a date and Numpy version. This is to make it easier to find and remove deprecated features. It would be a good idea if all deprecations were made with similar comments. Commit: 81788b45e383d2f6494cf3daadbd7fb6bfc550b1 https://github.com/numpy/numpy/commit/81788b45e383d2f6494cf3daadbd7fb6bfc550b1 Author: Charles Harris Date: 2015-06-21 (Sun, 21 Jun 2015) Changed paths: M numpy/core/src/umath/ufunc_type_resolution.c M numpy/core/tests/test_deprecations.py Log Message: ----------- BUG: Fix wrong deprecation message for logical unary '-' operator. Commit: 16f1622afa6be491a17c8b21f6fec30c2de4d752 https://github.com/numpy/numpy/commit/16f1622afa6be491a17c8b21f6fec30c2de4d752 Author: Charles Harris Date: 2015-06-21 (Sun, 21 Jun 2015) Changed paths: M doc/release/1.10.0-notes.rst M numpy/distutils/exec_command.py Log Message: ----------- DEP,MAINT: Remove deprecated splitcmdline. Was in numpy/distutils/exec_command.py. Update 1.10-notes.rst. Commit: 3ed8030a2aa2f51a158fdec36a038a927ddb14b4 https://github.com/numpy/numpy/commit/3ed8030a2aa2f51a158fdec36a038a927ddb14b4 Author: Charles Harris Date: 2015-06-21 (Sun, 21 Jun 2015) Changed paths: M doc/release/1.10.0-notes.rst M numpy/distutils/command/config.py Log Message: ----------- DEP,MAINT: Remove try_run and get_output. Deprecated functions in numpy/distutils/command/config.py. Commit: e1693d4ee1833eb0c07269da78712d529e71d943 https://github.com/numpy/numpy/commit/e1693d4ee1833eb0c07269da78712d529e71d943 Author: Charles Harris Date: 2015-06-21 (Sun, 21 Jun 2015) Changed paths: M doc/release/1.10.0-notes.rst M numpy/core/arrayprint.py Log Message: ----------- DEP,MAINT: Remove support for a._format array printing. Deprecated, removed from numpy/core/arrayprint.py. Commit: e22ae7421cfc65547b9e9e2dd7d296ca9d655efa https://github.com/numpy/numpy/commit/e22ae7421cfc65547b9e9e2dd7d296ca9d655efa Author: Charles Harris Date: 2015-06-21 (Sun, 21 Jun 2015) Changed paths: M doc/release/1.10.0-notes.rst Log Message: ----------- MAINT: Rearrange 1.10-notes a bit. Commit: a27f56069fb883c44dd4986d15e751162d85b621 https://github.com/numpy/numpy/commit/a27f56069fb883c44dd4986d15e751162d85b621 Author: Charles Harris Date: 2015-06-21 (Sun, 21 Jun 2015) Changed paths: M numpy/core/numeric.py M numpy/lib/npyio.py Log Message: ----------- DEP: Add notes to some deprecations. Some keywords are deprecated and slated for removal in numpy 2.0. Add comment to deprecation date to clarify that. Commit: e3b2bc0b0f31482cd112660393245116ae55ecbf https://github.com/numpy/numpy/commit/e3b2bc0b0f31482cd112660393245116ae55ecbf Author: Charles Harris Date: 2015-06-21 (Sun, 21 Jun 2015) Changed paths: M doc/release/1.10.0-notes.rst M numpy/_import_tools.py M numpy/core/arrayprint.py M numpy/core/fromnumeric.py M numpy/core/include/numpy/npy_3kcompat.h M numpy/core/numeric.py M numpy/core/src/multiarray/arrayobject.c M numpy/core/src/multiarray/conversion_utils.c M numpy/core/src/multiarray/ctors.c M numpy/core/src/multiarray/descriptor.c M numpy/core/src/multiarray/item_selection.c M numpy/core/src/multiarray/mapping.c M numpy/core/src/multiarray/multiarraymodule.c M numpy/core/src/multiarray/nditer_constr.c M numpy/core/src/multiarray/number.c M numpy/core/src/umath/loops.c.src M numpy/core/src/umath/ufunc_type_resolution.c M numpy/core/tests/test_deprecations.py M numpy/core/tests/test_shape_base.py M numpy/distutils/command/config.py M numpy/distutils/exec_command.py M numpy/lib/function_base.py M numpy/lib/npyio.py M numpy/lib/utils.py M numpy/linalg/linalg.py M numpy/ma/extras.py Log Message: ----------- Merge pull request #5990 from charris/1.10-deprecated-removal 1.10 deprecated removal Compare: https://github.com/numpy/numpy/compare/95b2c2482075...e3b2bc0b0f31 From noreply at github.com Sun Jun 21 16:59:03 2015 From: noreply at github.com (GitHub) Date: Sun, 21 Jun 2015 13:59:03 -0700 Subject: [Numpy-svn] [numpy/numpy] 81d53e: ENH: Add a norm keyword and tests for fft transfor... Message-ID: <55872597a05d5_acd3fb8011332bc819b7@hookshot-fe6-cp1-prd.iad.github.net.mail> Branch: refs/heads/master Home: https://github.com/numpy/numpy Commit: 81d53e44a8d503dba3101c1f523008d0a0dde787 https://github.com/numpy/numpy/commit/81d53e44a8d503dba3101c1f523008d0a0dde787 Author: Joseph Martinot-Lagarde Date: 2015-06-21 (Sun, 21 Jun 2015) Changed paths: M doc/release/1.10.0-notes.rst M numpy/fft/fftpack.py M numpy/fft/info.py M numpy/fft/tests/test_fftpack.py Log Message: ----------- ENH: Add a norm keyword and tests for fft transforms Commit: 106ece89b282c6b4dfdcf14a7740bdc06e16a8b8 https://github.com/numpy/numpy/commit/106ece89b282c6b4dfdcf14a7740bdc06e16a8b8 Author: Charles Harris Date: 2015-06-21 (Sun, 21 Jun 2015) Changed paths: M doc/release/1.10.0-notes.rst M numpy/fft/fftpack.py M numpy/fft/info.py M numpy/fft/tests/test_fftpack.py Log Message: ----------- Merge pull request #5992 from charris/add-norm-keyword-to-fft-functions ENH: Add a norm keyword and tests for fft transforms Compare: https://github.com/numpy/numpy/compare/e3b2bc0b0f31...106ece89b282 From noreply at github.com Sun Jun 21 16:59:50 2015 From: noreply at github.com (GitHub) Date: Sun, 21 Jun 2015 13:59:50 -0700 Subject: [Numpy-svn] [numpy/numpy] ec4e91: DEP, MAINT: Remove keywords "skiprows" and "missing... Message-ID: <558725c6ecf46_b1e3fe2735a329c392e9@hookshot-fe1-cp1-prd.iad.github.net.mail> Branch: refs/heads/master Home: https://github.com/numpy/numpy Commit: ec4e91b08f52b19b9c87f6020cac99027023038b https://github.com/numpy/numpy/commit/ec4e91b08f52b19b9c87f6020cac99027023038b Author: Charles Harris Date: 2015-06-21 (Sun, 21 Jun 2015) Changed paths: M doc/release/1.10.0-notes.rst M numpy/lib/npyio.py Log Message: ----------- DEP,MAINT: Remove keywords "skiprows" and "missing" from genfromtxt. Deprecated in NumPy 1.5. If this causes problems in the 1.10 release cycle the change can be reverted. Commit: bac2fdf7c02b4bc07b9c05dbb6551004903279ca https://github.com/numpy/numpy/commit/bac2fdf7c02b4bc07b9c05dbb6551004903279ca Author: Charles Harris Date: 2015-06-21 (Sun, 21 Jun 2015) Changed paths: M doc/release/1.10.0-notes.rst M numpy/core/numeric.py M numpy/core/tests/test_numeric.py Log Message: ----------- DEP,MAINT: Remove old_behavior keyword from numeric.correlate. Risky perhaps. The old correlate behavior was deprecated in NumPy 1.4 and the default behavior changed to the new (standard) version in 1.5. The old function, with slightly different signature, is still available in numpy.core.multiarray.correlate. If this causes problems in the 1.10 release process, this commit can be reverted. Commit: 0bf3045acfc314a3eba486505aec8e860c04fd8c https://github.com/numpy/numpy/commit/0bf3045acfc314a3eba486505aec8e860c04fd8c Author: Charles Harris Date: 2015-06-21 (Sun, 21 Jun 2015) Changed paths: M doc/release/1.10.0-notes.rst M numpy/core/numeric.py M numpy/core/tests/test_numeric.py M numpy/lib/npyio.py Log Message: ----------- Merge pull request #5991 from charris/1.10-deprecated-removal-risky 1.10 deprecated removal risky Compare: https://github.com/numpy/numpy/compare/106ece89b282...0bf3045acfc3 From noreply at github.com Sun Jun 21 17:12:35 2015 From: noreply at github.com (GitHub) Date: Sun, 21 Jun 2015 14:12:35 -0700 Subject: [Numpy-svn] [numpy/numpy] 960d23: MAINT: make runtests.py --python and --ipython a l... Message-ID: <558728c3734d9_6293faac6e0729c27659@hookshot-fe1-cp1-prd.iad.github.net.mail> Branch: refs/heads/master Home: https://github.com/numpy/numpy Commit: 960d234ef342c6eafa532cba5e17ca86d1995360 https://github.com/numpy/numpy/commit/960d234ef342c6eafa532cba5e17ca86d1995360 Author: Nathaniel J. Smith Date: 2015-05-15 (Fri, 15 May 2015) Changed paths: M runtests.py Log Message: ----------- MAINT: make runtests.py --python and --ipython a little more ergonomic I'm tired of having to manually enable warnings and import numpy, so maybe others are too. Commit: 23e6b74a74857136a0fd2919f4d37da370d55ec4 https://github.com/numpy/numpy/commit/23e6b74a74857136a0fd2919f4d37da370d55ec4 Author: Ralf Gommers Date: 2015-06-21 (Sun, 21 Jun 2015) Changed paths: M runtests.py Log Message: ----------- Merge pull request #5882 from njsmith/runtests-tweak MAINT: make runtests.py --python and --ipython a little more ergonomic Compare: https://github.com/numpy/numpy/compare/0bf3045acfc3...23e6b74a7485 From noreply at github.com Sun Jun 21 18:07:09 2015 From: noreply at github.com (GitHub) Date: Sun, 21 Jun 2015 15:07:09 -0700 Subject: [Numpy-svn] [numpy/numpy] 4e5545: DOC: Update docs. Message-ID: <5587358dd5790_e533ff6166ff29c1849@hookshot-fe2-cp1-prd.iad.github.net.mail> Branch: refs/heads/master Home: https://github.com/numpy/numpy Commit: 4e5545f0bcc654fb0c6752dcf72120e6e7340d28 https://github.com/numpy/numpy/commit/4e5545f0bcc654fb0c6752dcf72120e6e7340d28 Author: Gabor Kovacs Date: 2015-06-21 (Sun, 21 Jun 2015) Changed paths: M doc/source/reference/arrays.indexing.rst M numpy/add_newdocs.py M numpy/core/fromnumeric.py M numpy/core/memmap.py M numpy/core/numeric.py M numpy/core/records.py M numpy/doc/indexing.py M numpy/lib/function_base.py M numpy/matlib.py Log Message: ----------- DOC: Update docs. Update docs for boolean array indexing and nonzero order. Add links to row-major and column-major terms where they appear. Closes #3177 Commit: f0c898b6017cc011561d7f1e611e08283ecfdb08 https://github.com/numpy/numpy/commit/f0c898b6017cc011561d7f1e611e08283ecfdb08 Author: Charles Harris Date: 2015-06-21 (Sun, 21 Jun 2015) Changed paths: M doc/source/reference/arrays.indexing.rst M numpy/add_newdocs.py M numpy/core/fromnumeric.py M numpy/core/memmap.py M numpy/core/numeric.py M numpy/core/records.py M numpy/doc/indexing.py M numpy/lib/function_base.py M numpy/matlib.py Log Message: ----------- Merge pull request #5490 from charris/cleanup-gh-4986 DOC: Update indexing docs. Compare: https://github.com/numpy/numpy/compare/23e6b74a7485...f0c898b6017c From noreply at github.com Mon Jun 22 01:35:27 2015 From: noreply at github.com (GitHub) Date: Sun, 21 Jun 2015 22:35:27 -0700 Subject: [Numpy-svn] [numpy/numpy] 8b9559: DOC: Fix examples in npyio.py to properly import S... Message-ID: <55879e9fbac86_8b93fc33963d29c377bc@hookshot-fe2-cp1-prd.iad.github.net.mail> Branch: refs/heads/master Home: https://github.com/numpy/numpy Commit: 8b955989a9f4fd6498c669af872732cdaee6c59a https://github.com/numpy/numpy/commit/8b955989a9f4fd6498c669af872732cdaee6c59a Author: Charles Harris Date: 2015-06-21 (Sun, 21 Jun 2015) Changed paths: M numpy/lib/npyio.py Log Message: ----------- DOC: Fix examples in npyio.py to properly import StringIO. In two places they were doing >>> from StringIO import StringIO Since Python 2.6 that should be >>> from io import StringIO Closes #5995. Commit: a43e86b0d9d567c7abb9478d5bff90905d3f70ec https://github.com/numpy/numpy/commit/a43e86b0d9d567c7abb9478d5bff90905d3f70ec Author: Ralf Gommers Date: 2015-06-22 (Mon, 22 Jun 2015) Changed paths: M numpy/lib/npyio.py Log Message: ----------- Merge pull request #5999 from charris/fix-loadtxt-example DOC: Fix examples in npyio.py to properly import StringIO. Compare: https://github.com/numpy/numpy/compare/f0c898b6017c...a43e86b0d9d5 From noreply at github.com Mon Jun 22 13:44:35 2015 From: noreply at github.com (GitHub) Date: Mon, 22 Jun 2015 10:44:35 -0700 Subject: [Numpy-svn] [numpy/numpy] 157e39: BUG: np.float16 not recognized in np.common_type Message-ID: <558849834d1f6_369e3fce4f13529c1110ab@hookshot-fe1-cp1-prd.iad.github.net.mail> Branch: refs/heads/master Home: https://github.com/numpy/numpy Commit: 157e396673c4992e97a522dd9f350b480c4cb6c6 https://github.com/numpy/numpy/commit/157e396673c4992e97a522dd9f350b480c4cb6c6 Author: Marten van Kerkwijk Date: 2015-06-22 (Mon, 22 Jun 2015) Changed paths: M numpy/lib/tests/test_type_check.py M numpy/lib/type_check.py Log Message: ----------- BUG: np.float16 not recognized in np.common_type Commit: d2d1dd5accbd6bbd5a2d8f3fac0dbfc6fb9b4e18 https://github.com/numpy/numpy/commit/d2d1dd5accbd6bbd5a2d8f3fac0dbfc6fb9b4e18 Author: Charles Harris Date: 2015-06-22 (Mon, 22 Jun 2015) Changed paths: M numpy/lib/tests/test_type_check.py M numpy/lib/type_check.py Log Message: ----------- Merge pull request #6004 from mhvk/lib-type-check-float16 BUG: np.float16 not recognized in np.common_type Compare: https://github.com/numpy/numpy/compare/a43e86b0d9d5...d2d1dd5accbd From noreply at github.com Mon Jun 22 14:39:48 2015 From: noreply at github.com (GitHub) Date: Mon, 22 Jun 2015 11:39:48 -0700 Subject: [Numpy-svn] [numpy/numpy] bec344: MAINT: eigenvalues returned by eigh are ascending Message-ID: <5588567430cd5_7a7a3f93bbe3329c996eb@hookshot-fe3-cp1-prd.iad.github.net.mail> Branch: refs/heads/master Home: https://github.com/numpy/numpy Commit: bec3440743e119a0cda7adf5d4b8ea1c350e0a6f https://github.com/numpy/numpy/commit/bec3440743e119a0cda7adf5d4b8ea1c350e0a6f Author: alex Date: 2015-06-22 (Mon, 22 Jun 2015) Changed paths: M numpy/linalg/linalg.py M numpy/linalg/tests/test_linalg.py Log Message: ----------- MAINT: eigenvalues returned by eigh are ascending Commit: b5bbb64cabb305b284e124bd60948bbbbfcac43c https://github.com/numpy/numpy/commit/b5bbb64cabb305b284e124bd60948bbbbfcac43c Author: alex Date: 2015-06-22 (Mon, 22 Jun 2015) Changed paths: M numpy/linalg/linalg.py Log Message: ----------- DOC: docstring typos _ssyevd -> _syevd Commit: 10c9091ad8ca3b44e4fb03656e14091a3d9cf763 https://github.com/numpy/numpy/commit/10c9091ad8ca3b44e4fb03656e14091a3d9cf763 Author: Charles Harris Date: 2015-06-22 (Mon, 22 Jun 2015) Changed paths: M numpy/linalg/linalg.py M numpy/linalg/tests/test_linalg.py Log Message: ----------- Merge pull request #6003 from argriffing/eigh-ascending-eigenvalues MAINT: eigenvalues returned by eigh are ascending Compare: https://github.com/numpy/numpy/compare/d2d1dd5accbd...10c9091ad8ca From noreply at github.com Mon Jun 22 15:09:44 2015 From: noreply at github.com (GitHub) Date: Mon, 22 Jun 2015 12:09:44 -0700 Subject: [Numpy-svn] [numpy/numpy] 39b7b0: MAINT: Update version info for Numpy 1.10. Message-ID: <55885d783f4b4_1f103fa8941e72c0925f9@hookshot-fe5-cp1-prd.iad.github.net.mail> Branch: refs/heads/master Home: https://github.com/numpy/numpy Commit: 39b7b08c781d707eedbd7f7dfe2e7c8af614c16d https://github.com/numpy/numpy/commit/39b7b08c781d707eedbd7f7dfe2e7c8af614c16d Author: Charles Harris Date: 2015-06-22 (Mon, 22 Jun 2015) Changed paths: M doc/HOWTO_RELEASE.rst.txt M numpy/core/code_generators/cversions.txt M numpy/core/include/numpy/numpyconfig.h M numpy/core/setup_common.py Log Message: ----------- MAINT: Update version info for Numpy 1.10. Update version hash in numpy/core/code_generators/cversions.txt. Update API version in numpy/core/setup_common.py Update API version in numpy/core/include/numpy/numpyconfig.h Commit: 81c2c16f3218c879f5bfeacd80f237336e56584d https://github.com/numpy/numpy/commit/81c2c16f3218c879f5bfeacd80f237336e56584d Author: Ralf Gommers Date: 2015-06-22 (Mon, 22 Jun 2015) Changed paths: M doc/HOWTO_RELEASE.rst.txt M numpy/core/code_generators/cversions.txt M numpy/core/include/numpy/numpyconfig.h M numpy/core/setup_common.py Log Message: ----------- Merge pull request #5998 from charris/update-version-hash MAINT: Update version info for Numpy 1.10. Compare: https://github.com/numpy/numpy/compare/10c9091ad8ca...81c2c16f3218 From noreply at github.com Mon Jun 22 19:44:56 2015 From: noreply at github.com (GitHub) Date: Mon, 22 Jun 2015 16:44:56 -0700 Subject: [Numpy-svn] [numpy/numpy] eef0e0: BUG: Fixed slicing of chararrays on Python 3. Message-ID: <55889df857808_2eb53fc669a612a0117377@hookshot-fe1-cp1-prd.iad.github.net.mail> Branch: refs/heads/master Home: https://github.com/numpy/numpy Commit: eef0e0ead3107d45c940480a40f66b7077f190bb https://github.com/numpy/numpy/commit/eef0e0ead3107d45c940480a40f66b7077f190bb Author: Erik M. Bray Date: 2015-06-22 (Mon, 22 Jun 2015) Changed paths: M numpy/core/defchararray.py M numpy/core/tests/test_defchararray.py Log Message: ----------- BUG: Fixed slicing of chararrays on Python 3. When taking a slice of a chararray it was calling the rstrip() method on the resulting slice, resulting in a new array rather than a view of the original. This was an unintended consequence of the sq_slice member of the tp_as_sequence mapping being ignored in Python 3, so that slice lookups go directly through __getitem__. Fix test_expandtabs to not make the assumption that rstrip() will be applied twice to a value when using T[x][y] style indexing. Commit: 320667d42b1d56f12d911dfcee05fc264d9d6edb https://github.com/numpy/numpy/commit/320667d42b1d56f12d911dfcee05fc264d9d6edb Author: Charles Harris Date: 2015-06-22 (Mon, 22 Jun 2015) Changed paths: M numpy/core/defchararray.py M numpy/core/tests/test_defchararray.py Log Message: ----------- Merge pull request #5982 from embray/fix-chararray-slice BUG: Fixed slicing of chararrays on Python 3. Compare: https://github.com/numpy/numpy/compare/81c2c16f3218...320667d42b1d From noreply at github.com Mon Jun 22 21:26:33 2015 From: noreply at github.com (GitHub) Date: Mon, 22 Jun 2015 18:26:33 -0700 Subject: [Numpy-svn] [numpy/numpy] a320fd: BUG: Added proper handling of median and percentil... Message-ID: <5588b5c91b122_15f73fd1a062729c7424e@hookshot-fe6-cp1-prd.iad.github.net.mail> Branch: refs/heads/master Home: https://github.com/numpy/numpy Commit: a320fd772468004a53f7c448ae47032eb1b5c5df https://github.com/numpy/numpy/commit/a320fd772468004a53f7c448ae47032eb1b5c5df Author: empeeu Date: 2015-06-22 (Mon, 22 Jun 2015) Changed paths: M doc/release/1.10.0-notes.rst M numpy/lib/function_base.py M numpy/lib/tests/test_function_base.py Log Message: ----------- BUG: Added proper handling of median and percentile when nan's are present in array to close issue #586. Also added unit tests. Commit: 3e82d6db99bc9e32a6f6bcb63cbfccbaa1168a74 https://github.com/numpy/numpy/commit/3e82d6db99bc9e32a6f6bcb63cbfccbaa1168a74 Author: empeeu Date: 2015-06-22 (Mon, 22 Jun 2015) Changed paths: M numpy/lib/function_base.py Log Message: ----------- Moving warning outside of for loop. Commit: f5d3d96b3b48ba8b8d15a09334491f3f19804693 https://github.com/numpy/numpy/commit/f5d3d96b3b48ba8b8d15a09334491f3f19804693 Author: empeeu Date: 2015-06-22 (Mon, 22 Jun 2015) Changed paths: M numpy/lib/tests/test_function_base.py Log Message: ----------- Updating unit tests for removed warning. Commit: e4ab83050f3f64554726b9c5fd794e5535ab77ff https://github.com/numpy/numpy/commit/e4ab83050f3f64554726b9c5fd794e5535ab77ff Author: Julian Taylor Date: 2015-06-23 (Tue, 23 Jun 2015) Changed paths: M doc/release/1.10.0-notes.rst M numpy/lib/function_base.py M numpy/lib/tests/test_function_base.py Log Message: ----------- Merge pull request #5753 from empeeu/percentile-nan BUG: Added proper handling of median and percentile when nan's are prese... Compare: https://github.com/numpy/numpy/compare/320667d42b1d...e4ab83050f3f From noreply at github.com Mon Jun 22 22:47:23 2015 From: noreply at github.com (GitHub) Date: Mon, 22 Jun 2015 19:47:23 -0700 Subject: [Numpy-svn] [numpy/numpy] 592e40: MAINT: fix two Wpedantic warnings in public header Message-ID: <5588c8bb6f545_7d13f8e6fa712b878828@hookshot-fe3-cp1-prd.iad.github.net.mail> Branch: refs/heads/auto Home: https://github.com/numpy/numpy Commit: 592e404b7406c0d3c9db568f737e9c96b3736f3a https://github.com/numpy/numpy/commit/592e404b7406c0d3c9db568f737e9c96b3736f3a Author: Julian Taylor Date: 2015-06-23 (Tue, 23 Jun 2015) Changed paths: M numpy/core/include/numpy/ndarraytypes.h Log Message: ----------- MAINT: fix two Wpedantic warnings in public header Commit: 3d2b8ca9bcbdbc9e835cb3f8d56c2d93a67b00aa https://github.com/numpy/numpy/commit/3d2b8ca9bcbdbc9e835cb3f8d56c2d93a67b00aa Author: Homu Date: 2015-06-23 (Tue, 23 Jun 2015) Changed paths: M numpy/core/include/numpy/ndarraytypes.h Log Message: ----------- Auto merge of #6009 - juliantaylor:pedantic, r=njsmith MAINT: fix two Wpedantic warnings in public header Wpedantic is to strict to be really useful generally, but our public headers at least should avoid easy to avoid warnings for projects that do use this flag. Compare: https://github.com/numpy/numpy/compare/e4ab83050f3f...3d2b8ca9bcbd From noreply at github.com Mon Jun 22 22:47:24 2015 From: noreply at github.com (GitHub) Date: Mon, 22 Jun 2015 19:47:24 -0700 Subject: [Numpy-svn] [numpy/numpy] 960d23: MAINT: make runtests.py --python and --ipython a l... Message-ID: <5588c8bcbe557_1a003f8196ea92bc126376@hookshot-fe5-cp1-prd.iad.github.net.mail> Branch: refs/heads/auto Home: https://github.com/numpy/numpy Commit: 960d234ef342c6eafa532cba5e17ca86d1995360 https://github.com/numpy/numpy/commit/960d234ef342c6eafa532cba5e17ca86d1995360 Author: Nathaniel J. Smith Date: 2015-05-15 (Fri, 15 May 2015) Changed paths: M runtests.py Log Message: ----------- MAINT: make runtests.py --python and --ipython a little more ergonomic I'm tired of having to manually enable warnings and import numpy, so maybe others are too. Commit: 49427504787e46bc394305901997d629f039fd19 https://github.com/numpy/numpy/commit/49427504787e46bc394305901997d629f039fd19 Author: Andrew Dawson Date: 2015-06-19 (Fri, 19 Jun 2015) Changed paths: M numpy/polynomial/legendre.py Log Message: ----------- ENH: Take advantage of symmetry in leggauss. The calculation of points and weights for Gauss-Legendre quadrature can take advantage of the symmetry of the companion matrix when computing its eigenvalues in order to speed up the computation. Commit: a93b86217e9ff8cc1060aaf362cd682b518cfb7b https://github.com/numpy/numpy/commit/a93b86217e9ff8cc1060aaf362cd682b518cfb7b Author: Allan Haldane Date: 2015-06-19 (Fri, 19 Jun 2015) Changed paths: M doc/release/1.10.0-notes.rst M doc/source/reference/arrays.dtypes.rst M numpy/core/records.py M numpy/core/tests/test_records.py M numpy/doc/structured_arrays.py M numpy/ma/core.py M numpy/ma/tests/test_core.py Log Message: ----------- BUG: automatically convert recarray dtype to np.record Viewing an ndarray as a np.recarray now automatically converts the dtype to np.record. This commit also fixes assignment to MaskedArray's dtype attribute, fixes the repr of recarrays with non-structured dtype, and removes recarray.view so that viewing a recarray as a non-structured dtype no longer converts to ndarray type. Fixes #3581 Commit: 14a28bd8e7eb1f99e570cd2903d955c6b9d0038e https://github.com/numpy/numpy/commit/14a28bd8e7eb1f99e570cd2903d955c6b9d0038e Author: alex Date: 2015-06-19 (Fri, 19 Jun 2015) Changed paths: M numpy/linalg/linalg.py Log Message: ----------- DOC: update eigvalsh docstring example Commit: e42bea5f09b7056d37217c26efd9008bc7ff380a https://github.com/numpy/numpy/commit/e42bea5f09b7056d37217c26efd9008bc7ff380a Author: Charles Harris Date: 2015-06-19 (Fri, 19 Jun 2015) Changed paths: M doc/release/1.10.0-notes.rst M doc/source/reference/arrays.dtypes.rst M numpy/core/records.py M numpy/core/tests/test_records.py M numpy/doc/structured_arrays.py M numpy/ma/core.py M numpy/ma/tests/test_core.py Log Message: ----------- Merge pull request #5943 from ahaldane/record_finalize BUG: automatically convert recarray dtype to np.record Commit: a9695eec20c029d8d64f0e7162f7947b6c3589a5 https://github.com/numpy/numpy/commit/a9695eec20c029d8d64f0e7162f7947b6c3589a5 Author: Charles Harris Date: 2015-06-19 (Fri, 19 Jun 2015) Changed paths: M numpy/linalg/linalg.py Log Message: ----------- Merge pull request #5987 from argriffing/eighvalsh-docs DOC: update eigvalsh docstring example Commit: 5035da745cff7b7a5c40e7801c4e17b8355ee36d https://github.com/numpy/numpy/commit/5035da745cff7b7a5c40e7801c4e17b8355ee36d Author: alex Date: 2015-06-19 (Fri, 19 Jun 2015) Changed paths: M numpy/linalg/linalg.py M numpy/linalg/tests/test_linalg.py Log Message: ----------- MAINT: notice that eigvalsh returns a sorted array Commit: 0514d31299318bfa4c87abbfea6424eebaeec188 https://github.com/numpy/numpy/commit/0514d31299318bfa4c87abbfea6424eebaeec188 Author: argriffing Date: 2015-06-19 (Fri, 19 Jun 2015) Changed paths: M numpy/polynomial/legendre.py Log Message: ----------- Merge pull request #5985 from ajdawson/lgauss-sym ENH: Take advantage of symmetry in leggauss. Commit: 1f79addc9d546690984896fc4a35298aab289ba5 https://github.com/numpy/numpy/commit/1f79addc9d546690984896fc4a35298aab289ba5 Author: alex Date: 2015-06-19 (Fri, 19 Jun 2015) Changed paths: M numpy/polynomial/laguerre.py M numpy/polynomial/legendre.py Log Message: ----------- MAINT: improve laguerre and legendre efficiency Commit: 52c8285f2603da718fa00d76de528d035c624dc9 https://github.com/numpy/numpy/commit/52c8285f2603da718fa00d76de528d035c624dc9 Author: Charles Harris Date: 2015-06-19 (Fri, 19 Jun 2015) Changed paths: M numpy/linalg/linalg.py M numpy/linalg/tests/test_linalg.py Log Message: ----------- Merge pull request #5988 from argriffing/eigvalsh-ordering-update MAINT: notice that eigvalsh returns a sorted array Commit: 95b2c24820759397695ece5f512e930e7c1712cf https://github.com/numpy/numpy/commit/95b2c24820759397695ece5f512e930e7c1712cf Author: Charles Harris Date: 2015-06-19 (Fri, 19 Jun 2015) Changed paths: M numpy/polynomial/laguerre.py M numpy/polynomial/legendre.py Log Message: ----------- Merge pull request #5989 from argriffing/polynomial-improvements MAINT: improve laguerre and legendre efficiency Commit: 5b8ec8915ef5e2fa58824411be4ea1e17736d08a https://github.com/numpy/numpy/commit/5b8ec8915ef5e2fa58824411be4ea1e17736d08a Author: Charles Harris Date: 2015-06-21 (Sun, 21 Jun 2015) Changed paths: M doc/release/1.10.0-notes.rst M numpy/core/include/numpy/npy_3kcompat.h Log Message: ----------- DEP,MAINT: Remove deprecated functions from npy_3kcompat.h These functions npy_PyFile_Dup and npy_PyFile_DupClose do not work correctly in Python 3. Deprecation messages have been raised in npy_PyFile_Dup since 1.9 and it is probably best to smoke out any remaining uses by simply removing the function. Commit: f6861923209df65d9c4253368061072eda67ea77 https://github.com/numpy/numpy/commit/f6861923209df65d9c4253368061072eda67ea77 Author: Charles Harris Date: 2015-06-21 (Sun, 21 Jun 2015) Changed paths: M doc/release/1.10.0-notes.rst M numpy/core/src/multiarray/multiarraymodule.c M numpy/core/tests/test_shape_base.py Log Message: ----------- DEP,MAINT: Raise IndexError if axis != 0 when concatenating 1-D arrays. This was deprecated in NumPy 1.7 with a warning that it would raise an error in the future. Tests for the new error are added and the test that allowed that special case is removed. Commit: 505b0f4c11acb1ade1e91f1360ffa6a33cbd0b51 https://github.com/numpy/numpy/commit/505b0f4c11acb1ade1e91f1360ffa6a33cbd0b51 Author: Charles Harris Date: 2015-06-21 (Sun, 21 Jun 2015) Changed paths: M numpy/_import_tools.py M numpy/core/arrayprint.py M numpy/core/fromnumeric.py M numpy/core/numeric.py M numpy/core/src/multiarray/arrayobject.c M numpy/core/src/multiarray/conversion_utils.c M numpy/core/src/multiarray/ctors.c M numpy/core/src/multiarray/descriptor.c M numpy/core/src/multiarray/item_selection.c M numpy/core/src/multiarray/mapping.c M numpy/core/src/multiarray/multiarraymodule.c M numpy/core/src/multiarray/nditer_constr.c M numpy/core/src/multiarray/number.c M numpy/core/src/umath/loops.c.src M numpy/core/src/umath/ufunc_type_resolution.c M numpy/distutils/command/config.py M numpy/distutils/exec_command.py M numpy/lib/function_base.py M numpy/lib/npyio.py M numpy/lib/utils.py M numpy/linalg/linalg.py M numpy/ma/extras.py Log Message: ----------- MAINT: Mark deprecation warning with a date and Numpy version. This is to make it easier to find and remove deprecated features. It would be a good idea if all deprecations were made with similar comments. Commit: 81788b45e383d2f6494cf3daadbd7fb6bfc550b1 https://github.com/numpy/numpy/commit/81788b45e383d2f6494cf3daadbd7fb6bfc550b1 Author: Charles Harris Date: 2015-06-21 (Sun, 21 Jun 2015) Changed paths: M numpy/core/src/umath/ufunc_type_resolution.c M numpy/core/tests/test_deprecations.py Log Message: ----------- BUG: Fix wrong deprecation message for logical unary '-' operator. Commit: 16f1622afa6be491a17c8b21f6fec30c2de4d752 https://github.com/numpy/numpy/commit/16f1622afa6be491a17c8b21f6fec30c2de4d752 Author: Charles Harris Date: 2015-06-21 (Sun, 21 Jun 2015) Changed paths: M doc/release/1.10.0-notes.rst M numpy/distutils/exec_command.py Log Message: ----------- DEP,MAINT: Remove deprecated splitcmdline. Was in numpy/distutils/exec_command.py. Update 1.10-notes.rst. Commit: 3ed8030a2aa2f51a158fdec36a038a927ddb14b4 https://github.com/numpy/numpy/commit/3ed8030a2aa2f51a158fdec36a038a927ddb14b4 Author: Charles Harris Date: 2015-06-21 (Sun, 21 Jun 2015) Changed paths: M doc/release/1.10.0-notes.rst M numpy/distutils/command/config.py Log Message: ----------- DEP,MAINT: Remove try_run and get_output. Deprecated functions in numpy/distutils/command/config.py. Commit: e1693d4ee1833eb0c07269da78712d529e71d943 https://github.com/numpy/numpy/commit/e1693d4ee1833eb0c07269da78712d529e71d943 Author: Charles Harris Date: 2015-06-21 (Sun, 21 Jun 2015) Changed paths: M doc/release/1.10.0-notes.rst M numpy/core/arrayprint.py Log Message: ----------- DEP,MAINT: Remove support for a._format array printing. Deprecated, removed from numpy/core/arrayprint.py. Commit: e22ae7421cfc65547b9e9e2dd7d296ca9d655efa https://github.com/numpy/numpy/commit/e22ae7421cfc65547b9e9e2dd7d296ca9d655efa Author: Charles Harris Date: 2015-06-21 (Sun, 21 Jun 2015) Changed paths: M doc/release/1.10.0-notes.rst Log Message: ----------- MAINT: Rearrange 1.10-notes a bit. Commit: a27f56069fb883c44dd4986d15e751162d85b621 https://github.com/numpy/numpy/commit/a27f56069fb883c44dd4986d15e751162d85b621 Author: Charles Harris Date: 2015-06-21 (Sun, 21 Jun 2015) Changed paths: M numpy/core/numeric.py M numpy/lib/npyio.py Log Message: ----------- DEP: Add notes to some deprecations. Some keywords are deprecated and slated for removal in numpy 2.0. Add comment to deprecation date to clarify that. Commit: e3b2bc0b0f31482cd112660393245116ae55ecbf https://github.com/numpy/numpy/commit/e3b2bc0b0f31482cd112660393245116ae55ecbf Author: Charles Harris Date: 2015-06-21 (Sun, 21 Jun 2015) Changed paths: M doc/release/1.10.0-notes.rst M numpy/_import_tools.py M numpy/core/arrayprint.py M numpy/core/fromnumeric.py M numpy/core/include/numpy/npy_3kcompat.h M numpy/core/numeric.py M numpy/core/src/multiarray/arrayobject.c M numpy/core/src/multiarray/conversion_utils.c M numpy/core/src/multiarray/ctors.c M numpy/core/src/multiarray/descriptor.c M numpy/core/src/multiarray/item_selection.c M numpy/core/src/multiarray/mapping.c M numpy/core/src/multiarray/multiarraymodule.c M numpy/core/src/multiarray/nditer_constr.c M numpy/core/src/multiarray/number.c M numpy/core/src/umath/loops.c.src M numpy/core/src/umath/ufunc_type_resolution.c M numpy/core/tests/test_deprecations.py M numpy/core/tests/test_shape_base.py M numpy/distutils/command/config.py M numpy/distutils/exec_command.py M numpy/lib/function_base.py M numpy/lib/npyio.py M numpy/lib/utils.py M numpy/linalg/linalg.py M numpy/ma/extras.py Log Message: ----------- Merge pull request #5990 from charris/1.10-deprecated-removal 1.10 deprecated removal Commit: ec4e91b08f52b19b9c87f6020cac99027023038b https://github.com/numpy/numpy/commit/ec4e91b08f52b19b9c87f6020cac99027023038b Author: Charles Harris Date: 2015-06-21 (Sun, 21 Jun 2015) Changed paths: M doc/release/1.10.0-notes.rst M numpy/lib/npyio.py Log Message: ----------- DEP,MAINT: Remove keywords "skiprows" and "missing" from genfromtxt. Deprecated in NumPy 1.5. If this causes problems in the 1.10 release cycle the change can be reverted. Commit: bac2fdf7c02b4bc07b9c05dbb6551004903279ca https://github.com/numpy/numpy/commit/bac2fdf7c02b4bc07b9c05dbb6551004903279ca Author: Charles Harris Date: 2015-06-21 (Sun, 21 Jun 2015) Changed paths: M doc/release/1.10.0-notes.rst M numpy/core/numeric.py M numpy/core/tests/test_numeric.py Log Message: ----------- DEP,MAINT: Remove old_behavior keyword from numeric.correlate. Risky perhaps. The old correlate behavior was deprecated in NumPy 1.4 and the default behavior changed to the new (standard) version in 1.5. The old function, with slightly different signature, is still available in numpy.core.multiarray.correlate. If this causes problems in the 1.10 release process, this commit can be reverted. Commit: 81d53e44a8d503dba3101c1f523008d0a0dde787 https://github.com/numpy/numpy/commit/81d53e44a8d503dba3101c1f523008d0a0dde787 Author: Joseph Martinot-Lagarde Date: 2015-06-21 (Sun, 21 Jun 2015) Changed paths: M doc/release/1.10.0-notes.rst M numpy/fft/fftpack.py M numpy/fft/info.py M numpy/fft/tests/test_fftpack.py Log Message: ----------- ENH: Add a norm keyword and tests for fft transforms Commit: 106ece89b282c6b4dfdcf14a7740bdc06e16a8b8 https://github.com/numpy/numpy/commit/106ece89b282c6b4dfdcf14a7740bdc06e16a8b8 Author: Charles Harris Date: 2015-06-21 (Sun, 21 Jun 2015) Changed paths: M doc/release/1.10.0-notes.rst M numpy/fft/fftpack.py M numpy/fft/info.py M numpy/fft/tests/test_fftpack.py Log Message: ----------- Merge pull request #5992 from charris/add-norm-keyword-to-fft-functions ENH: Add a norm keyword and tests for fft transforms Commit: 0bf3045acfc314a3eba486505aec8e860c04fd8c https://github.com/numpy/numpy/commit/0bf3045acfc314a3eba486505aec8e860c04fd8c Author: Charles Harris Date: 2015-06-21 (Sun, 21 Jun 2015) Changed paths: M doc/release/1.10.0-notes.rst M numpy/core/numeric.py M numpy/core/tests/test_numeric.py M numpy/lib/npyio.py Log Message: ----------- Merge pull request #5991 from charris/1.10-deprecated-removal-risky 1.10 deprecated removal risky Commit: 23e6b74a74857136a0fd2919f4d37da370d55ec4 https://github.com/numpy/numpy/commit/23e6b74a74857136a0fd2919f4d37da370d55ec4 Author: Ralf Gommers Date: 2015-06-21 (Sun, 21 Jun 2015) Changed paths: M runtests.py Log Message: ----------- Merge pull request #5882 from njsmith/runtests-tweak MAINT: make runtests.py --python and --ipython a little more ergonomic Commit: 4e5545f0bcc654fb0c6752dcf72120e6e7340d28 https://github.com/numpy/numpy/commit/4e5545f0bcc654fb0c6752dcf72120e6e7340d28 Author: Gabor Kovacs Date: 2015-06-21 (Sun, 21 Jun 2015) Changed paths: M doc/source/reference/arrays.indexing.rst M numpy/add_newdocs.py M numpy/core/fromnumeric.py M numpy/core/memmap.py M numpy/core/numeric.py M numpy/core/records.py M numpy/doc/indexing.py M numpy/lib/function_base.py M numpy/matlib.py Log Message: ----------- DOC: Update docs. Update docs for boolean array indexing and nonzero order. Add links to row-major and column-major terms where they appear. Closes #3177 Commit: f0c898b6017cc011561d7f1e611e08283ecfdb08 https://github.com/numpy/numpy/commit/f0c898b6017cc011561d7f1e611e08283ecfdb08 Author: Charles Harris Date: 2015-06-21 (Sun, 21 Jun 2015) Changed paths: M doc/source/reference/arrays.indexing.rst M numpy/add_newdocs.py M numpy/core/fromnumeric.py M numpy/core/memmap.py M numpy/core/numeric.py M numpy/core/records.py M numpy/doc/indexing.py M numpy/lib/function_base.py M numpy/matlib.py Log Message: ----------- Merge pull request #5490 from charris/cleanup-gh-4986 DOC: Update indexing docs. Commit: 8b955989a9f4fd6498c669af872732cdaee6c59a https://github.com/numpy/numpy/commit/8b955989a9f4fd6498c669af872732cdaee6c59a Author: Charles Harris Date: 2015-06-21 (Sun, 21 Jun 2015) Changed paths: M numpy/lib/npyio.py Log Message: ----------- DOC: Fix examples in npyio.py to properly import StringIO. In two places they were doing >>> from StringIO import StringIO Since Python 2.6 that should be >>> from io import StringIO Closes #5995. Commit: a43e86b0d9d567c7abb9478d5bff90905d3f70ec https://github.com/numpy/numpy/commit/a43e86b0d9d567c7abb9478d5bff90905d3f70ec Author: Ralf Gommers Date: 2015-06-22 (Mon, 22 Jun 2015) Changed paths: M numpy/lib/npyio.py Log Message: ----------- Merge pull request #5999 from charris/fix-loadtxt-example DOC: Fix examples in npyio.py to properly import StringIO. Commit: bec3440743e119a0cda7adf5d4b8ea1c350e0a6f https://github.com/numpy/numpy/commit/bec3440743e119a0cda7adf5d4b8ea1c350e0a6f Author: alex Date: 2015-06-22 (Mon, 22 Jun 2015) Changed paths: M numpy/linalg/linalg.py M numpy/linalg/tests/test_linalg.py Log Message: ----------- MAINT: eigenvalues returned by eigh are ascending Commit: b5bbb64cabb305b284e124bd60948bbbbfcac43c https://github.com/numpy/numpy/commit/b5bbb64cabb305b284e124bd60948bbbbfcac43c Author: alex Date: 2015-06-22 (Mon, 22 Jun 2015) Changed paths: M numpy/linalg/linalg.py Log Message: ----------- DOC: docstring typos _ssyevd -> _syevd Commit: 157e396673c4992e97a522dd9f350b480c4cb6c6 https://github.com/numpy/numpy/commit/157e396673c4992e97a522dd9f350b480c4cb6c6 Author: Marten van Kerkwijk Date: 2015-06-22 (Mon, 22 Jun 2015) Changed paths: M numpy/lib/tests/test_type_check.py M numpy/lib/type_check.py Log Message: ----------- BUG: np.float16 not recognized in np.common_type Commit: 39b7b08c781d707eedbd7f7dfe2e7c8af614c16d https://github.com/numpy/numpy/commit/39b7b08c781d707eedbd7f7dfe2e7c8af614c16d Author: Charles Harris Date: 2015-06-22 (Mon, 22 Jun 2015) Changed paths: M doc/HOWTO_RELEASE.rst.txt M numpy/core/code_generators/cversions.txt M numpy/core/include/numpy/numpyconfig.h M numpy/core/setup_common.py Log Message: ----------- MAINT: Update version info for Numpy 1.10. Update version hash in numpy/core/code_generators/cversions.txt. Update API version in numpy/core/setup_common.py Update API version in numpy/core/include/numpy/numpyconfig.h Commit: d2d1dd5accbd6bbd5a2d8f3fac0dbfc6fb9b4e18 https://github.com/numpy/numpy/commit/d2d1dd5accbd6bbd5a2d8f3fac0dbfc6fb9b4e18 Author: Charles Harris Date: 2015-06-22 (Mon, 22 Jun 2015) Changed paths: M numpy/lib/tests/test_type_check.py M numpy/lib/type_check.py Log Message: ----------- Merge pull request #6004 from mhvk/lib-type-check-float16 BUG: np.float16 not recognized in np.common_type Commit: 10c9091ad8ca3b44e4fb03656e14091a3d9cf763 https://github.com/numpy/numpy/commit/10c9091ad8ca3b44e4fb03656e14091a3d9cf763 Author: Charles Harris Date: 2015-06-22 (Mon, 22 Jun 2015) Changed paths: M numpy/linalg/linalg.py M numpy/linalg/tests/test_linalg.py Log Message: ----------- Merge pull request #6003 from argriffing/eigh-ascending-eigenvalues MAINT: eigenvalues returned by eigh are ascending Commit: 81c2c16f3218c879f5bfeacd80f237336e56584d https://github.com/numpy/numpy/commit/81c2c16f3218c879f5bfeacd80f237336e56584d Author: Ralf Gommers Date: 2015-06-22 (Mon, 22 Jun 2015) Changed paths: M doc/HOWTO_RELEASE.rst.txt M numpy/core/code_generators/cversions.txt M numpy/core/include/numpy/numpyconfig.h M numpy/core/setup_common.py Log Message: ----------- Merge pull request #5998 from charris/update-version-hash MAINT: Update version info for Numpy 1.10. Commit: eef0e0ead3107d45c940480a40f66b7077f190bb https://github.com/numpy/numpy/commit/eef0e0ead3107d45c940480a40f66b7077f190bb Author: Erik M. Bray Date: 2015-06-22 (Mon, 22 Jun 2015) Changed paths: M numpy/core/defchararray.py M numpy/core/tests/test_defchararray.py Log Message: ----------- BUG: Fixed slicing of chararrays on Python 3. When taking a slice of a chararray it was calling the rstrip() method on the resulting slice, resulting in a new array rather than a view of the original. This was an unintended consequence of the sq_slice member of the tp_as_sequence mapping being ignored in Python 3, so that slice lookups go directly through __getitem__. Fix test_expandtabs to not make the assumption that rstrip() will be applied twice to a value when using T[x][y] style indexing. Commit: a320fd772468004a53f7c448ae47032eb1b5c5df https://github.com/numpy/numpy/commit/a320fd772468004a53f7c448ae47032eb1b5c5df Author: empeeu Date: 2015-06-22 (Mon, 22 Jun 2015) Changed paths: M doc/release/1.10.0-notes.rst M numpy/lib/function_base.py M numpy/lib/tests/test_function_base.py Log Message: ----------- BUG: Added proper handling of median and percentile when nan's are present in array to close issue #586. Also added unit tests. Commit: 3e82d6db99bc9e32a6f6bcb63cbfccbaa1168a74 https://github.com/numpy/numpy/commit/3e82d6db99bc9e32a6f6bcb63cbfccbaa1168a74 Author: empeeu Date: 2015-06-22 (Mon, 22 Jun 2015) Changed paths: M numpy/lib/function_base.py Log Message: ----------- Moving warning outside of for loop. Commit: 320667d42b1d56f12d911dfcee05fc264d9d6edb https://github.com/numpy/numpy/commit/320667d42b1d56f12d911dfcee05fc264d9d6edb Author: Charles Harris Date: 2015-06-22 (Mon, 22 Jun 2015) Changed paths: M numpy/core/defchararray.py M numpy/core/tests/test_defchararray.py Log Message: ----------- Merge pull request #5982 from embray/fix-chararray-slice BUG: Fixed slicing of chararrays on Python 3. Commit: f5d3d96b3b48ba8b8d15a09334491f3f19804693 https://github.com/numpy/numpy/commit/f5d3d96b3b48ba8b8d15a09334491f3f19804693 Author: empeeu Date: 2015-06-22 (Mon, 22 Jun 2015) Changed paths: M numpy/lib/tests/test_function_base.py Log Message: ----------- Updating unit tests for removed warning. Commit: e4ab83050f3f64554726b9c5fd794e5535ab77ff https://github.com/numpy/numpy/commit/e4ab83050f3f64554726b9c5fd794e5535ab77ff Author: Julian Taylor Date: 2015-06-23 (Tue, 23 Jun 2015) Changed paths: M doc/release/1.10.0-notes.rst M numpy/lib/function_base.py M numpy/lib/tests/test_function_base.py Log Message: ----------- Merge pull request #5753 from empeeu/percentile-nan BUG: Added proper handling of median and percentile when nan's are prese... Compare: https://github.com/numpy/numpy/compare/d033b6e19fc9...e4ab83050f3f From noreply at github.com Mon Jun 22 23:03:52 2015 From: noreply at github.com (GitHub) Date: Mon, 22 Jun 2015 20:03:52 -0700 Subject: [Numpy-svn] [numpy/numpy] 592e40: MAINT: fix two Wpedantic warnings in public header Message-ID: <5588cc98c1d23_7673f9550ec929c482f7@hookshot-fe5-cp1-prd.iad.github.net.mail> Branch: refs/heads/master Home: https://github.com/numpy/numpy Commit: 592e404b7406c0d3c9db568f737e9c96b3736f3a https://github.com/numpy/numpy/commit/592e404b7406c0d3c9db568f737e9c96b3736f3a Author: Julian Taylor Date: 2015-06-23 (Tue, 23 Jun 2015) Changed paths: M numpy/core/include/numpy/ndarraytypes.h Log Message: ----------- MAINT: fix two Wpedantic warnings in public header Commit: 3d2b8ca9bcbdbc9e835cb3f8d56c2d93a67b00aa https://github.com/numpy/numpy/commit/3d2b8ca9bcbdbc9e835cb3f8d56c2d93a67b00aa Author: Homu Date: 2015-06-23 (Tue, 23 Jun 2015) Changed paths: M numpy/core/include/numpy/ndarraytypes.h Log Message: ----------- Auto merge of #6009 - juliantaylor:pedantic, r=njsmith MAINT: fix two Wpedantic warnings in public header Wpedantic is to strict to be really useful generally, but our public headers at least should avoid easy to avoid warnings for projects that do use this flag. Compare: https://github.com/numpy/numpy/compare/e4ab83050f3f...3d2b8ca9bcbd From noreply at github.com Wed Jun 24 16:47:05 2015 From: noreply at github.com (GitHub) Date: Wed, 24 Jun 2015 13:47:05 -0700 Subject: [Numpy-svn] [numpy/numpy] 344496: DOC, MAINT: fix typo in np.fill_diagonal docstring... Message-ID: <558b17494d7ae_58123f8bd52c72c091db@hookshot-fe5-cp1-prd.iad.github.net.mail> Branch: refs/heads/master Home: https://github.com/numpy/numpy Commit: 34449614e34065e4599787095b90928dc22afb14 https://github.com/numpy/numpy/commit/34449614e34065e4599787095b90928dc22afb14 Author: Fran?ois Magimel Date: 2015-06-24 (Wed, 24 Jun 2015) Changed paths: M numpy/lib/index_tricks.py Log Message: ----------- DOC, MAINT: fix typo in np.fill_diagonal docstring example Commit: 75190503dd569e58029cdac81e6451907181c130 https://github.com/numpy/numpy/commit/75190503dd569e58029cdac81e6451907181c130 Author: Charles Harris Date: 2015-06-24 (Wed, 24 Jun 2015) Changed paths: M numpy/lib/index_tricks.py Log Message: ----------- Merge pull request #6013 from Linkid/doc/syntax0 DOC, MAINT: fix typo in np.fill_diagonal docstring example Compare: https://github.com/numpy/numpy/compare/3d2b8ca9bcbd...75190503dd56 From noreply at github.com Wed Jun 24 23:04:15 2015 From: noreply at github.com (GitHub) Date: Wed, 24 Jun 2015 20:04:15 -0700 Subject: [Numpy-svn] [numpy/numpy] e55292: MAINT: remove use of 'raise StopIteration' from ge... Message-ID: <558b6faf592d6_150a3f8255f932bc2462a@hookshot-fe3-cp1-prd.iad.github.net.mail> Branch: refs/heads/master Home: https://github.com/numpy/numpy Commit: e552922fe6c8854541337a10970ff1b62caffc70 https://github.com/numpy/numpy/commit/e552922fe6c8854541337a10970ff1b62caffc70 Author: Nathaniel J. Smith Date: 2015-06-24 (Wed, 24 Jun 2015) Changed paths: M numpy/lib/arrayterator.py Log Message: ----------- MAINT: remove use of 'raise StopIteration' from generators This triggers a PendingDeprecationWarning in py3.5 -- you're supposed to just write "return" instead (which on earlier versions is equivalent). See PEP 479: https://www.python.org/dev/peps/pep-0479/ Commit: 086f51ebaa70e98dbca26e90f8d28a4ea57d655f https://github.com/numpy/numpy/commit/086f51ebaa70e98dbca26e90f8d28a4ea57d655f Author: Charles Harris Date: 2015-06-24 (Wed, 24 Jun 2015) Changed paths: M numpy/lib/arrayterator.py Log Message: ----------- Merge pull request #6017 from njsmith/raise-stopiteration-deprecated MAINT: remove use of 'raise StopIteration' from generators Compare: https://github.com/numpy/numpy/compare/75190503dd56...086f51ebaa70 From noreply at github.com Wed Jun 24 23:09:36 2015 From: noreply at github.com (GitHub) Date: Wed, 24 Jun 2015 20:09:36 -0700 Subject: [Numpy-svn] [numpy/numpy] 7d6aa8: MAINT: remove legacy monkeypatching of GzipFile Message-ID: <558b70f04679c_2d8a3fa05255f2bc10111@hookshot-fe4-cp1-prd.iad.github.net.mail> Branch: refs/heads/master Home: https://github.com/numpy/numpy Commit: 7d6aa8c721d5274ac57d0c87685d472cb1fd7948 https://github.com/numpy/numpy/commit/7d6aa8c721d5274ac57d0c87685d472cb1fd7948 Author: Nathaniel J. Smith Date: 2015-06-24 (Wed, 24 Jun 2015) Changed paths: M numpy/lib/npyio.py Log Message: ----------- MAINT: remove legacy monkeypatching of GzipFile I'm not sure exactly when GzipFile.seek started supporting the whence= argument by default -- sometime around python 2.5 from the looks of http://bugs.python.org/issue1355023. But in any case it was definitely there by 2.6, which is now the earliest version we support, so there's no longer any need to monkeypatch it in. This also fixes an error in python 3.5b2, which I haven't bothered to track down further because these are the wages of monkeypatching. Commit: 21962fc4c68311e78e6420e3d2e80d9cd98409d7 https://github.com/numpy/numpy/commit/21962fc4c68311e78e6420e3d2e80d9cd98409d7 Author: Charles Harris Date: 2015-06-24 (Wed, 24 Jun 2015) Changed paths: M numpy/lib/npyio.py Log Message: ----------- Merge pull request #6016 from njsmith/remove-gzip-monkeypatch MAINT: remove legacy monkeypatching of GzipFile Compare: https://github.com/numpy/numpy/compare/086f51ebaa70...21962fc4c683 From noreply at github.com Thu Jun 25 19:10:42 2015 From: noreply at github.com (GitHub) Date: Thu, 25 Jun 2015 16:10:42 -0700 Subject: [Numpy-svn] [numpy/numpy] e8c412: MAINT: filter out some warnings triggered by nose ... Message-ID: <558c8a72afc0b_6d2b3fb9d1b2d2a03727@hookshot-fe6-cp1-prd.iad.github.net.mail> Branch: refs/heads/master Home: https://github.com/numpy/numpy Commit: e8c412453fa6c95a488e0ddfdb298be520b782d2 https://github.com/numpy/numpy/commit/e8c412453fa6c95a488e0ddfdb298be520b782d2 Author: Nathaniel J. Smith Date: 2015-06-24 (Wed, 24 Jun 2015) Changed paths: M numpy/testing/nosetester.py Log Message: ----------- MAINT: filter out some warnings triggered by nose 1.3.7 + python 3.5b2 Filed upstream as: https://github.com/nose-devs/nose/issues/929 Not our problem. Commit: bf5bb1a49c47c62a9f67275a29c7cdc78a78679c https://github.com/numpy/numpy/commit/bf5bb1a49c47c62a9f67275a29c7cdc78a78679c Author: Charles Harris Date: 2015-06-25 (Thu, 25 Jun 2015) Changed paths: M numpy/testing/nosetester.py Log Message: ----------- Merge pull request #6018 from njsmith/filter-nose-3.5-warnings MAINT: filter out some warnings triggered by nose 1.3.7 + python 3.5b2 Compare: https://github.com/numpy/numpy/compare/21962fc4c683...bf5bb1a49c47 From noreply at github.com Thu Jun 25 19:12:50 2015 From: noreply at github.com (GitHub) Date: Thu, 25 Jun 2015 16:12:50 -0700 Subject: [Numpy-svn] [numpy/numpy] ea0744: MAINT: add 'nightly' (= 3.5ish) to travis build ma... Message-ID: <558c8af22e0b9_75b03f85975e72a057028@hookshot-fe6-cp1-prd.iad.github.net.mail> Branch: refs/heads/master Home: https://github.com/numpy/numpy Commit: ea0744b6fa18b27de2986a2240d1d2fd33085b85 https://github.com/numpy/numpy/commit/ea0744b6fa18b27de2986a2240d1d2fd33085b85 Author: Nathaniel J. Smith Date: 2015-06-24 (Wed, 24 Jun 2015) Changed paths: M .travis.yml Log Message: ----------- MAINT: add 'nightly' (= 3.5ish) to travis build matrix Commit: c8759f107bb8ab47c515800845caa63701ba6c98 https://github.com/numpy/numpy/commit/c8759f107bb8ab47c515800845caa63701ba6c98 Author: Charles Harris Date: 2015-06-25 (Thu, 25 Jun 2015) Changed paths: M .travis.yml Log Message: ----------- Merge pull request #6015 from njsmith/travis-nightly MAINT: add 'nightly' (= 3.5ish) to travis build matrix Compare: https://github.com/numpy/numpy/compare/bf5bb1a49c47...c8759f107bb8 From noreply at github.com Sat Jun 27 14:46:50 2015 From: noreply at github.com (GitHub) Date: Sat, 27 Jun 2015 11:46:50 -0700 Subject: [Numpy-svn] [numpy/numpy] 4e3f82: MAINT: core: less function pointer casting in arra... Message-ID: <558eef9a8a438_65983fd93081529c7753c@hookshot-fe4-cp1-prd.iad.github.net.mail> Branch: refs/heads/master Home: https://github.com/numpy/numpy Commit: 4e3f8273ca901fd5cfa4722f8020d8f5d471035e https://github.com/numpy/numpy/commit/4e3f8273ca901fd5cfa4722f8020d8f5d471035e Author: Lars Buitinck Date: 2015-06-15 (Mon, 15 Jun 2015) Changed paths: M numpy/core/src/multiarray/arraytypes.c.src Log Message: ----------- MAINT: core: less function pointer casting in arraytypes.c.src Commit: 763512bff140d800ce9db29f2f86735300969221 https://github.com/numpy/numpy/commit/763512bff140d800ce9db29f2f86735300969221 Author: Lars Buitinck Date: 2015-06-15 (Mon, 15 Jun 2015) Changed paths: M numpy/core/src/multiarray/multiarraymodule.c Log Message: ----------- MAINT: core: some missing casts in multiarraymodule Commit: 567a44d276e74d0a570be8fa6bb8a7b4345a7de3 https://github.com/numpy/numpy/commit/567a44d276e74d0a570be8fa6bb8a7b4345a7de3 Author: Charles Harris Date: 2015-06-27 (Sat, 27 Jun 2015) Changed paths: M numpy/core/src/multiarray/arraytypes.c.src M numpy/core/src/multiarray/multiarraymodule.c Log Message: ----------- Merge pull request #5971 from larsmans/c-fixes MAINT: core: less function pointer casting in arraytypes.c.src Compare: https://github.com/numpy/numpy/compare/c8759f107bb8...567a44d276e7 From noreply at github.com Sat Jun 27 14:48:25 2015 From: noreply at github.com (GitHub) Date: Sat, 27 Jun 2015 11:48:25 -0700 Subject: [Numpy-svn] [numpy/numpy] 35def2: BF: do not crash lookfor if inspection fails - cat... Message-ID: <558eeff965bde_5af03fde2ccc32c073310@hookshot-fe6-cp1-prd.iad.github.net.mail> Branch: refs/heads/master Home: https://github.com/numpy/numpy Commit: 35def25c65fe6c8576dfc0e246b67784b8fcb8e9 https://github.com/numpy/numpy/commit/35def25c65fe6c8576dfc0e246b67784b8fcb8e9 Author: Yaroslav Halchenko Date: 2015-06-08 (Mon, 08 Jun 2015) Changed paths: M numpy/lib/utils.py Log Message: ----------- BF: do not crash lookfor if inspection fails - catch any Exception Commit: 56678fe56dce97871bb49febf0b2c0206541eada https://github.com/numpy/numpy/commit/56678fe56dce97871bb49febf0b2c0206541eada Author: Charles Harris Date: 2015-06-27 (Sat, 27 Jun 2015) Changed paths: M numpy/lib/utils.py Log Message: ----------- Merge pull request #5953 from yarikoptic/bf/guard-getmembers BF: do not crash lookfor if inspection fails - catch any Exception Compare: https://github.com/numpy/numpy/compare/567a44d276e7...56678fe56dce From noreply at github.com Sat Jun 27 14:51:05 2015 From: noreply at github.com (GitHub) Date: Sat, 27 Jun 2015 11:51:05 -0700 Subject: [Numpy-svn] [numpy/numpy] 780cd6: BUG: np.nonzero behaving differently for 1-D array... Message-ID: <558ef09948a7a_27a03f94148f329c395ef@hookshot-fe2-cp1-prd.iad.github.net.mail> Branch: refs/heads/master Home: https://github.com/numpy/numpy Commit: 780cd6e70627f78f57cad3b1486e81936c1572a9 https://github.com/numpy/numpy/commit/780cd6e70627f78f57cad3b1486e81936c1572a9 Author: Jaime Fernandez Date: 2015-05-13 (Wed, 13 May 2015) Changed paths: M doc/release/1.10.0-notes.rst M numpy/core/src/multiarray/item_selection.c M numpy/core/tests/test_numeric.py M numpy/core/tests/test_regression.py M numpy/matrixlib/tests/test_defmatrix.py M numpy/matrixlib/tests/test_regression.py Log Message: ----------- BUG: np.nonzero behaving differently for 1-D arrays Fixes #5837 Commit: 16cdeff7520819322209f89003dcc282903ca34e https://github.com/numpy/numpy/commit/16cdeff7520819322209f89003dcc282903ca34e Author: Charles Harris Date: 2015-06-27 (Sat, 27 Jun 2015) Changed paths: M doc/release/1.10.0-notes.rst M numpy/core/src/multiarray/item_selection.c M numpy/core/tests/test_numeric.py M numpy/core/tests/test_regression.py M numpy/matrixlib/tests/test_defmatrix.py M numpy/matrixlib/tests/test_regression.py Log Message: ----------- Merge pull request #5865 from jaimefrio/where_writeable BUG: np.nonzero behaving differently for 1-D arrays Compare: https://github.com/numpy/numpy/compare/56678fe56dce...16cdeff75208