From noreply at github.com Sat May 2 12:18:40 2015 From: noreply at github.com (GitHub) Date: Sat, 02 May 2015 09:18:40 -0700 Subject: [Numpy-svn] [numpy/numpy] a7d663: BUG: Fix mask assignment in masked_where to use .m... Message-ID: <5544f8e041a9b_c563fdce25a92a083164@hookshot-fe6-cp1-prd.iad.github.net.mail> Branch: refs/heads/master Home: https://github.com/numpy/numpy Commit: a7d663f0f36c296caef7494d167b32407d6c3856 https://github.com/numpy/numpy/commit/a7d663f0f36c296caef7494d167b32407d6c3856 Author: Gerrit Holl Date: 2015-05-02 (Sat, 02 May 2015) Changed paths: M numpy/ma/core.py Log Message: ----------- BUG: Fix mask assignment in masked_where to use .mask property. This commit fixes a bug in numpy.ma.masked_where when it is passed a structured array. masked_where was inadvertently setting the _mask field of a structured array to a non-structured array, so we would end up with a masked structured array where x.data was structured, but x.mask was not. This led to troubles for methods such as __getitem__, __repr__, and tolist. By writing to the property .mask instead of ._mask, this problem is fixed. Closes #2972. Commit: d7ffaea9855834c6d1a51a788ff0e6ffbe929e01 https://github.com/numpy/numpy/commit/d7ffaea9855834c6d1a51a788ff0e6ffbe929e01 Author: Gerrit Holl Date: 2015-05-02 (Sat, 02 May 2015) Changed paths: M numpy/ma/tests/test_core.py Log Message: ----------- TST: Add test for fix to issue #2972 Add a test to TestMaskedArrayFunctions to verify that a masked structures array created with masked_where has a structured mask. The mask was previously unstructured, leading to bug #2972. Commit: f3e7ef7f034bddcee856f6722db7035ba549ef19 https://github.com/numpy/numpy/commit/f3e7ef7f034bddcee856f6722db7035ba549ef19 Author: Charles Harris Date: 2015-05-02 (Sat, 02 May 2015) Changed paths: M numpy/ma/core.py M numpy/ma/tests/test_core.py Log Message: ----------- Merge pull request #5824 from charris/cleanup-gh-5516 BUG: Fix assignment of mask in ma.masked_where Compare: https://github.com/numpy/numpy/compare/ad99656c5d13...f3e7ef7f034b From noreply at github.com Sat May 2 15:23:49 2015 From: noreply at github.com (GitHub) Date: Sat, 02 May 2015 12:23:49 -0700 Subject: [Numpy-svn] [numpy/numpy] 602836: BUG: Fix `numpy.ma.where` to be consistent with un... Message-ID: <55452445568c3_9393fb9af32f2a0863c7@hookshot-fe6-cp1-prd.iad.github.net.mail> Branch: refs/heads/master Home: https://github.com/numpy/numpy Commit: 602836b99c2a046574dd352def24980b2da9d9b2 https://github.com/numpy/numpy/commit/602836b99c2a046574dd352def24980b2da9d9b2 Author: John Kirkham Date: 2015-05-02 (Sat, 02 May 2015) Changed paths: M numpy/ma/core.py M numpy/ma/tests/test_core.py Log Message: ----------- BUG: Fix `numpy.ma.where` to be consistent with unmasked version. Closes #5679. Commit: 63ff998b5789a5aa7ce7830a258445544f1063ae https://github.com/numpy/numpy/commit/63ff998b5789a5aa7ce7830a258445544f1063ae Author: Charles Harris Date: 2015-05-02 (Sat, 02 May 2015) Changed paths: M numpy/ma/core.py Log Message: ----------- MAINT: Refactor numpy.ma.where. Use np._NoValue as default values of 'x' and 'y' in signature. That allows None values to be used for compatibility with the unmasked version of where and makes detection of the case when neither is given easier. Use properties *.data and *.mask instead of *._data and *._mask. That may avoid some subtle problems. Minor style cleanups. Commit: 3782f7e0bfd9ac230b672a1295df580a40e9e109 https://github.com/numpy/numpy/commit/3782f7e0bfd9ac230b672a1295df580a40e9e109 Author: Charles Harris Date: 2015-05-02 (Sat, 02 May 2015) Changed paths: M numpy/ma/core.py M numpy/ma/tests/test_core.py Log Message: ----------- Merge pull request #5825 from charris/cleanup-gh-5583 BUG: Make ma.where consistent with unmasked where. Compare: https://github.com/numpy/numpy/compare/f3e7ef7f034b...3782f7e0bfd9 From noreply at github.com Sun May 3 10:40:52 2015 From: noreply at github.com (GitHub) Date: Sun, 03 May 2015 07:40:52 -0700 Subject: [Numpy-svn] [numpy/numpy] d9eb7a: TST: re-enable TravisCI testing with Bento. Message-ID: <55463374de018_2653f849d30729c26752@hookshot-fe6-cp1-prd.iad.github.net.mail> Branch: refs/heads/master Home: https://github.com/numpy/numpy Commit: d9eb7a5fce10a6bf1b15049536fbbd057f33f1fa https://github.com/numpy/numpy/commit/d9eb7a5fce10a6bf1b15049536fbbd057f33f1fa Author: Ralf Gommers Date: 2015-05-03 (Sun, 03 May 2015) Changed paths: M .travis.yml M tools/travis-test.sh Log Message: ----------- TST: re-enable TravisCI testing with Bento. Disabling was done in gh-5708, due to the Waf download site being down for a while. Commit: 5e98be62a8b865c0b0abe894a37518aa67181c46 https://github.com/numpy/numpy/commit/5e98be62a8b865c0b0abe894a37518aa67181c46 Author: Charles Harris Date: 2015-05-03 (Sun, 03 May 2015) Changed paths: M .travis.yml M tools/travis-test.sh Log Message: ----------- Merge pull request #5829 from rgommers/bento-ci TST: re-enable TravisCI testing with Bento. Compare: https://github.com/numpy/numpy/compare/3782f7e0bfd9...5e98be62a8b8 From noreply at github.com Sun May 3 11:20:52 2015 From: noreply at github.com (GitHub) Date: Sun, 03 May 2015 08:20:52 -0700 Subject: [Numpy-svn] [numpy/numpy] 6049c6: BUG: Fix segfault in frompyfunc with nout=0 Message-ID: <55463cd4b0ab9_2d043fb4b8c1f2bc441e@hookshot-fe3-cp1-prd.iad.github.net.mail> Branch: refs/heads/master Home: https://github.com/numpy/numpy Commit: 6049c6691d885484a03331a939a518fb35738a48 https://github.com/numpy/numpy/commit/6049c6691d885484a03331a939a518fb35738a48 Author: Jaime Fernandez Date: 2015-05-03 (Sun, 03 May 2015) Changed paths: M numpy/core/src/umath/loops.c.src M numpy/core/tests/test_regression.py Log Message: ----------- BUG: Fix segfault in frompyfunc with nout=0 Fixes #2014 Commit: 3c06833480d31d63a1e65729c5e3a1277ac2a82f https://github.com/numpy/numpy/commit/3c06833480d31d63a1e65729c5e3a1277ac2a82f Author: Charles Harris Date: 2015-05-03 (Sun, 03 May 2015) Changed paths: M numpy/core/src/umath/loops.c.src M numpy/core/tests/test_regression.py Log Message: ----------- Merge pull request #5828 from jaimefrio/frompyfunc_segfault BUG: Fix segfault in frompyfunc with nout=0 Compare: https://github.com/numpy/numpy/compare/5e98be62a8b8...3c06833480d3 From noreply at github.com Sun May 3 16:27:09 2015 From: noreply at github.com (GitHub) Date: Sun, 03 May 2015 13:27:09 -0700 Subject: [Numpy-svn] [numpy/numpy] cf3077: BUG: Workaround segfault in Apple Accelerate frame... Message-ID: <5546849d470c8_73f3fbfce9432c0151fe@hookshot-fe6-cp1-prd.iad.github.net.mail> Branch: refs/heads/master Home: https://github.com/numpy/numpy Commit: cf3077696dd76d88e77173546a0d969eda3a7aa0 https://github.com/numpy/numpy/commit/cf3077696dd76d88e77173546a0d969eda3a7aa0 Author: Sturla Molden Date: 2015-05-03 (Sun, 03 May 2015) Changed paths: A numpy/build_utils/apple_accelerate.py A numpy/build_utils/src/apple_sgemv_fix.c M numpy/core/setup.py M numpy/core/tests/test_multiarray.py Log Message: ----------- BUG: Workaround segfault in Apple Accelerate framework SGEMV SGEMV in Accelerate framework will segfault on MacOS X version 10.9 (aka Mavericks) if arrays are not aligned to 32 byte boundaries and the CPU supports AVX instructions. This can produce segfaults in np.dot. This patch overshadows the symbols cblas_sgemv, sgemv_ and sgemv exported by Accelerate to produce the correct behavior. The MacOS X version and CPU specs are checked on module import. If Mavericks and AVX are detected the call to SGEMV is emulated with a call to SGEMM if the arrays are not 32 byte aligned. If the exported symbols cannot be overshadowed on module import, a fatal error is produced and the process aborts. All the fixes are in a self-contained C file and do not alter the multiarray C code. The patch is not applied unless NumPy is configured to link with Apple's Accelerate framework. Commit: 63e8babb47709ff14b1d728fd46029edcbded70c https://github.com/numpy/numpy/commit/63e8babb47709ff14b1d728fd46029edcbded70c Author: Charles Harris Date: 2015-05-03 (Sun, 03 May 2015) Changed paths: A numpy/build_utils/apple_accelerate.py A numpy/build_utils/src/apple_sgemv_fix.c M numpy/core/setup.py M numpy/core/tests/test_multiarray.py Log Message: ----------- Merge pull request #5831 from charris/rebase-gh-5237 rebase-gh-5237 - BUG: Workaround segfault in Apple Accelerate framework SGEMV Compare: https://github.com/numpy/numpy/compare/3c06833480d3...63e8babb4770 From noreply at github.com Mon May 4 19:13:26 2015 From: noreply at github.com (GitHub) Date: Mon, 04 May 2015 16:13:26 -0700 Subject: [Numpy-svn] [numpy/numpy] 7a0254: BLD: use fix for Accelerate SGEMV issue in Bento b... Message-ID: <5547fd16df463_3d193f97cef032a0147f0@hookshot-fe3-cp1-prd.iad.github.net.mail> Branch: refs/heads/master Home: https://github.com/numpy/numpy Commit: 7a02544da53df1547c2aa3f384773c48607a5d40 https://github.com/numpy/numpy/commit/7a02544da53df1547c2aa3f384773c48607a5d40 Author: Ralf Gommers Date: 2015-05-04 (Mon, 04 May 2015) Changed paths: M numpy/core/bscript Log Message: ----------- BLD: use fix for Accelerate SGEMV issue in Bento build. See gh-5831. Commit: 93bcedfd4e31e4e1eb92a5abf0de46464a154953 https://github.com/numpy/numpy/commit/93bcedfd4e31e4e1eb92a5abf0de46464a154953 Author: Charles Harris Date: 2015-05-04 (Mon, 04 May 2015) Changed paths: M numpy/core/bscript Log Message: ----------- Merge pull request #5836 from rgommers/bento-sgemv-fix BLD: use fix for Accelerate SGEMV issue in Bento build. See gh-5831. Compare: https://github.com/numpy/numpy/compare/63e8babb4770...93bcedfd4e31 From noreply at github.com Tue May 5 00:03:23 2015 From: noreply at github.com (GitHub) Date: Mon, 04 May 2015 21:03:23 -0700 Subject: [Numpy-svn] [numpy/numpy] ba29c7: BUG: fixes segfault in np.place when vals is empty Message-ID: <5548410ba1175_48c73fbfdb8072a0807e6@hookshot-fe1-cp1-prd.iad.github.net.mail> Branch: refs/heads/master Home: https://github.com/numpy/numpy Commit: ba29c7b224618b069644e747d6e9236f88accad4 https://github.com/numpy/numpy/commit/ba29c7b224618b069644e747d6e9236f88accad4 Author: behzad nouri Date: 2015-05-04 (Mon, 04 May 2015) Changed paths: M numpy/core/src/multiarray/compiled_base.c M numpy/lib/tests/test_function_base.py Log Message: ----------- BUG: fixes segfault in np.place when vals is empty Commit: bdfea0af2036e74396b78e076e90170eddbbf670 https://github.com/numpy/numpy/commit/bdfea0af2036e74396b78e076e90170eddbbf670 Author: Jaime Date: 2015-05-04 (Mon, 04 May 2015) Changed paths: M numpy/core/src/multiarray/compiled_base.c M numpy/lib/tests/test_function_base.py Log Message: ----------- Merge pull request #5821 from behzadnouri/place-segfault BUG: fixes segfault in np.place when vals is empty Compare: https://github.com/numpy/numpy/compare/93bcedfd4e31...bdfea0af2036 From noreply at github.com Tue May 5 00:21:55 2015 From: noreply at github.com (GitHub) Date: Mon, 04 May 2015 21:21:55 -0700 Subject: [Numpy-svn] [numpy/numpy] 883d05: ENH: Introduce np.ma.compress_nd(), generalizes np... Message-ID: <554845635fd9e_e4e3feea511f2a08409d@hookshot-fe6-cp1-prd.iad.github.net.mail> Branch: refs/heads/master Home: https://github.com/numpy/numpy Commit: 883d052e3eb9b45a4bb87e7e84f487e0c9e5c882 https://github.com/numpy/numpy/commit/883d052e3eb9b45a4bb87e7e84f487e0c9e5c882 Author: Daniel da Silva Date: 2015-05-03 (Sun, 03 May 2015) Changed paths: M numpy/ma/extras.py M numpy/ma/tests/test_extras.py Log Message: ----------- ENH: Introduce np.ma.compress_nd(), generalizes np.ma.compress_rowcols() Provides a way to supress slices along an abitrary tuple of dimensions. Commit: 7b0b7cc601d1839657aca03a01056101beb64a68 https://github.com/numpy/numpy/commit/7b0b7cc601d1839657aca03a01056101beb64a68 Author: Jaime Date: 2015-05-04 (Mon, 04 May 2015) Changed paths: M numpy/ma/extras.py M numpy/ma/tests/test_extras.py Log Message: ----------- Merge pull request #5703 from ddasilva/ddasilva/compress_rowcols ENH: Improve np.ma.compress_rowcols() performance, ENH: add compress_nd() Compare: https://github.com/numpy/numpy/compare/bdfea0af2036...7b0b7cc601d1 From noreply at github.com Tue May 5 09:46:23 2015 From: noreply at github.com (GitHub) Date: Tue, 05 May 2015 06:46:23 -0700 Subject: [Numpy-svn] [numpy/numpy] 2a8efb: BUG: make empty inputs to ix_ create an empty int ... Message-ID: <5548c9af177aa_33a73ff573c2b2a06383d@hookshot-fe1-cp1-prd.iad.github.net.mail> Branch: refs/heads/master Home: https://github.com/numpy/numpy Commit: 2a8efb1850f9be15c5129369a127fb56dabf0fb3 https://github.com/numpy/numpy/commit/2a8efb1850f9be15c5129369a127fb56dabf0fb3 Author: Jaime Fernandez Date: 2015-04-27 (Mon, 27 Apr 2015) Changed paths: M numpy/lib/index_tricks.py Log Message: ----------- BUG: make empty inputs to ix_ create an empty int typed output Fixes #5804 Commit: f06b1210d7171b4a452d0c9c67cde7b1a130303e https://github.com/numpy/numpy/commit/f06b1210d7171b4a452d0c9c67cde7b1a130303e Author: Jaime Fernandez Date: 2015-04-27 (Mon, 27 Apr 2015) Changed paths: M numpy/lib/tests/test_index_tricks.py Log Message: ----------- TST: Added tests for ix_ Commit: c01165f43068fea96722c172eb23efed4ca99763 https://github.com/numpy/numpy/commit/c01165f43068fea96722c172eb23efed4ca99763 Author: Jaime Fernandez Date: 2015-05-04 (Mon, 04 May 2015) Changed paths: M numpy/lib/index_tricks.py M numpy/lib/tests/test_index_tricks.py Log Message: ----------- BUG: Fix handling of non-empty ndarrays Commit: 09e38f9e2f3a81a9a4c98f36780e791f60c665b1 https://github.com/numpy/numpy/commit/09e38f9e2f3a81a9a4c98f36780e791f60c665b1 Author: Charles Harris Date: 2015-05-05 (Tue, 05 May 2015) Changed paths: M numpy/lib/index_tricks.py M numpy/lib/tests/test_index_tricks.py Log Message: ----------- Merge pull request #5805 from jaimefrio/ix_intp Ix intp Compare: https://github.com/numpy/numpy/compare/7b0b7cc601d1...09e38f9e2f3a From noreply at github.com Tue May 5 16:22:37 2015 From: noreply at github.com (GitHub) Date: Tue, 05 May 2015 13:22:37 -0700 Subject: [Numpy-svn] [numpy/numpy] 2bc267: BUG: revert use of !python for bdist_mpkg scripts Message-ID: <5549268d739d4_6953fba48e7529c2822d@hookshot-fe5-cp1-prd.iad.github.net.mail> Branch: refs/heads/master Home: https://github.com/numpy/numpy Commit: 2bc2676c8c2f750b61444560c9f7661cb0c15c6a https://github.com/numpy/numpy/commit/2bc2676c8c2f750b61444560c9f7661cb0c15c6a Author: Matthew Brett Date: 2015-05-05 (Tue, 05 May 2015) Changed paths: M numpy/f2py/setup.py Log Message: ----------- BUG: revert use of !python for bdist_mpkg scripts bdist_mpkg is a very crude install method that will assume the path to Python, so we should not use the `#!python` form when installing scripts in bdist_mpkg. Commit: a29c296f0bf306a8824705567cbb4271f383f0ea https://github.com/numpy/numpy/commit/a29c296f0bf306a8824705567cbb4271f383f0ea Author: Charles Harris Date: 2015-05-05 (Tue, 05 May 2015) Changed paths: M numpy/f2py/setup.py Log Message: ----------- Merge pull request #5838 from matthew-brett/master BUG: revert use of !python for bdist_mpkg scripts Compare: https://github.com/numpy/numpy/compare/09e38f9e2f3a...a29c296f0bf3 From noreply at github.com Tue May 5 22:39:14 2015 From: noreply at github.com (GitHub) Date: Tue, 05 May 2015 19:39:14 -0700 Subject: [Numpy-svn] [numpy/numpy] 367b40: BUG: core: ensure binop execution uses ufuncs as f... Message-ID: <55497ed2f2b2d_4a833f8eace0f2c01152e3@hookshot-fe6-cp1-prd.iad.github.net.mail> Branch: refs/heads/master Home: https://github.com/numpy/numpy Commit: 367b4094125062fa9018db0f310b28780259f29b https://github.com/numpy/numpy/commit/367b4094125062fa9018db0f310b28780259f29b Author: Pauli Virtanen Date: 2015-04-04 (Sat, 04 Apr 2015) Changed paths: M numpy/core/src/multiarray/arrayobject.c M numpy/core/src/multiarray/number.c Log Message: ----------- BUG: core: ensure binop execution uses ufuncs as fallback These changes only affect objects defining __numpy_ufunc__. Other objects use the __array_priority__ mechanism to decide whether NotImplemented should be returned or not. The binops previously returned NotImplemented even if other._r__ is ndarray.__r__, rather than trying to evaluate the result via ufuncs. This causes problems in binops of two objects that both subclass from ndarray and define __numpy_ufunc__. The solution added here makes the total logic as follows: def __binop__(self, other): if (hasattr(other, '__numpy_ufunc__') and not isinstance(other, self.__class__) and hasattr(other, '__rop__') and other.__class__.__rop__ is not self.__class__.__rop__): return NotImplemented return np.binop(self, other) Commit: 6ba4fed3aa26979734faa462e172959fad69723b https://github.com/numpy/numpy/commit/6ba4fed3aa26979734faa462e172959fad69723b Author: Pauli Virtanen Date: 2015-04-04 (Sat, 04 Apr 2015) Changed paths: M numpy/core/src/multiarray/number.c Log Message: ----------- BUG: core: inplace ops don't have corresponding rhs ops, so no need to check the slot Commit: d1153b4cba5510bd1961e3a7ae7f0c07c124a202 https://github.com/numpy/numpy/commit/d1153b4cba5510bd1961e3a7ae7f0c07c124a202 Author: Marten van Kerkwijk Date: 2015-04-04 (Sat, 04 Apr 2015) Changed paths: M numpy/core/tests/test_multiarray.py Log Message: ----------- Add tests that __numpy_ufunc__ works with subclasses. In particular, for a class S3(S2), where S2 defines __numpy_ufunc__, ensure that, e.g., S3() + S2() does *not* pass control to S2 if S2 and S3 share the same __radd__. Commit: eecb2e3c07f29c0ac991d364a846a2f8293a432a https://github.com/numpy/numpy/commit/eecb2e3c07f29c0ac991d364a846a2f8293a432a Author: Charles Harris Date: 2015-05-05 (Tue, 05 May 2015) Changed paths: M numpy/core/src/multiarray/arrayobject.c M numpy/core/src/multiarray/number.c M numpy/core/tests/test_multiarray.py Log Message: ----------- Merge pull request #5748 from mhvk/numpyufunc-binop-fix BUG Numpy ufunc binop fix for subclasses with __numpy_ufunc__ (closes #4815) Compare: https://github.com/numpy/numpy/compare/a29c296f0bf3...eecb2e3c07f2 From noreply at github.com Wed May 6 11:49:10 2015 From: noreply at github.com (GitHub) Date: Wed, 06 May 2015 08:49:10 -0700 Subject: [Numpy-svn] [numpy/numpy] 682cd9: DOC: note versionadded for broadcast_to Message-ID: <554a37f6d4f8e_38463fe78bc9329c877c5@hookshot-fe2-cp1-prd.iad.github.net.mail> Branch: refs/heads/master Home: https://github.com/numpy/numpy Commit: 682cd97e1f4485aa92e40684f7966d66a4a7371b https://github.com/numpy/numpy/commit/682cd97e1f4485aa92e40684f7966d66a4a7371b Author: Eric Moore Date: 2015-05-06 (Wed, 06 May 2015) Changed paths: M numpy/lib/stride_tricks.py Log Message: ----------- DOC: note versionadded for broadcast_to closes gh-5839 Commit: 90d3778dbe130670b258e9185b3d504199bf7327 https://github.com/numpy/numpy/commit/90d3778dbe130670b258e9185b3d504199bf7327 Author: Charles Harris Date: 2015-05-06 (Wed, 06 May 2015) Changed paths: M numpy/lib/stride_tricks.py Log Message: ----------- Merge pull request #5845 from ewmoore/broadcast_to_doc DOC: note versionadded for broadcast_to Compare: https://github.com/numpy/numpy/compare/eecb2e3c07f2...90d3778dbe13 From noreply at github.com Wed May 6 12:19:06 2015 From: noreply at github.com (GitHub) Date: Wed, 06 May 2015 09:19:06 -0700 Subject: [Numpy-svn] [numpy/numpy] 45bbce: MANT: Turn deprecated dtype string warnings into e... Message-ID: <554a3efa2fa8f_1e273ff99b0d52bc69762@hookshot-fe5-cp1-prd.iad.github.net.mail> Branch: refs/heads/master Home: https://github.com/numpy/numpy Commit: 45bbce70a1fd6800d471e5afcc176732aaba0b60 https://github.com/numpy/numpy/commit/45bbce70a1fd6800d471e5afcc176732aaba0b60 Author: Jaime Fernandez Date: 2015-05-05 (Tue, 05 May 2015) Changed paths: M numpy/core/src/multiarray/conversion_utils.c M numpy/core/tests/test_datetime.py M numpy/core/tests/test_dtype.py Log Message: ----------- MANT: Turn deprecated dtype string warnings into errors Fixes #5790 Commit: 5ea48b8cca84089f77deda848c57f4422399f375 https://github.com/numpy/numpy/commit/5ea48b8cca84089f77deda848c57f4422399f375 Author: Charles Harris Date: 2015-05-06 (Wed, 06 May 2015) Changed paths: M numpy/core/src/multiarray/conversion_utils.c M numpy/core/tests/test_datetime.py M numpy/core/tests/test_dtype.py Log Message: ----------- Merge pull request #5840 from jaimefrio/dtype_size MANT: Turn deprecated dtype string warnings into errors Compare: https://github.com/numpy/numpy/compare/90d3778dbe13...5ea48b8cca84 From noreply at github.com Wed May 6 14:41:00 2015 From: noreply at github.com (GitHub) Date: Wed, 06 May 2015 11:41:00 -0700 Subject: [Numpy-svn] [numpy/numpy] 0c9967: BUG: distutils: fix a typo in 64-bit Intel compile... Message-ID: <554a603ccd333_7cd03fbd5dd112bc21092d1@hookshot-fe4-cp1-prd.iad.github.net.mail> Branch: refs/heads/master Home: https://github.com/numpy/numpy Commit: 0c9967bf21a98bb47a64b4f06238f6958e618478 https://github.com/numpy/numpy/commit/0c9967bf21a98bb47a64b4f06238f6958e618478 Author: Ralf Gommers Date: 2015-05-06 (Wed, 06 May 2015) Changed paths: M numpy/distutils/ccompiler.py Log Message: ----------- BUG: distutils: fix a typo in 64-bit Intel compiler for Windows support. Snuck in in gh-5694. Commit: 56e9bd5b5a2fe56621c4cb02ad20e9b6e9c9ee9e https://github.com/numpy/numpy/commit/56e9bd5b5a2fe56621c4cb02ad20e9b6e9c9ee9e Author: Charles Harris Date: 2015-05-06 (Wed, 06 May 2015) Changed paths: M numpy/distutils/ccompiler.py Log Message: ----------- Merge pull request #5848 from rgommers/fix-intelcompiler BUG: distutils: fix a typo in 64-bit Intel compiler for Windows support. Compare: https://github.com/numpy/numpy/compare/5ea48b8cca84...56e9bd5b5a2f From noreply at github.com Thu May 7 01:18:11 2015 From: noreply at github.com (GitHub) Date: Wed, 06 May 2015 22:18:11 -0700 Subject: [Numpy-svn] [numpy/numpy] 2a13af: MANT: Remove size from string representation of ob... Message-ID: <554af5933856c_2c2f3fe201d1b2bc30922@hookshot-fe4-cp1-prd.iad.github.net.mail> Branch: refs/heads/master Home: https://github.com/numpy/numpy Commit: 2a13af9d21eb4f7f83580e44586d692cdaa10868 https://github.com/numpy/numpy/commit/2a13af9d21eb4f7f83580e44586d692cdaa10868 Author: Jaime Fernandez Date: 2015-05-06 (Wed, 06 May 2015) Changed paths: M numpy/core/src/multiarray/descriptor.c Log Message: ----------- MANT: Remove size from string representation of object dtype Commit: d3a2991130938e05acc05f3beadc1a0cd33c1eb3 https://github.com/numpy/numpy/commit/d3a2991130938e05acc05f3beadc1a0cd33c1eb3 Author: Jaime Fernandez Date: 2015-05-06 (Wed, 06 May 2015) Changed paths: M doc/release/1.10.0-notes.rst Log Message: ----------- DOC: Document changes in #5840 and #5841 in release notes Commit: 498acae7f5746c899013bf9f85412beb26778463 https://github.com/numpy/numpy/commit/498acae7f5746c899013bf9f85412beb26778463 Author: Jaime Fernandez Date: 2015-05-06 (Wed, 06 May 2015) Changed paths: M doc/source/reference/arrays.dtypes.rst Log Message: ----------- DOC: Document string dtype descriptor behavior Commit: c48068ee4d2f66a0dff7ed35fac8dd0992adfe44 https://github.com/numpy/numpy/commit/c48068ee4d2f66a0dff7ed35fac8dd0992adfe44 Author: Charles Harris Date: 2015-05-07 (Thu, 07 May 2015) Changed paths: M doc/release/1.10.0-notes.rst M doc/source/reference/arrays.dtypes.rst M numpy/core/src/multiarray/descriptor.c Log Message: ----------- Merge pull request #5841 from jaimefrio/object_dtype_str MANT: Remove size from string representation of object dtype Compare: https://github.com/numpy/numpy/compare/56e9bd5b5a2f...c48068ee4d2f From noreply at github.com Thu May 7 01:29:15 2015 From: noreply at github.com (GitHub) Date: Wed, 06 May 2015 22:29:15 -0700 Subject: [Numpy-svn] [numpy/numpy] 892595: BUG: Fix interp issues with small arrays Message-ID: <554af82be8322_6aa13f93676ed2c0373ca@hookshot-fe1-cp1-prd.iad.github.net.mail> Branch: refs/heads/master Home: https://github.com/numpy/numpy Commit: 8925950666b6da64f57ca629c4448cb6800706dc https://github.com/numpy/numpy/commit/8925950666b6da64f57ca629c4448cb6800706dc Author: Jaime Fernandez Date: 2015-05-06 (Wed, 06 May 2015) Changed paths: M numpy/core/src/multiarray/compiled_base.c Log Message: ----------- BUG: Fix interp issues with small arrays Fixes #5705 Commit: 6bb8c0d46739d6d9bb23cb48670519d7eb620d4d https://github.com/numpy/numpy/commit/6bb8c0d46739d6d9bb23cb48670519d7eb620d4d Author: Charles Harris Date: 2015-05-07 (Thu, 07 May 2015) Changed paths: M numpy/core/src/multiarray/compiled_base.c Log Message: ----------- Merge pull request #5843 from jaimefrio/interp_bug BUG: Fix interp issues with small arrays Compare: https://github.com/numpy/numpy/compare/c48068ee4d2f...6bb8c0d46739 From noreply at github.com Thu May 7 09:40:28 2015 From: noreply at github.com (GitHub) Date: Thu, 07 May 2015 06:40:28 -0700 Subject: [Numpy-svn] [numpy/numpy] c05019: BUG: setdiff1d return dtype Message-ID: <554b6b4c95e2_75923fec77e312c0158db@hookshot-fe1-cp1-prd.iad.github.net.mail> Branch: refs/heads/master Home: https://github.com/numpy/numpy Commit: c05019eda16477f4be99f47755362c07e1acb5b8 https://github.com/numpy/numpy/commit/c05019eda16477f4be99f47755362c07e1acb5b8 Author: Christian Brodbeck Date: 2015-05-07 (Thu, 07 May 2015) Changed paths: M numpy/lib/arraysetops.py M numpy/lib/tests/test_arraysetops.py M numpy/ma/extras.py M numpy/ma/tests/test_extras.py Log Message: ----------- BUG: setdiff1d return dtype Fixes #5846 (If called with an empty array as first argument, the returned array had dtype bool instead of the dtype of the input array) Commit: 21932fbfc217b4a8bc547fa267ea5597d7dcb59b https://github.com/numpy/numpy/commit/21932fbfc217b4a8bc547fa267ea5597d7dcb59b Author: Jaime Date: 2015-05-07 (Thu, 07 May 2015) Changed paths: M numpy/lib/arraysetops.py M numpy/lib/tests/test_arraysetops.py M numpy/ma/extras.py M numpy/ma/tests/test_extras.py Log Message: ----------- Merge pull request #5847 from christianbrodbeck/fix/setdiff1d BUG: setdiff1d return type Fixes 5846 Compare: https://github.com/numpy/numpy/compare/6bb8c0d46739...21932fbfc217 From noreply at github.com Thu May 7 17:04:41 2015 From: noreply at github.com (GitHub) Date: Thu, 07 May 2015 14:04:41 -0700 Subject: [Numpy-svn] [numpy/numpy] d0f95c: MAINT: switch waf download to https://github.com/n... Message-ID: <554bd36958c8e_7e483f8f8a4472b848489@hookshot-fe4-cp1-prd.iad.github.net.mail> Branch: refs/heads/master Home: https://github.com/numpy/numpy Commit: d0f95cc844f324812ca61c7404fbbd7589cf6b20 https://github.com/numpy/numpy/commit/d0f95cc844f324812ca61c7404fbbd7589cf6b20 Author: Ralf Gommers Date: 2015-05-07 (Thu, 07 May 2015) Changed paths: M tools/travis-test.sh Log Message: ----------- MAINT: switch waf download to https://github.com/numpy/numpy-vendor Follow-up of gh-5829, which got merged too early. Commit: 30e3d41b6d11c18e17eb283a61bbe9bbf4bb4d8f https://github.com/numpy/numpy/commit/30e3d41b6d11c18e17eb283a61bbe9bbf4bb4d8f Author: Charles Harris Date: 2015-05-07 (Thu, 07 May 2015) Changed paths: M tools/travis-test.sh Log Message: ----------- Merge pull request #5852 from rgommers/bento-vendor MAINT: switch waf download to https://github.com/numpy/numpy-vendor Compare: https://github.com/numpy/numpy/compare/21932fbfc217...30e3d41b6d11 From noreply at github.com Sun May 10 09:04:06 2015 From: noreply at github.com (GitHub) Date: Sun, 10 May 2015 06:04:06 -0700 Subject: [Numpy-svn] [numpy/numpy] 8284c9: DOC: sum/prod & empty array returns neutral elment Message-ID: <554f5746bcc6a_1d233fd2ad69f2c010929e4@hookshot-fe5-cp1-prd.iad.github.net.mail> Branch: refs/heads/master Home: https://github.com/numpy/numpy Commit: 8284c9cfdf153e6f51cad48b4abdb7519e5e5274 https://github.com/numpy/numpy/commit/8284c9cfdf153e6f51cad48b4abdb7519e5e5274 Author: Stefan Otte Date: 2015-05-10 (Sun, 10 May 2015) Changed paths: M numpy/core/fromnumeric.py Log Message: ----------- DOC: sum/prod & empty array returns neutral elment Commit: 59de9f290b9180e316d319d6b70f65554cd2ef4e https://github.com/numpy/numpy/commit/59de9f290b9180e316d319d6b70f65554cd2ef4e Author: Jaime Date: 2015-05-10 (Sun, 10 May 2015) Changed paths: M numpy/core/fromnumeric.py Log Message: ----------- Merge pull request #5860 from sotte/neutral_element DOC: sum/prod & empty array returns neutral elment Compare: https://github.com/numpy/numpy/compare/30e3d41b6d11...59de9f290b91 From noreply at github.com Sun May 10 10:47:07 2015 From: noreply at github.com (GitHub) Date: Sun, 10 May 2015 07:47:07 -0700 Subject: [Numpy-svn] [numpy/numpy] c7f121: BUG: np.random.beta with small parameters produces... Message-ID: <554f6f6bf0df6_72973fa664f512bc248c5@hookshot-fe4-cp1-prd.iad.github.net.mail> Branch: refs/heads/master Home: https://github.com/numpy/numpy Commit: c7f121abb24e19c34246c8ad834dfdd5bd5ce8b2 https://github.com/numpy/numpy/commit/c7f121abb24e19c34246c8ad834dfdd5bd5ce8b2 Author: Jaime Fernandez Date: 2015-05-10 (Sun, 10 May 2015) Changed paths: M numpy/random/mtrand/distributions.c M numpy/random/tests/test_regression.py Log Message: ----------- BUG: np.random.beta with small parameters produces NaNs Fixes #5851 Commit: c65fc9e36b287461040615a452e0268bbca9f3ca https://github.com/numpy/numpy/commit/c65fc9e36b287461040615a452e0268bbca9f3ca Author: Charles Harris Date: 2015-05-10 (Sun, 10 May 2015) Changed paths: M numpy/random/mtrand/distributions.c M numpy/random/tests/test_regression.py Log Message: ----------- Merge pull request #5858 from jaimefrio/random_beta BUG: random.beta with small parameters Compare: https://github.com/numpy/numpy/compare/59de9f290b91...c65fc9e36b28 From noreply at github.com Sun May 10 15:59:26 2015 From: noreply at github.com (GitHub) Date: Sun, 10 May 2015 12:59:26 -0700 Subject: [Numpy-svn] [numpy/numpy] cff1f8: MAINT: move the special case for string comparison... Message-ID: <554fb89e25598_42303fc64f7a72b8841c2@hookshot-fe2-cp1-prd.iad.github.net.mail> Branch: refs/heads/binop-dispatch Home: https://github.com/numpy/numpy Commit: cff1f81828dafddcbc6b445f0ddd334c58f60e48 https://github.com/numpy/numpy/commit/cff1f81828dafddcbc6b445f0ddd334c58f60e48 Author: Nathaniel J. Smith Date: 2015-05-07 (Thu, 07 May 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: cefce3d01f0daaabc2a8928a467bfb7740d24974 https://github.com/numpy/numpy/commit/cefce3d01f0daaabc2a8928a467bfb7740d24974 Author: Nathaniel J. Smith Date: 2015-05-09 (Sat, 09 May 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: 6ee1606efb65eb3b83fc89215c6211b977e34449 https://github.com/numpy/numpy/commit/6ee1606efb65eb3b83fc89215c6211b977e34449 Author: Nathaniel J. Smith Date: 2015-05-09 (Sat, 09 May 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: 19b829a660a6adc8118dc427e1a7e4ba6946ccf7 https://github.com/numpy/numpy/commit/19b829a660a6adc8118dc427e1a7e4ba6946ccf7 Author: Nathaniel J. Smith Date: 2015-05-10 (Sun, 10 May 2015) Changed paths: 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. Compare: https://github.com/numpy/numpy/compare/cff1f81828da^...19b829a660a6 From noreply at github.com Sun May 10 15:59:52 2015 From: noreply at github.com (GitHub) Date: Sun, 10 May 2015 12:59:52 -0700 Subject: [Numpy-svn] [numpy/numpy] Message-ID: <554fb8b855c04_63653fd3bdf732a09649a@hookshot-fe5-cp1-prd.iad.github.net.mail> Branch: refs/heads/binop-dispatch Home: https://github.com/numpy/numpy From noreply at github.com Mon May 11 22:30:39 2015 From: noreply at github.com (GitHub) Date: Mon, 11 May 2015 19:30:39 -0700 Subject: [Numpy-svn] [numpy/numpy] fc6f44: MAINT: Added more detailed messages to NotImplemen... Message-ID: <555165cf27823_46973faa6d7c32b8104752@hookshot-fe2-cp1-prd.iad.github.net.mail> Branch: refs/heads/master Home: https://github.com/numpy/numpy Commit: fc6f4481707b9d80bc9c87658f4157931719ef7d https://github.com/numpy/numpy/commit/fc6f4481707b9d80bc9c87658f4157931719ef7d Author: Wendell Smith Date: 2015-05-11 (Mon, 11 May 2015) Changed paths: M numpy/ma/core.py Log Message: ----------- MAINT: Added more detailed messages to NotImplementedError messages. Closes #5444. Commit: fb6426b3d9b25f5f7a8324fa1d9bab3f4c23dd95 https://github.com/numpy/numpy/commit/fb6426b3d9b25f5f7a8324fa1d9bab3f4c23dd95 Author: Charles Harris Date: 2015-05-11 (Mon, 11 May 2015) Changed paths: M numpy/ma/core.py Log Message: ----------- Merge pull request #5869 from wackywendell/notimpl MAINT: Added more detailed messages to NotImplementedError messages. Compare: https://github.com/numpy/numpy/compare/c65fc9e36b28...fb6426b3d9b2 From noreply at github.com Tue May 12 00:43:17 2015 From: noreply at github.com (GitHub) Date: Mon, 11 May 2015 21:43:17 -0700 Subject: [Numpy-svn] [numpy/numpy] 93d3b8: ENH: add np.stack Message-ID: <555184e57103c_3f7e3f812ae1f2b8106328@hookshot-fe2-cp1-prd.iad.github.net.mail> Branch: refs/heads/master Home: https://github.com/numpy/numpy Commit: 93d3b8dedc5cd602c867a234f07188fe5bd5479b https://github.com/numpy/numpy/commit/93d3b8dedc5cd602c867a234f07188fe5bd5479b Author: Stephan Hoyer Date: 2015-05-11 (Mon, 11 May 2015) Changed paths: M doc/release/1.10.0-notes.rst M doc/source/reference/routines.array-manipulation.rst M numpy/add_newdocs.py M numpy/core/shape_base.py M numpy/core/tests/test_shape_base.py M numpy/lib/function_base.py M numpy/lib/index_tricks.py M numpy/lib/shape_base.py Log Message: ----------- ENH: add np.stack The motivation here is to present a uniform and N-dimensional interface for joining arrays along a new axis, similarly to how `concatenate` provides a uniform and N-dimensional interface for joining arrays along an existing axis. Background ~~~~~~~~~~ Currently, users can choose between `hstack`, `vstack`, `column_stack` and `dstack`, but none of these functions handle N-dimensional input. In my opinion, it's also difficult to keep track of the differences between these methods and to predict how they will handle input with different dimensions. In the past, my preferred approach has been to either construct the result array explicitly and use indexing for assignment, to or use `np.array` to stack along the first dimension and then use `transpose` (or a similar method) to reorder dimensions if necessary. This is pretty awkward. I brought this proposal up a few weeks on the numpy-discussion list: http://mail.scipy.org/pipermail/numpy-discussion/2015-February/072199.html I also received positive feedback on Twitter: https://twitter.com/shoyer/status/565937244599377920 Implementation notes ~~~~~~~~~~~~~~~~~~~~ The one line summaries for `concatenate` and `stack` have been (re)written to mirror each other, and to make clear that the distinction between these functions is whether they join over an existing or new axis. In general, I've tweaked the documentation and docstrings with an eye toward pointing users to `concatenate`/`stack`/`split` as a fundamental set of basic array manipulation routines, and away from `array_split`/`{h,v,d}split`/`{h,v,d,column_}stack` I put this implementation in `numpy.core.shape_base` alongside `hstack`/`vstack`, but it appears that there is also a `numpy.lib.shape_base` module that contains another larger set of functions, including `dstack`. I'm not really sure where this belongs (or if it even matters). Finally, it might be a good idea to write a masked array version of `stack`. But I don't use masked arrays, so I'm not well motivated to do that. Commit: 18c89dbf87929e68479b2272ad7ab4b321120773 https://github.com/numpy/numpy/commit/18c89dbf87929e68479b2272ad7ab4b321120773 Author: Charles Harris Date: 2015-05-12 (Tue, 12 May 2015) Changed paths: M doc/release/1.10.0-notes.rst M doc/source/reference/routines.array-manipulation.rst M numpy/add_newdocs.py M numpy/core/shape_base.py M numpy/core/tests/test_shape_base.py M numpy/lib/function_base.py M numpy/lib/index_tricks.py M numpy/lib/shape_base.py Log Message: ----------- Merge pull request #5605 from shoyer/stack ENH: add np.stack Compare: https://github.com/numpy/numpy/compare/fb6426b3d9b2...18c89dbf8792 From noreply at github.com Tue May 12 02:09:32 2015 From: noreply at github.com (GitHub) Date: Mon, 11 May 2015 23:09:32 -0700 Subject: [Numpy-svn] [numpy/numpy] d7c7bf: Fixed spelling mistake Message-ID: <5551991c2ee88_1d233fd2ad69f2c011247c6@hookshot-fe5-cp1-prd.iad.github.net.mail> Branch: refs/heads/master Home: https://github.com/numpy/numpy Commit: d7c7bf24473d0f56a0625e55f79fef7b55389a13 https://github.com/numpy/numpy/commit/d7c7bf24473d0f56a0625e55f79fef7b55389a13 Author: Richard Barnes Date: 2015-05-12 (Tue, 12 May 2015) Changed paths: M numpy/polynomial/chebyshev.py Log Message: ----------- Fixed spelling mistake Commit: 4fee91335ddd267c36935b26c126113c217a74e1 https://github.com/numpy/numpy/commit/4fee91335ddd267c36935b26c126113c217a74e1 Author: Jaime Date: 2015-05-11 (Mon, 11 May 2015) Changed paths: M numpy/polynomial/chebyshev.py Log Message: ----------- Merge pull request #5870 from r-barnes/master DOC: Fixed spelling mistake Compare: https://github.com/numpy/numpy/compare/18c89dbf8792...4fee91335ddd From noreply at github.com Wed May 13 12:04:18 2015 From: noreply at github.com (GitHub) Date: Wed, 13 May 2015 09:04:18 -0700 Subject: [Numpy-svn] [numpy/numpy] d87d2c: ENH: add 'fweights' and 'aweights' arguments to co... Message-ID: <555376023454f_8e63fddbf8e72b8567ec@hookshot-fe3-cp1-prd.iad.github.net.mail> Branch: refs/heads/master Home: https://github.com/numpy/numpy Commit: d87d2ca584b888bcc48fd2fd25c07eb0c08c0939 https://github.com/numpy/numpy/commit/d87d2ca584b888bcc48fd2fd25c07eb0c08c0939 Author: tpoole Date: 2015-05-13 (Wed, 13 May 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: ----------- ENH: add 'fweights' and 'aweights' arguments to covariance calculations. 'fweights' allows integer frequencies to be specified for observation vectors, and 'aweights' provides a more general importance or probabalistic weighting. Commit: 9ceb5cdd6a7bd0c3402a7cd04a549adea9d7be41 https://github.com/numpy/numpy/commit/9ceb5cdd6a7bd0c3402a7cd04a549adea9d7be41 Author: Charles Harris Date: 2015-05-13 (Wed, 13 May 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 #4960 from tpoole/weighted_cov ENH: add a weighted covariance calculation. Compare: https://github.com/numpy/numpy/compare/4fee91335ddd...9ceb5cdd6a7b From noreply at github.com Wed May 13 22:51:33 2015 From: noreply at github.com (GitHub) Date: Wed, 13 May 2015 19:51:33 -0700 Subject: [Numpy-svn] [numpy/numpy] a0bd6c: MAINT: Simplify code in cov function a bit. Message-ID: <55540db55256c_656c3fd45d1312a04199c@hookshot-fe5-cp1-prd.iad.github.net.mail> Branch: refs/heads/master Home: https://github.com/numpy/numpy Commit: a0bd6c78671a63b9aa1f875bffb4937e4991bbd6 https://github.com/numpy/numpy/commit/a0bd6c78671a63b9aa1f875bffb4937e4991bbd6 Author: Charles Harris Date: 2015-05-13 (Wed, 13 May 2015) Changed paths: M numpy/lib/function_base.py Log Message: ----------- MAINT: Simplify code in cov function a bit. Commit: 0174f2ae5d9efc7d7459c20c99e31ace20a341ed https://github.com/numpy/numpy/commit/0174f2ae5d9efc7d7459c20c99e31ace20a341ed Author: Jaime Date: 2015-05-13 (Wed, 13 May 2015) Changed paths: M numpy/lib/function_base.py Log Message: ----------- Merge pull request #5873 from charris/style-fix-for-cov MAINT: Simplify code in cov function a bit. Compare: https://github.com/numpy/numpy/compare/9ceb5cdd6a7b...0174f2ae5d9e From noreply at github.com Fri May 15 00:29:30 2015 From: noreply at github.com (GitHub) Date: Thu, 14 May 2015 21:29:30 -0700 Subject: [Numpy-svn] [numpy/numpy] bc41aa: MAINT: move the special case for string comparison... Message-ID: <5555762a8fe64_6ec63ff9f27a32b8935c0@hookshot-fe5-cp1-prd.iad.github.net.mail> Branch: refs/heads/binop-dispatch Home: https://github.com/numpy/numpy Commit: bc41aa5acb7a8634720794958ca15b15f2b22d18 https://github.com/numpy/numpy/commit/bc41aa5acb7a8634720794958ca15b15f2b22d18 Author: Nathaniel J. Smith Date: 2015-05-11 (Mon, 11 May 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: 069f0ff6d46d982231d17e073d7c697c9514b4b2 https://github.com/numpy/numpy/commit/069f0ff6d46d982231d17e073d7c697c9514b4b2 Author: Nathaniel J. Smith Date: 2015-05-11 (Mon, 11 May 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: c3c819ae27c103b22ec0e7ce5924986a18b29c30 https://github.com/numpy/numpy/commit/c3c819ae27c103b22ec0e7ce5924986a18b29c30 Author: Nathaniel J. Smith Date: 2015-05-12 (Tue, 12 May 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: acd37c8b5486ab7ccaeb5397f7575f87eeb46961 https://github.com/numpy/numpy/commit/acd37c8b5486ab7ccaeb5397f7575f87eeb46961 Author: Nathaniel J. Smith Date: 2015-05-12 (Tue, 12 May 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: ec8e60096276f80cb3acb02a7dbb5001e5f73bfb https://github.com/numpy/numpy/commit/ec8e60096276f80cb3acb02a7dbb5001e5f73bfb Author: Nathaniel J. Smith Date: 2015-05-14 (Thu, 14 May 2015) Changed paths: M numpy/core/tests/test_deprecations.py Log Message: ----------- MAINT: give more details on assert_deprecation failures Hopefully this will let me debug the failing Travis test, since I can't reproduce it locally.. Compare: https://github.com/numpy/numpy/compare/bc41aa5acb7a^...ec8e60096276 From noreply at github.com Fri May 15 00:29:43 2015 From: noreply at github.com (GitHub) Date: Thu, 14 May 2015 21:29:43 -0700 Subject: [Numpy-svn] [numpy/numpy] Message-ID: <555576374b8b7_5063ff1c5e372bc861f6@hookshot-fe4-cp1-prd.iad.github.net.mail> Branch: refs/heads/binop-dispatch Home: https://github.com/numpy/numpy From noreply at github.com Fri May 15 09:04:45 2015 From: noreply at github.com (GitHub) Date: Fri, 15 May 2015 06:04:45 -0700 Subject: [Numpy-svn] [numpy/numpy] aa5016: BUG: fix _broadcast_shape (and broadcast_array) fo... Message-ID: <5555eeed7948f_155b3fdcfde192bc45179@hookshot-fe6-cp1-prd.iad.github.net.mail> Branch: refs/heads/master Home: https://github.com/numpy/numpy Commit: aa50162b58e0226bf4f5c21ee1d74a94e85cd6d7 https://github.com/numpy/numpy/commit/aa50162b58e0226bf4f5c21ee1d74a94e85cd6d7 Author: Stephan Hoyer Date: 2015-05-15 (Fri, 15 May 2015) Changed paths: M numpy/lib/stride_tricks.py M numpy/lib/tests/test_stride_tricks.py Log Message: ----------- BUG: fix _broadcast_shape (and broadcast_array) for len(args) > 32 Fixes gh-5862 Commit: 0a02b82ed72f0268875bfc6c70d1e8a8dad6c644 https://github.com/numpy/numpy/commit/0a02b82ed72f0268875bfc6c70d1e8a8dad6c644 Author: Jaime Date: 2015-05-15 (Fri, 15 May 2015) Changed paths: M numpy/lib/stride_tricks.py M numpy/lib/tests/test_stride_tricks.py Log Message: ----------- Merge pull request #5879 from shoyer/broadcast-shape-32 BUG: fix _broadcast_shape (and broadcast_array) for len(args) > 32 Compare: https://github.com/numpy/numpy/compare/0174f2ae5d9e...0a02b82ed72f From noreply at github.com Sun May 17 13:17:43 2015 From: noreply at github.com (GitHub) Date: Sun, 17 May 2015 10:17:43 -0700 Subject: [Numpy-svn] [numpy/numpy] aa0532: MANT: handling of axis in np.ma.compress_nd Message-ID: <5558cd37964ac_324d3fd1ee07b2a045656@hookshot-fe3-cp1-prd.iad.github.net.mail> Branch: refs/heads/master Home: https://github.com/numpy/numpy Commit: aa0532f362dc2fd398a78a838f0cd2c95cad19d8 https://github.com/numpy/numpy/commit/aa0532f362dc2fd398a78a838f0cd2c95cad19d8 Author: Jaime Fernandez Date: 2015-05-17 (Sun, 17 May 2015) Changed paths: M numpy/ma/extras.py Log Message: ----------- MANT: handling of axis in np.ma.compress_nd Modified the handling that np.ma.compress_nd does of its 'axis' argument, to more closely follow that of ufunc methods, including error messages for wrong values. Commit: 86f99e867151ead43838eda2f214d42d833dd64a https://github.com/numpy/numpy/commit/86f99e867151ead43838eda2f214d42d833dd64a Author: Charles Harris Date: 2015-05-17 (Sun, 17 May 2015) Changed paths: M numpy/ma/extras.py Log Message: ----------- Merge pull request #5884 from jaimefrio/ma_compress_cleanup MANT: handling of axis in np.ma.compress_nd Compare: https://github.com/numpy/numpy/compare/0a02b82ed72f...86f99e867151 From noreply at github.com Sun May 17 16:54:59 2015 From: noreply at github.com (GitHub) Date: Sun, 17 May 2015 13:54:59 -0700 Subject: [Numpy-svn] [numpy/numpy] 581927: BUG: Handling of axisc in np.cross Message-ID: <55590023ef436_653f3fc0395b929c238c3@hookshot-fe5-cp1-prd.iad.github.net.mail> Branch: refs/heads/master Home: https://github.com/numpy/numpy Commit: 581927a4fcbc7d7c54b7b37e6edc121669863ea5 https://github.com/numpy/numpy/commit/581927a4fcbc7d7c54b7b37e6edc121669863ea5 Author: Jaime Fernandez Date: 2015-05-17 (Sun, 17 May 2015) Changed paths: M numpy/core/numeric.py M numpy/core/tests/test_numeric.py Log Message: ----------- BUG: Handling of axisc in np.cross Fixes #5885 by ignoring `axisc` when both input vectors are 2D. Also adds explicit checks for `axis?` parameters in bounds, to provide more informative errors. Also slightly simplified the calculation logic and documented the assumptions in each branch with `assert`s. Commit: c5cf20ab673c76f4b3ef7f85b4d1fd4149237772 https://github.com/numpy/numpy/commit/c5cf20ab673c76f4b3ef7f85b4d1fd4149237772 Author: Charles Harris Date: 2015-05-17 (Sun, 17 May 2015) Changed paths: M numpy/core/numeric.py M numpy/core/tests/test_numeric.py Log Message: ----------- Merge pull request #5886 from jaimefrio/cross_axis BUG: Handling of axisc in np.cross Compare: https://github.com/numpy/numpy/compare/86f99e867151...c5cf20ab673c From noreply at github.com Tue May 19 01:00:50 2015 From: noreply at github.com (GitHub) Date: Mon, 18 May 2015 22:00:50 -0700 Subject: [Numpy-svn] [numpy/numpy] 7897da: DOC: Fix spelling of Von Hann's surname Message-ID: <555ac382d4ef1_539a3fc26df8b2bc726e9@hookshot-fe3-cp1-prd.iad.github.net.mail> Branch: refs/heads/master Home: https://github.com/numpy/numpy Commit: 7897da783e93c43711cf7d5b555674fefba4d16e https://github.com/numpy/numpy/commit/7897da783e93c43711cf7d5b555674fefba4d16e Author: Stefan van der Walt Date: 2015-05-18 (Mon, 18 May 2015) Changed paths: M numpy/lib/function_base.py Log Message: ----------- DOC: Fix spelling of Von Hann's surname Commit: a79d9d35c1b1582e5e0b8487f5dd414d15944f2c https://github.com/numpy/numpy/commit/a79d9d35c1b1582e5e0b8487f5dd414d15944f2c Author: Nathaniel J. Smith Date: 2015-05-18 (Mon, 18 May 2015) Changed paths: M numpy/lib/function_base.py Log Message: ----------- Merge pull request #5893 from stefanv/hann DOC: Fix spelling of Von Hann's surname Compare: https://github.com/numpy/numpy/compare/c5cf20ab673c...a79d9d35c1b1 From noreply at github.com Thu May 21 16:01:39 2015 From: noreply at github.com (GitHub) Date: Thu, 21 May 2015 13:01:39 -0700 Subject: [Numpy-svn] [numpy/numpy] ad4aa2: MAINT: use more conservative integer types for uma... Message-ID: <555e39a3d154c_77fe3fd7cca4f2c02712f@hookshot-fe3-cp1-prd.iad.github.net.mail> Branch: refs/heads/master Home: https://github.com/numpy/numpy Commit: ad4aa2555010c73cc0aebb35e09ca7a10e7d956e https://github.com/numpy/numpy/commit/ad4aa2555010c73cc0aebb35e09ca7a10e7d956e Author: alex Date: 2015-05-20 (Wed, 20 May 2015) Changed paths: M numpy/linalg/umath_linalg.c.src Log Message: ----------- MAINT: use more conservative integer types for umath linalg Commit: b9f5e85659a79929ccc811498e931608af58c4b7 https://github.com/numpy/numpy/commit/b9f5e85659a79929ccc811498e931608af58c4b7 Author: alex Date: 2015-05-21 (Thu, 21 May 2015) Changed paths: M numpy/linalg/umath_linalg.c.src Log Message: ----------- MAINT: more consistent notation in umath_linalg Commit: 9dba7a4ce593bf67bf58aa0fbcb185173c3ec384 https://github.com/numpy/numpy/commit/9dba7a4ce593bf67bf58aa0fbcb185173c3ec384 Author: Jaime Date: 2015-05-21 (Thu, 21 May 2015) Changed paths: M numpy/linalg/umath_linalg.c.src Log Message: ----------- Merge pull request #5899 from argriffing/improve-umath-linalg MAINT: use more conservative integer types for umath linalg Compare: https://github.com/numpy/numpy/compare/a79d9d35c1b1...9dba7a4ce593 From noreply at github.com Fri May 22 17:09:44 2015 From: noreply at github.com (GitHub) Date: Fri, 22 May 2015 14:09:44 -0700 Subject: [Numpy-svn] [numpy/numpy] 177067: MAINT: use copy=False in a few astype calls Message-ID: <555f9b188fe04_31573faedc07329c113518@hookshot-fe3-cp1-prd.iad.github.net.mail> Branch: refs/heads/master Home: https://github.com/numpy/numpy Commit: 177067a11edd031eba0280aa63143ded196c01e2 https://github.com/numpy/numpy/commit/177067a11edd031eba0280aa63143ded196c01e2 Author: alex Date: 2015-05-22 (Fri, 22 May 2015) Changed paths: M numpy/linalg/linalg.py Log Message: ----------- MAINT: use copy=False in a few astype calls Commit: 464e767f0667ecd7dbd56c89909f8c416729f0dd https://github.com/numpy/numpy/commit/464e767f0667ecd7dbd56c89909f8c416729f0dd Author: alex Date: 2015-05-22 (Fri, 22 May 2015) Changed paths: M numpy/linalg/linalg.py Log Message: ----------- MAINT: skip copy=False for det and logdet Commit: 1ff2be174f86ebca2e7a006012bcc5744ace2f6e https://github.com/numpy/numpy/commit/1ff2be174f86ebca2e7a006012bcc5744ace2f6e Author: alex Date: 2015-05-22 (Fri, 22 May 2015) Changed paths: M numpy/linalg/linalg.py Log Message: ----------- MAINT: conditional copy=False in some astype calls Commit: fd94000ffd0281b7477b1114ba194b64378808c0 https://github.com/numpy/numpy/commit/fd94000ffd0281b7477b1114ba194b64378808c0 Author: Jaime Date: 2015-05-22 (Fri, 22 May 2015) Changed paths: M numpy/linalg/linalg.py Log Message: ----------- Merge pull request #5909 from argriffing/linalg-astype-no-copy MAINT: use copy=False in a few astype() calls Compare: https://github.com/numpy/numpy/compare/9dba7a4ce593...fd94000ffd02 From noreply at github.com Mon May 25 01:19:07 2015 From: noreply at github.com (GitHub) Date: Sun, 24 May 2015 22:19:07 -0700 Subject: [Numpy-svn] [numpy/numpy] 3b825d: Simplify numpy/distutils/__init__.py Message-ID: <5562b0cb46f89_69a63fd6aa4432a035015@hookshot-fe6-cp1-prd.iad.github.net.mail> Branch: refs/heads/master Home: https://github.com/numpy/numpy Commit: 3b825d35fdcc72ae4790c70c139639a6bd7df178 https://github.com/numpy/numpy/commit/3b825d35fdcc72ae4790c70c139639a6bd7df178 Author: Andrea Bedini Date: 2015-05-16 (Sat, 16 May 2015) Changed paths: M numpy/distutils/__init__.py Log Message: ----------- Simplify numpy/distutils/__init__.py Thanks to the presence of from __future__ import absolute_import we don't need different code paths for Python 2/3. Commit: 08443023ddaf774d7b956323860be9b3ae2fa19a https://github.com/numpy/numpy/commit/08443023ddaf774d7b956323860be9b3ae2fa19a Author: Nathaniel J. Smith Date: 2015-05-24 (Sun, 24 May 2015) Changed paths: M numpy/distutils/__init__.py Log Message: ----------- Merge pull request #5892 from andreabedini/master Simplify numpy/distutils/__init__.py Compare: https://github.com/numpy/numpy/compare/fd94000ffd02...08443023ddaf From noreply at github.com Mon May 25 13:38:30 2015 From: noreply at github.com (GitHub) Date: Mon, 25 May 2015 10:38:30 -0700 Subject: [Numpy-svn] [numpy/numpy] 21c59a: DOC: Commit message lines should not excede 72 cha... Message-ID: <55635e1673e63_41e33fef06ef12a02033b7@hookshot-fe4-cp1-prd.iad.github.net.mail> Branch: refs/heads/master Home: https://github.com/numpy/numpy Commit: 21c59aa50614730c66f1f2648b5f6b3aeae40472 https://github.com/numpy/numpy/commit/21c59aa50614730c66f1f2648b5f6b3aeae40472 Author: Charles Harris Date: 2015-05-25 (Mon, 25 May 2015) Changed paths: M doc/source/dev/gitwash/development_workflow.rst Log Message: ----------- DOC: Commit message lines should not excede 72 characters. The reason is that git log indents parts of the message and longer lines will wrap. Linus has a post on this somewhere. Commit: fd720e1d150738a027594b332e048e3431270201 https://github.com/numpy/numpy/commit/fd720e1d150738a027594b332e048e3431270201 Author: Jaime Date: 2015-05-25 (Mon, 25 May 2015) Changed paths: M doc/source/dev/gitwash/development_workflow.rst Log Message: ----------- Merge pull request #5913 from charris/minor-gitwash-correction DOC: Commit message lines should not excede 72 characters. Compare: https://github.com/numpy/numpy/compare/08443023ddaf...fd720e1d1507 From noreply at github.com Tue May 26 09:37:26 2015 From: noreply at github.com (GitHub) Date: Tue, 26 May 2015 06:37:26 -0700 Subject: [Numpy-svn] [numpy/numpy] 929e41: DOC: add nanmedian/nanpercentile to reference docs Message-ID: <55647716c28c9_45003f8809a0b2b8333b2@hookshot-fe3-cp1-prd.iad.github.net.mail> Branch: refs/heads/master Home: https://github.com/numpy/numpy Commit: 929e41d24ce8e1bd981f1d14f233df8cf68b30db https://github.com/numpy/numpy/commit/929e41d24ce8e1bd981f1d14f233df8cf68b30db Author: Joris Van den Bossche Date: 2015-05-26 (Tue, 26 May 2015) Changed paths: M doc/source/reference/routines.statistics.rst Log Message: ----------- DOC: add nanmedian/nanpercentile to reference docs Commit: d1acfd9c232046579029861e5207eb80a1b1f747 https://github.com/numpy/numpy/commit/d1acfd9c232046579029861e5207eb80a1b1f747 Author: Charles Harris Date: 2015-05-26 (Tue, 26 May 2015) Changed paths: M doc/source/reference/routines.statistics.rst Log Message: ----------- Merge pull request #5916 from jorisvandenbossche/doc-nanfunctions DOC: add nanmedian/nanpercentile to reference docs Compare: https://github.com/numpy/numpy/compare/fd720e1d1507...d1acfd9c2320 From noreply at github.com Tue May 26 15:23:21 2015 From: noreply at github.com (GitHub) Date: Tue, 26 May 2015 12:23:21 -0700 Subject: [Numpy-svn] [numpy/numpy] a49ad1: New typemap for in-place arrays of arbitrary numbe... Message-ID: <5564c8293655b_17db3feb76fc929c3111e@hookshot-fe4-cp1-prd.iad.github.net.mail> Branch: refs/heads/master Home: https://github.com/numpy/numpy Commit: a49ad1523c87766134aa98e04772d988040516fb https://github.com/numpy/numpy/commit/a49ad1523c87766134aa98e04772d988040516fb Author: Tom Krauss Date: 2015-05-25 (Mon, 25 May 2015) Changed paths: M doc/source/reference/swig.interface-file.rst M doc/source/reference/swig.testing.rst M tools/swig/README M tools/swig/numpy.i A tools/swig/test/Flat.cxx A tools/swig/test/Flat.h A tools/swig/test/Flat.i M tools/swig/test/Makefile M tools/swig/test/setup.py A tools/swig/test/testFlat.py Log Message: ----------- New typemap for in-place arrays of arbitrary number of dimensions: (DATA_TYPE* INPLACE_ARRAY_FLAT, DIM_TYPE DIM_FLAT) Added unittests, updated documentation. Commit: 0794d8f072ae8fc74550a661d646dc122fd47576 https://github.com/numpy/numpy/commit/0794d8f072ae8fc74550a661d646dc122fd47576 Author: Charles Harris Date: 2015-05-26 (Tue, 26 May 2015) Changed paths: M doc/source/reference/swig.interface-file.rst M doc/source/reference/swig.testing.rst M tools/swig/README M tools/swig/numpy.i A tools/swig/test/Flat.cxx A tools/swig/test/Flat.h A tools/swig/test/Flat.i M tools/swig/test/Makefile M tools/swig/test/setup.py A tools/swig/test/testFlat.py Log Message: ----------- Merge pull request #5914 from sirtom67/master New typemap for in-place arrays of arbitrary number of dimensions: Compare: https://github.com/numpy/numpy/compare/d1acfd9c2320...0794d8f072ae From noreply at github.com Wed May 27 21:48:12 2015 From: noreply at github.com (GitHub) Date: Wed, 27 May 2015 18:48:12 -0700 Subject: [Numpy-svn] [numpy/numpy] eb4c08: DOC: Fix typo and some grammar Message-ID: <556673dce0b0b_591e3fb6237972a03188f@hookshot-fe4-cp1-prd.iad.github.net.mail> Branch: refs/heads/master Home: https://github.com/numpy/numpy Commit: eb4c08d6a4918b223009245027ad92f37c4e0655 https://github.com/numpy/numpy/commit/eb4c08d6a4918b223009245027ad92f37c4e0655 Author: Vraj Mohan Date: 2015-05-27 (Wed, 27 May 2015) Changed paths: M numpy/doc/indexing.py Log Message: ----------- DOC: Fix typo and some grammar Commit: 467d4e16d77a2e7c131aac53c639e82b754578c7 https://github.com/numpy/numpy/commit/467d4e16d77a2e7c131aac53c639e82b754578c7 Author: Nathaniel J. Smith Date: 2015-05-27 (Wed, 27 May 2015) Changed paths: M numpy/doc/indexing.py Log Message: ----------- Merge pull request #5923 from vrajmohan/fix-typo DOC: Fix typo and some grammar Compare: https://github.com/numpy/numpy/compare/0794d8f072ae...467d4e16d77a From noreply at github.com Thu May 28 21:21:49 2015 From: noreply at github.com (GitHub) Date: Thu, 28 May 2015 18:21:49 -0700 Subject: [Numpy-svn] [numpy/numpy] 0c89ba: DOC: np.std and np.var docstring examples are outd... Message-ID: <5567bf2dfaab_12b13f900556929c86056@hookshot-fe5-cp1-prd.iad.github.net.mail> Branch: refs/heads/master Home: https://github.com/numpy/numpy Commit: 0c89ba8b7f0e7b83d9662d88b1913d92d58a2bdb https://github.com/numpy/numpy/commit/0c89ba8b7f0e7b83d9662d88b1913d92d58a2bdb Author: Mortada Mehyar Date: 2015-05-28 (Thu, 28 May 2015) Changed paths: M numpy/core/fromnumeric.py Log Message: ----------- DOC: np.std and np.var docstring examples are outdated Commit: a3ffea107820c06a62fd74c4dff1a51bd1ebb284 https://github.com/numpy/numpy/commit/a3ffea107820c06a62fd74c4dff1a51bd1ebb284 Author: Jaime Date: 2015-05-28 (Thu, 28 May 2015) Changed paths: M numpy/core/fromnumeric.py Log Message: ----------- Merge pull request #5925 from mortada/std_docs DOC: np.std and np.var docstring examples are outdated Compare: https://github.com/numpy/numpy/compare/467d4e16d77a...a3ffea107820