From noreply at github.com Mon Oct 1 00:18:55 2012 From: noreply at github.com (GitHub) Date: Sun, 30 Sep 2012 21:18:55 -0700 Subject: [Numpy-svn] [numpy/numpy] 486a36: BUG: PyErr_SetObject does not steal reference. Message-ID: <506919af6fc4e_211816d0af0563b5@sh3.rs.github.com.mail> Branch: refs/heads/maintenance/1.7.x Home: https://github.com/numpy/numpy Commit: 486a36fbbc3d0408fca46fd21b2cf8e7184c0751 https://github.com/numpy/numpy/commit/486a36fbbc3d0408fca46fd21b2cf8e7184c0751 Author: Sebastian Berg Date: 2012-09-30 (Sun, 30 Sep 2012) Changed paths: M numpy/core/src/multiarray/array_assign.c M numpy/core/src/multiarray/array_assign_array.c M numpy/core/src/multiarray/array_assign_scalar.c M numpy/core/src/multiarray/ctors.c M numpy/core/src/multiarray/datetime.c M numpy/core/src/multiarray/descriptor.c M numpy/core/src/multiarray/methods.c M numpy/core/src/multiarray/nditer_constr.c M numpy/core/src/umath/ufunc_type_resolution.c Log Message: ----------- BUG: PyErr_SetObject does not steal reference. Closes "Ticket #2125" and "Ticket #2216" Commit: 13c7efa8a2d239f021f04965c024147a30a5be3a https://github.com/numpy/numpy/commit/13c7efa8a2d239f021f04965c024147a30a5be3a Author: Sebastian Berg Date: 2012-09-30 (Sun, 30 Sep 2012) Changed paths: M numpy/core/src/multiarray/shape.c Log Message: ----------- Reset flags when Axes are removed. Array might now be 1D, or removed axes of size 1 destroy contiguousity. Commit: 4b6aa87d448ac28880bf850916f8fe902ec4675f https://github.com/numpy/numpy/commit/4b6aa87d448ac28880bf850916f8fe902ec4675f Author: Sebastian Berg Date: 2012-09-30 (Sun, 30 Sep 2012) Changed paths: M numpy/core/tests/test_regression.py Log Message: ----------- Tests related to Issue #387 Commit: d4e25cd0ea45aa1f10386fe3b2d640efc45a4662 https://github.com/numpy/numpy/commit/d4e25cd0ea45aa1f10386fe3b2d640efc45a4662 Author: Nathaniel J. Smith Date: 2012-09-30 (Sun, 30 Sep 2012) Changed paths: M numpy/testing/tests/test_utils.py M numpy/testing/utils.py Log Message: ----------- ENH: More capable test functions for warnings 1) New function assert_no_warnings 2) Make assert_warns and assert_no_warnings pass through the function's return value on success, so that it can be checked as well. Commit: 2397c9d4908c34de3aff4c834b938f696518418b https://github.com/numpy/numpy/commit/2397c9d4908c34de3aff4c834b938f696518418b Author: Nathaniel J. Smith Date: 2012-09-30 (Sun, 30 Sep 2012) Changed paths: M doc/release/1.7.0-notes.rst M doc/source/reference/ufuncs.rst M numpy/core/code_generators/numpy_api.py M numpy/core/include/numpy/ndarraytypes.h M numpy/core/src/multiarray/common.c M numpy/core/src/multiarray/convert_datatype.c M numpy/core/tests/test_ufunc.py Log Message: ----------- FIX: Transition scheme for safer in-place ufunc operations In numpy 1.6 and earlier, if you do np.add(int_arr, float_arr, out=int_arr) or int_arr += float_arr then the result will be silently truncated to integer values. This often produces bugs, because it's easy to accidentally end up with an integer array and not realize it. Therefore, there seems to be consensus that we should switch to using same_kind casting by default for in-place ufunc operations. However, just switching this (as was done initially during the 1.7 development cycle) breaks a lot of code, which is rude and violates our deprecation policy. This commit instead adds a special temporary casting rule which acts like "unsafe", but also checks whether each operation would be allowed under "same_kind" rules and issues a DeprecationWarning if not. It also moves NPY_DEFAULT_ASSIGN_CASTING into the formal API instead of leaving it as a #define. This way we can change it later, and any code which references it and is compiled against this version of numpy will automatically switch to whatever we change it too. This avoids the situation where we want to remove the temporary magic value we're using to create DeprecationWarnings now, but can't because it would be an ABI break. Commit: 1db458597494980a4c16453d29a26e208d16e8bf https://github.com/numpy/numpy/commit/1db458597494980a4c16453d29a26e208d16e8bf Author: Nathaniel J. Smith Date: 2012-09-30 (Sun, 30 Sep 2012) Changed paths: M numpy/core/include/numpy/ndarraytypes.h M numpy/core/src/multiarray/common.c M numpy/core/src/multiarray/convert_datatype.c M numpy/core/tests/test_ufunc.py Log Message: ----------- STY: fix up style and a few wordings on previous commit Commit: f2e34d61e0dd6690519be9d702d3a2c810e608d9 https://github.com/numpy/numpy/commit/f2e34d61e0dd6690519be9d702d3a2c810e608d9 Author: Nathaniel J. Smith Date: 2012-09-30 (Sun, 30 Sep 2012) Changed paths: M numpy/core/tests/test_ufunc.py Log Message: ----------- STY: another wording tweak (thanks to @charris) Commit: c11c6edff540b8d8e0bbb953f11c1908aef3137b https://github.com/numpy/numpy/commit/c11c6edff540b8d8e0bbb953f11c1908aef3137b Author: Matthew Brett Date: 2012-09-30 (Sun, 30 Sep 2012) Changed paths: M numpy/core/src/multiarray/multiarraymodule.c M numpy/core/tests/test_shape_base.py Log Message: ----------- BUG: allow any axis for np.concatenate for 1D Previous numpies allowed the user to pass any integer as axis argument to np.concatenate, when the input arrays were 1D. At some point we tightened up on this, raising an error for axis values other than 0. This raises a FutureWarning for axis numbers != 0, but allows them, for backwards compatibility. Conflicts: numpy/core/tests/test_shape_base.py Commit: 91fb6e4f01ffe25671de168ca6d9f6ea19c1a237 https://github.com/numpy/numpy/commit/91fb6e4f01ffe25671de168ca6d9f6ea19c1a237 Author: Matthew Brett Date: 2012-09-30 (Sun, 30 Sep 2012) Changed paths: M numpy/core/src/multiarray/multiarraymodule.c M numpy/core/tests/test_shape_base.py Log Message: ----------- BUG: change FutureWarning to DeprecationWarning Use of PyErr_WarnEx causing failure for Python 2.4. Commit: 9ea0f0f0ed07d234645fee0eccd1773d0397301a https://github.com/numpy/numpy/commit/9ea0f0f0ed07d234645fee0eccd1773d0397301a Author: Matthew Brett Date: 2012-09-30 (Sun, 30 Sep 2012) Changed paths: M numpy/core/tests/test_shape_base.py Log Message: ----------- TST: test DeprecationWarning raised by concatenate >From review by Nathaniel - thanks. Commit: 86fbf95def074931606344fc405aea705e4f427f https://github.com/numpy/numpy/commit/86fbf95def074931606344fc405aea705e4f427f Author: Ond?ej ?ert?k Date: 2012-09-30 (Sun, 30 Sep 2012) Changed paths: M doc/release/1.7.0-notes.rst M doc/source/reference/ufuncs.rst M numpy/core/code_generators/numpy_api.py M numpy/core/include/numpy/ndarraytypes.h M numpy/core/src/multiarray/array_assign.c M numpy/core/src/multiarray/array_assign_array.c M numpy/core/src/multiarray/array_assign_scalar.c M numpy/core/src/multiarray/common.c M numpy/core/src/multiarray/convert_datatype.c M numpy/core/src/multiarray/ctors.c M numpy/core/src/multiarray/datetime.c M numpy/core/src/multiarray/descriptor.c M numpy/core/src/multiarray/methods.c M numpy/core/src/multiarray/multiarraymodule.c M numpy/core/src/multiarray/nditer_constr.c M numpy/core/src/multiarray/shape.c M numpy/core/src/umath/ufunc_type_resolution.c M numpy/core/tests/test_regression.py M numpy/core/tests/test_shape_base.py M numpy/core/tests/test_ufunc.py M numpy/testing/tests/test_utils.py M numpy/testing/utils.py Log Message: ----------- Merge pull request #472 from certik/1.7.x-backport 1.7.x backport Compare: https://github.com/numpy/numpy/compare/7ae2fb0160a0...86fbf95def07 From noreply at github.com Mon Oct 1 00:30:02 2012 From: noreply at github.com (GitHub) Date: Sun, 30 Sep 2012 21:30:02 -0700 Subject: [Numpy-svn] [numpy/numpy] 900d2e: DOC: Mention deprecation warning in release notes Message-ID: <50691c4ac6dd0_78ba198fae8561c0@sh2.rs.github.com.mail> Branch: refs/heads/maintenance/1.7.x Home: https://github.com/numpy/numpy Commit: 900d2e501d2ef4f965ee5aa6fbc59ddc23daba09 https://github.com/numpy/numpy/commit/900d2e501d2ef4f965ee5aa6fbc59ddc23daba09 Author: Ond?ej ?ert?k Date: 2012-09-30 (Sun, 30 Sep 2012) Changed paths: M doc/release/1.7.0-notes.rst Log Message: ----------- DOC: Mention deprecation warning in release notes Commit: b65d7e6513ef66e64f8eff712fcdf7e9d119e4c9 https://github.com/numpy/numpy/commit/b65d7e6513ef66e64f8eff712fcdf7e9d119e4c9 Author: Ond?ej ?ert?k Date: 2012-09-30 (Sun, 30 Sep 2012) Changed paths: M numpy/core/tests/test_shape_base.py Log Message: ----------- DOC: fix a typo in a comment Compare: https://github.com/numpy/numpy/compare/86fbf95def07...b65d7e6513ef From noreply at github.com Mon Oct 1 00:30:50 2012 From: noreply at github.com (GitHub) Date: Sun, 30 Sep 2012 21:30:50 -0700 Subject: [Numpy-svn] [numpy/numpy] e18e74: DOC: fix a typo in a comment Message-ID: <50691c7a214d7_7ca31677af4115286@sh3.rs.github.com.mail> Branch: refs/heads/master Home: https://github.com/numpy/numpy Commit: e18e7441700db0ff2fd8f51901aa416c63e35cbc https://github.com/numpy/numpy/commit/e18e7441700db0ff2fd8f51901aa416c63e35cbc Author: Ond?ej ?ert?k Date: 2012-09-30 (Sun, 30 Sep 2012) Changed paths: M numpy/core/tests/test_shape_base.py Log Message: ----------- DOC: fix a typo in a comment From noreply at github.com Wed Oct 3 11:30:04 2012 From: noreply at github.com (GitHub) Date: Wed, 03 Oct 2012 08:30:04 -0700 Subject: [Numpy-svn] [numpy/numpy] 04fddc: TST: Add failing test for unicode array with objec... Message-ID: <506c59fc1d6ec_60261939ae41592dc@sh2.rs.github.com.mail> Branch: refs/heads/master Home: https://github.com/numpy/numpy Commit: 04fddc0a2d017eef03345f9b3afb0622c9d50584 https://github.com/numpy/numpy/commit/04fddc0a2d017eef03345f9b3afb0622c9d50584 Author: Skipper Seabold Date: 2012-09-25 (Tue, 25 Sep 2012) Changed paths: M numpy/core/tests/test_arrayprint.py Log Message: ----------- TST: Add failing test for unicode array with object dtype Commit: 8e0a542830e336a036ab9ca64a7ccf87d1953c40 https://github.com/numpy/numpy/commit/8e0a542830e336a036ab9ca64a7ccf87d1953c40 Author: Skipper Seabold Date: 2012-09-25 (Tue, 25 Sep 2012) Changed paths: M numpy/core/arrayprint.py Log Message: ----------- BUG: Use numpystr for arrayprint fallback instead of str Commit: 0f5bbfaec635de96892e003457a1d638bf0c3786 https://github.com/numpy/numpy/commit/0f5bbfaec635de96892e003457a1d638bf0c3786 Author: Skipper Seabold Date: 2012-09-26 (Wed, 26 Sep 2012) Changed paths: M numpy/core/tests/test_arrayprint.py Log Message: ----------- TST: Change expected output for Python 3. Commit: 43f1d5c6ae33fb23b494a2039b303aab3e0e8186 https://github.com/numpy/numpy/commit/43f1d5c6ae33fb23b494a2039b303aab3e0e8186 Author: njsmith Date: 2012-10-03 (Wed, 03 Oct 2012) Changed paths: M numpy/core/arrayprint.py M numpy/core/tests/test_arrayprint.py Log Message: ----------- Merge pull request #459 from jseabold/fix-unicode-repr-object Fix unicode repr object Compare: https://github.com/numpy/numpy/compare/e18e7441700d...43f1d5c6ae33 From noreply at github.com Wed Oct 3 16:15:10 2012 From: noreply at github.com (GitHub) Date: Wed, 03 Oct 2012 13:15:10 -0700 Subject: [Numpy-svn] [numpy/numpy] 5a6601: DOC: document in dev-guide how to write a good com... Message-ID: <506c9cce59de0_7f521a73af47259d@sh2.rs.github.com.mail> Branch: refs/heads/master Home: https://github.com/numpy/numpy Commit: 5a6601af7696c277310df44ad7cea6a84c01d8bc https://github.com/numpy/numpy/commit/5a6601af7696c277310df44ad7cea6a84c01d8bc Author: Ralf Gommers Date: 2012-09-22 (Sat, 22 Sep 2012) Changed paths: M doc/source/dev/gitwash/development_workflow.rst Log Message: ----------- DOC: document in dev-guide how to write a good commit message. Commit: 32d13f613b3528f3110db54ccf2095ecdac9faa6 https://github.com/numpy/numpy/commit/32d13f613b3528f3110db54ccf2095ecdac9faa6 Author: Ralf Gommers Date: 2012-09-22 (Sat, 22 Sep 2012) Changed paths: M doc/source/dev/gitwash/development_workflow.rst Log Message: ----------- DOC: a few edits to make "Development Workflow" in the dev guide clearer. Commit: 936fb7c3e2636bfc7f1f9ece72ab37e3df073bba https://github.com/numpy/numpy/commit/936fb7c3e2636bfc7f1f9ece72ab37e3df073bba Author: Ralf Gommers Date: 2012-09-22 (Sat, 22 Sep 2012) Changed paths: M doc/source/dev/gitwash/development_setup.rst M doc/source/dev/gitwash/following_latest.rst M doc/source/dev/gitwash/index.rst R doc/source/dev/gitwash/patching.rst Log Message: ----------- DOC: remove section "Patching" from dev-guide. This section is outdated, and following it pretty much ensures that your patches will languish in Trac. Commit: 0dd5a76bcc3da1c3b016a1304bba31c6c55cdeb4 https://github.com/numpy/numpy/commit/0dd5a76bcc3da1c3b016a1304bba31c6c55cdeb4 Author: Ralf Gommers Date: 2012-09-22 (Sat, 22 Sep 2012) Changed paths: M doc/source/dev/gitwash/development_workflow.rst Log Message: ----------- DOC: one more edit to the dev-guide. Recommend to update master before creating your feature branch. Thanks to Nicky van Foreest for feedback on the dev-guide. Commit: c906fdce4daaae37df7e6a8abc291f04caf35ea4 https://github.com/numpy/numpy/commit/c906fdce4daaae37df7e6a8abc291f04caf35ea4 Author: Ralf Gommers Date: 2012-09-23 (Sun, 23 Sep 2012) Changed paths: M doc/source/dev/gitwash/development_workflow.rst Log Message: ----------- DOC: expand sections on commit messages and merging/rebasing in the devguide. This commit address comments from Charles on PR #455. Commit: 0022325e516fd249bd1b754b9363f2b8b793d148 https://github.com/numpy/numpy/commit/0022325e516fd249bd1b754b9363f2b8b793d148 Author: Charles Harris Date: 2012-10-03 (Wed, 03 Oct 2012) Changed paths: M doc/source/dev/gitwash/development_setup.rst M doc/source/dev/gitwash/development_workflow.rst M doc/source/dev/gitwash/following_latest.rst M doc/source/dev/gitwash/index.rst R doc/source/dev/gitwash/patching.rst Log Message: ----------- Merge pull request #455 from rgommers/devguide-update Devguide update Compare: https://github.com/numpy/numpy/compare/43f1d5c6ae33...0022325e516f From noreply at github.com Wed Oct 3 20:31:37 2012 From: noreply at github.com (GitHub) Date: Wed, 03 Oct 2012 17:31:37 -0700 Subject: [Numpy-svn] [numpy/numpy] f085bc: BUG: Fix complex to bool conversion in lowlevel_st... Message-ID: <506cd8e9da9fb_2b0a1607aec712bf@sh2.rs.github.com.mail> Branch: refs/heads/master Home: https://github.com/numpy/numpy Commit: f085bc29c5c5fe47c2e1c5481aef016917439cd1 https://github.com/numpy/numpy/commit/f085bc29c5c5fe47c2e1c5481aef016917439cd1 Author: Sebastian Berg Date: 2012-10-01 (Mon, 01 Oct 2012) Changed paths: M numpy/core/src/multiarray/lowlevel_strided_loops.c.src Log Message: ----------- BUG: Fix complex to bool conversion in lowlevel_strided_loops Closes "Ticket 2218". Commit: a8ffb486a825104362698f9738d1759a63251724 https://github.com/numpy/numpy/commit/a8ffb486a825104362698f9738d1759a63251724 Author: Sebastian Berg Date: 2012-10-01 (Mon, 01 Oct 2012) Changed paths: M numpy/core/tests/test_regression.py Log Message: ----------- TST: Complex to bool conversion (Ticket 2218) Commit: 3f10c36339c0fe40e72378a990e6b3c5423805fb https://github.com/numpy/numpy/commit/3f10c36339c0fe40e72378a990e6b3c5423805fb Author: Charles Harris Date: 2012-10-03 (Wed, 03 Oct 2012) Changed paths: M numpy/core/src/multiarray/lowlevel_strided_loops.c.src M numpy/core/tests/test_regression.py Log Message: ----------- Merge pull request #477 from seberg/ticket2218 BUG: Fix complex to bool conversion in lowlevel_strided_loops Compare: https://github.com/numpy/numpy/compare/0022325e516f...3f10c36339c0 From noreply at github.com Mon Oct 8 17:46:48 2012 From: noreply at github.com (GitHub) Date: Mon, 08 Oct 2012 14:46:48 -0700 Subject: [Numpy-svn] [numpy/numpy] 471dde: gave MapIter an API Message-ID: <507349c887fcf_22a018d8af0107344@sh3.rs.github.com.mail> Branch: refs/heads/master Home: https://github.com/numpy/numpy Commit: 471dde9985d89cfa2442f80753dc639f4908134d https://github.com/numpy/numpy/commit/471dde9985d89cfa2442f80753dc639f4908134d Author: John Salvatier Date: 2012-10-08 (Mon, 08 Oct 2012) Changed paths: M numpy/core/code_generators/cversions.txt M numpy/core/code_generators/genapi.py M numpy/core/code_generators/numpy_api.py M numpy/core/setup_common.py M numpy/core/src/multiarray/mapping.c Log Message: ----------- gave MapIter an API Commit: 860a1f71d0faf267e468f8e09e9903c00910a14e https://github.com/numpy/numpy/commit/860a1f71d0faf267e468f8e09e9903c00910a14e Author: John Salvatier Date: 2012-10-08 (Mon, 08 Oct 2012) Changed paths: M numpy/core/code_generators/cversions.txt M numpy/core/code_generators/numpy_api.py M numpy/core/src/multiarray/mapping.c Log Message: ----------- changed the name of _swap_axes Commit: 7c64889c079b21ee1b802f7149698b27d36315e3 https://github.com/numpy/numpy/commit/7c64889c079b21ee1b802f7149698b27d36315e3 Author: John Salvatier Date: 2012-10-08 (Mon, 08 Oct 2012) Changed paths: M numpy/core/code_generators/numpy_api.py Log Message: ----------- removed expsure of mapiter type Commit: 262610140504198b7a1542b65831db78bba50cb8 https://github.com/numpy/numpy/commit/262610140504198b7a1542b65831db78bba50cb8 Author: John Salvatier Date: 2012-10-08 (Mon, 08 Oct 2012) Changed paths: M numpy/core/src/multiarray/mapping.c Log Message: ----------- changed error handling for clarity Commit: 9194042e31301ddd7375e8f3a392e3841b8a4164 https://github.com/numpy/numpy/commit/9194042e31301ddd7375e8f3a392e3841b8a4164 Author: John Salvatier Date: 2012-10-08 (Mon, 08 Oct 2012) Changed paths: M numpy/core/src/multiarray/mapping.c Log Message: ----------- eliminated oned and fancy arguments to MapIterArray Commit: f9f949871c04aea7e2463ec7d40ad64f219cd520 https://github.com/numpy/numpy/commit/f9f949871c04aea7e2463ec7d40ad64f219cd520 Author: John Salvatier Date: 2012-10-08 (Mon, 08 Oct 2012) Changed paths: M numpy/core/src/multiarray/multiarray_tests.c.src M numpy/core/tests/test_multiarray.py Log Message: ----------- added initial mapiter tests Commit: d05d9994f7345ee3de599a2e27b830ff192f90ff https://github.com/numpy/numpy/commit/d05d9994f7345ee3de599a2e27b830ff192f90ff Author: John Salvatier Date: 2012-10-08 (Mon, 08 Oct 2012) Changed paths: M numpy/core/src/multiarray/multiarray_tests.c.src M numpy/core/tests/test_multiarray.py Log Message: ----------- fixed tests Commit: 65bd91defe76f225d27b58a21a89dc5dcf7c53c2 https://github.com/numpy/numpy/commit/65bd91defe76f225d27b58a21a89dc5dcf7c53c2 Author: John Salvatier Date: 2012-10-08 (Mon, 08 Oct 2012) Changed paths: M numpy/core/code_generators/numpy_api.py M numpy/core/tests/test_multiarray.py Log Message: ----------- inplace passes tests Commit: 926c5adbf74ee5e9b51fcc8fc8ffc0aa6ee309bc https://github.com/numpy/numpy/commit/926c5adbf74ee5e9b51fcc8fc8ffc0aa6ee309bc Author: Charles Harris Date: 2012-10-08 (Mon, 08 Oct 2012) Changed paths: M numpy/core/code_generators/cversions.txt M numpy/core/code_generators/genapi.py M numpy/core/code_generators/numpy_api.py M numpy/core/setup_common.py M numpy/core/src/multiarray/mapping.c M numpy/core/src/multiarray/multiarray_tests.c.src M numpy/core/tests/test_multiarray.py Log Message: ----------- Merge PR 377: expose Mapiter in the numpy API. * PR-377: inplace passes tests fixed tests added initial mapiter tests eliminated oned and fancy arguments to MapIterArray changed error handling for clarity removed expsure of mapiter type changed the name of _swap_axes gave MapIter an API Compare: https://github.com/numpy/numpy/compare/3f10c36339c0...926c5adbf74e From noreply at github.com Tue Oct 9 17:11:51 2012 From: noreply at github.com (GitHub) Date: Tue, 09 Oct 2012 14:11:51 -0700 Subject: [Numpy-svn] [numpy/numpy] 20825a: ENH: add support for arch autodetection. Message-ID: <5074931724f15_1174df1aec1230ab@sh2.rs.github.com.mail> Branch: refs/heads/master Home: https://github.com/numpy/numpy Commit: 20825a9b01d22525216f5fd440ffb3d99dca12ef https://github.com/numpy/numpy/commit/20825a9b01d22525216f5fd440ffb3d99dca12ef Author: David Cournapeau Date: 2012-10-09 (Tue, 09 Oct 2012) Changed paths: M bscript Log Message: ----------- ENH: add support for arch autodetection. Commit: eed2372f602c8baba959c5cb138e27de7736e07d https://github.com/numpy/numpy/commit/eed2372f602c8baba959c5cb138e27de7736e07d Author: David Cournapeau Date: 2012-10-09 (Tue, 09 Oct 2012) Changed paths: M bscript Log Message: ----------- FEAT: blas/lapack can be configured from command line. Commit: 8be8ce82453be30deae730920ba863db398d3051 https://github.com/numpy/numpy/commit/8be8ce82453be30deae730920ba863db398d3051 Author: David Cournapeau Date: 2012-10-09 (Tue, 09 Oct 2012) Changed paths: M numpy/core/bscript Log Message: ----------- BUG: fix in-place build. Commit: fd9ee7317a54ca1fa891a721476a0464308bcd72 https://github.com/numpy/numpy/commit/fd9ee7317a54ca1fa891a721476a0464308bcd72 Author: David Cournapeau Date: 2012-10-09 (Tue, 09 Oct 2012) Changed paths: M bscript Log Message: ----------- REF: move blas/lapack check into bento. Compare: https://github.com/numpy/numpy/compare/926c5adbf74e...fd9ee7317a54 From noreply at github.com Wed Oct 10 00:56:56 2012 From: noreply at github.com (GitHub) Date: Tue, 09 Oct 2012 21:56:56 -0700 Subject: [Numpy-svn] [numpy/numpy] fa967e: ENH: Allow objects to use the array interface with... Message-ID: <507500182cb8b_36dcf96af0549be@sh2.rs.github.com.mail> Branch: refs/heads/master Home: https://github.com/numpy/numpy Commit: fa967ee478e819ce34ee6de2745f3be4c5350b67 https://github.com/numpy/numpy/commit/fa967ee478e819ce34ee6de2745f3be4c5350b67 Author: Han Genuit Date: 2012-09-16 (Sun, 16 Sep 2012) Changed paths: M numpy/core/src/multiarray/ctors.c Log Message: ----------- ENH: Allow objects to use the array interface without specifying data Commit: 9e7a7665394f8f314428343a6c7a9dfdcadf40ed https://github.com/numpy/numpy/commit/9e7a7665394f8f314428343a6c7a9dfdcadf40ed Author: Han Genuit Date: 2012-09-16 (Sun, 16 Sep 2012) Changed paths: M numpy/core/src/multiarray/ctors.c Log Message: ----------- BUG: Make shape check for special case a bit stricter Commit: bfceb537ee18c02537fd56b76328bd000a272ff2 https://github.com/numpy/numpy/commit/bfceb537ee18c02537fd56b76328bd000a272ff2 Author: Han Genuit Date: 2012-09-16 (Sun, 16 Sep 2012) Changed paths: M numpy/core/tests/test_multiarray.py Log Message: ----------- TST: Add test for special case in array interface Commit: 54b4dc7d40d013e388fabc81a4e36a4a8c0ed1a4 https://github.com/numpy/numpy/commit/54b4dc7d40d013e388fabc81a4e36a4a8c0ed1a4 Author: Han Genuit Date: 2012-09-16 (Sun, 16 Sep 2012) Changed paths: M numpy/core/src/multiarray/ctors.c Log Message: ----------- BUG: Make sure empty shapes are disallowed when data is specified Commit: 32b1e64dfe854091a8ac4dbc38ca035f207419e9 https://github.com/numpy/numpy/commit/32b1e64dfe854091a8ac4dbc38ca035f207419e9 Author: Han Genuit Date: 2012-09-19 (Wed, 19 Sep 2012) Changed paths: M numpy/core/src/multiarray/common.c M numpy/core/src/multiarray/ctors.c Log Message: ----------- BUG: Fixes for Python 3.x Commit: acdf49b8cf4090dae1640a12ad4b919c6dc40feb https://github.com/numpy/numpy/commit/acdf49b8cf4090dae1640a12ad4b919c6dc40feb Author: Han Genuit Date: 2012-09-30 (Sun, 30 Sep 2012) Changed paths: M numpy/core/src/multiarray/ctors.c Log Message: ----------- BUG: Handle scalars correctly. Commit: 097e823c84048a85082e4e1c9e35952ad39b2064 https://github.com/numpy/numpy/commit/097e823c84048a85082e4e1c9e35952ad39b2064 Author: Han Genuit Date: 2012-09-30 (Sun, 30 Sep 2012) Changed paths: M numpy/core/src/multiarray/ctors.c Log Message: ----------- ENH: Assume object is scalar if no shape and data attribute are given Commit: de3075f5484a6e71273633bc1202c0971f8889e2 https://github.com/numpy/numpy/commit/de3075f5484a6e71273633bc1202c0971f8889e2 Author: Han Genuit Date: 2012-09-30 (Sun, 30 Sep 2012) Changed paths: M numpy/core/src/multiarray/ctors.c Log Message: ----------- BUG: Disallow shapesize > 1 when coercing scalar to array Commit: 92ecbdde33f6f61712d7d1a0e4500c76a65aac7a https://github.com/numpy/numpy/commit/92ecbdde33f6f61712d7d1a0e4500c76a65aac7a Author: Han Genuit Date: 2012-09-30 (Sun, 30 Sep 2012) Changed paths: M numpy/core/tests/test_multiarray.py Log Message: ----------- TST: Add more tests. Commit: ca27396b2f32befb7465c4a245329716cb212b80 https://github.com/numpy/numpy/commit/ca27396b2f32befb7465c4a245329716cb212b80 Author: Travis E. Oliphant Date: 2012-10-09 (Tue, 09 Oct 2012) Changed paths: M numpy/core/src/multiarray/common.c M numpy/core/src/multiarray/ctors.c M numpy/core/tests/test_multiarray.py Log Message: ----------- Merge pull request #444 from 87/fix_array_iface Fix for issue #291 Compare: https://github.com/numpy/numpy/compare/fd9ee7317a54...ca27396b2f32 From noreply at github.com Wed Oct 10 01:23:42 2012 From: noreply at github.com (GitHub) Date: Tue, 09 Oct 2012 22:23:42 -0700 Subject: [Numpy-svn] [numpy/numpy] 7a5a8a: BUG: strides should only be changed if dimensions=... Message-ID: <5075065ee48eb_3b4d12ceaec44218@sh3.rs.github.com.mail> Branch: refs/heads/master Home: https://github.com/numpy/numpy Commit: 7a5a8ad078615036ddf9bc0323aedf4a706296ab https://github.com/numpy/numpy/commit/7a5a8ad078615036ddf9bc0323aedf4a706296ab Author: Sebastian Berg Date: 2012-09-24 (Mon, 24 Sep 2012) Changed paths: M numpy/core/src/multiarray/shape.c Log Message: ----------- BUG: strides should only be changed if dimensions==1 This fixes Issue #380". Commit: 622045abdc567ae3f4995ed355f3fc690533621e https://github.com/numpy/numpy/commit/622045abdc567ae3f4995ed355f3fc690533621e Author: Sebastian Berg Date: 2012-09-24 (Mon, 24 Sep 2012) Changed paths: M numpy/core/tests/test_regression.py Log Message: ----------- TST: reshaping of zero strided array (Issue #380) Commit: 96abba1a14db89b933f1a4514c48c3e25af019a1 https://github.com/numpy/numpy/commit/96abba1a14db89b933f1a4514c48c3e25af019a1 Author: Travis E. Oliphant Date: 2012-10-09 (Tue, 09 Oct 2012) Changed paths: M numpy/core/src/multiarray/shape.c M numpy/core/tests/test_regression.py Log Message: ----------- Merge pull request #454 from seberg/issue380 FIX: Issue #380 Compare: https://github.com/numpy/numpy/compare/ca27396b2f32...96abba1a14db From noreply at github.com Wed Oct 10 01:29:55 2012 From: noreply at github.com (GitHub) Date: Tue, 09 Oct 2012 22:29:55 -0700 Subject: [Numpy-svn] [numpy/numpy] 095534: BUG: Fill correct strides for ndmin in array creat... Message-ID: <507507d3db82a_4530d7faf048346@sh2.rs.github.com.mail> Branch: refs/heads/master Home: https://github.com/numpy/numpy Commit: 095534fbceb34b03a5c963acd77834a9b001bf38 https://github.com/numpy/numpy/commit/095534fbceb34b03a5c963acd77834a9b001bf38 Author: Sebastian Berg Date: 2012-09-29 (Sat, 29 Sep 2012) Changed paths: M numpy/core/src/multiarray/multiarraymodule.c Log Message: ----------- BUG: Fill correct strides for ndmin in array creation Closes "Issue #465", strides need to be set according to the requested contiguous flags. Commit: c5e8990bd857fd0869e7437428e5bf0d491336a0 https://github.com/numpy/numpy/commit/c5e8990bd857fd0869e7437428e5bf0d491336a0 Author: Sebastian Berg Date: 2012-09-29 (Sat, 29 Sep 2012) Changed paths: M numpy/core/tests/test_regression.py Log Message: ----------- TST: Test that ndmin honors requested and original order. Commit: 87930c4c30f14226ae8ceb0340858fd9940d67ea https://github.com/numpy/numpy/commit/87930c4c30f14226ae8ceb0340858fd9940d67ea Author: Travis E. Oliphant Date: 2012-10-09 (Tue, 09 Oct 2012) Changed paths: M numpy/core/src/multiarray/multiarraymodule.c M numpy/core/tests/test_regression.py Log Message: ----------- Merge pull request #466 from seberg/issue465 BUG: Fill correct strides for ndmin in array creation Compare: https://github.com/numpy/numpy/compare/96abba1a14db...87930c4c30f1 From noreply at github.com Wed Oct 10 01:31:27 2012 From: noreply at github.com (GitHub) Date: Tue, 09 Oct 2012 22:31:27 -0700 Subject: [Numpy-svn] [numpy/numpy] 1a71ed: [FIX] preserve memory order in np.copy() Message-ID: <5075082fc4f29_40b1446af031658@sh2.rs.github.com.mail> Branch: refs/heads/master Home: https://github.com/numpy/numpy Commit: 1a71edc55b227e590022d402e5b6558d3a9921f1 https://github.com/numpy/numpy/commit/1a71edc55b227e590022d402e5b6558d3a9921f1 Author: Nathaniel J. Smith Date: 2012-10-01 (Mon, 01 Oct 2012) Changed paths: M numpy/add_newdocs.py M numpy/lib/function_base.py M numpy/lib/tests/test_function_base.py Log Message: ----------- [FIX] preserve memory order in np.copy() This switches us back to the behaviour seen in numpy 1.6 and earlier, which it turns out that scikit-learn (and probably others) relied on. Commit: ebc9bbb0f1d3f316254b29f8965112c85b63e62f https://github.com/numpy/numpy/commit/ebc9bbb0f1d3f316254b29f8965112c85b63e62f Author: Travis E. Oliphant Date: 2012-10-09 (Tue, 09 Oct 2012) Changed paths: M numpy/add_newdocs.py M numpy/lib/function_base.py M numpy/lib/tests/test_function_base.py Log Message: ----------- Merge pull request #476 from njsmith/copy-memory-order [FIX] preserve memory order in np.copy() Compare: https://github.com/numpy/numpy/compare/87930c4c30f1...ebc9bbb0f1d3 From noreply at github.com Wed Oct 10 01:49:09 2012 From: noreply at github.com (GitHub) Date: Tue, 09 Oct 2012 22:49:09 -0700 Subject: [Numpy-svn] [numpy/numpy] 7078f0: FIX: remove log line causing warning from disutils Message-ID: <50750c552d820_40b1446af0337d1@sh2.rs.github.com.mail> Branch: refs/heads/master Home: https://github.com/numpy/numpy Commit: 7078f01420626e8261389ce558cb27d750d6650e https://github.com/numpy/numpy/commit/7078f01420626e8261389ce558cb27d750d6650e Author: Matthew Brett Date: 2012-10-06 (Sat, 06 Oct 2012) Changed paths: M numpy/distutils/misc_util.py Log Message: ----------- FIX: remove log line causing warning from disutils Using numpy.distutils through easy_install caused a RuntimeWarning because of a failed import of numpy.distutils. Discussion here: http://thread.gmane.org/gmane.comp.python.numeric.general/51719 The conclusion seemed to be that the safest fix is to remove the one line of logging in the relevant callback. Thanks to Ralf Gommers for the suggestion. Commit: fe6f42c427239d36579723085cc5207cedd8dcd1 https://github.com/numpy/numpy/commit/fe6f42c427239d36579723085cc5207cedd8dcd1 Author: Travis E. Oliphant Date: 2012-10-09 (Tue, 09 Oct 2012) Changed paths: M numpy/distutils/misc_util.py Log Message: ----------- Merge pull request #480 from matthew-brett/fix-distutils-log-warning FIX: remove log line causing warning from disutils Compare: https://github.com/numpy/numpy/compare/ebc9bbb0f1d3...fe6f42c42723 From noreply at github.com Mon Oct 22 00:19:12 2012 From: noreply at github.com (GitHub) Date: Sun, 21 Oct 2012 21:19:12 -0700 Subject: [Numpy-svn] [numpy/numpy] 8b8004: BUG: Fix void_scalar hash function to use the elem... Message-ID: <5084c940620e8_36d619c6ae85095d@sh3.rs.github.com.mail> Branch: refs/heads/master Home: https://github.com/numpy/numpy Commit: 8b80043bc363bd0a02d4f01b2b565775cbff3069 https://github.com/numpy/numpy/commit/8b80043bc363bd0a02d4f01b2b565775cbff3069 Author: Travis E. Oliphant Date: 2012-10-09 (Tue, 09 Oct 2012) Changed paths: M numpy/core/src/multiarray/scalartypes.c.src M numpy/core/tests/test_multiarray.py Log Message: ----------- BUG: Fix void_scalar hash function to use the elements of the record in the hash computation just like the tuple hash Commit: a0a1863ac67be681d593859a67e154b7c0931af4 https://github.com/numpy/numpy/commit/a0a1863ac67be681d593859a67e154b7c0931af4 Author: Travis E. Oliphant Date: 2012-10-09 (Tue, 09 Oct 2012) Changed paths: M numpy/core/tests/test_multiarray.py Log Message: ----------- TST: Add one more test. Commit: 184c8d05120855012250fbc1d7f5f0991bec3eb4 https://github.com/numpy/numpy/commit/184c8d05120855012250fbc1d7f5f0991bec3eb4 Author: Travis E. Oliphant Date: 2012-10-13 (Sat, 13 Oct 2012) Changed paths: M numpy/core/src/multiarray/scalartypes.c.src M numpy/core/tests/test_multiarray.py Log Message: ----------- BUG: Ensure that writeable records are not hashed. Commit: 1895b157062beecbc68a0459db0d5280153e698a https://github.com/numpy/numpy/commit/1895b157062beecbc68a0459db0d5280153e698a Author: Travis E. Oliphant Date: 2012-10-19 (Fri, 19 Oct 2012) Changed paths: M doc/release/1.8.0-notes.rst Log Message: ----------- FIX: Update release notes. Commit: c5ccca92c5f136833ad85614feb2aa4f5bd8b7c3 https://github.com/numpy/numpy/commit/c5ccca92c5f136833ad85614feb2aa4f5bd8b7c3 Author: Travis E. Oliphant Date: 2012-10-21 (Sun, 21 Oct 2012) Changed paths: M doc/release/1.8.0-notes.rst M numpy/core/src/multiarray/scalartypes.c.src M numpy/core/tests/test_multiarray.py Log Message: ----------- Merge pull request #482 from ContinuumIO/void_scalar_hash BUG: Fix void_scalar hash function to use the elements of the record in ... Compare: https://github.com/numpy/numpy/compare/fe6f42c42723...c5ccca92c5f1 From noreply at github.com Thu Oct 25 18:16:14 2012 From: noreply at github.com (GitHub) Date: Thu, 25 Oct 2012 15:16:14 -0700 Subject: [Numpy-svn] [numpy/numpy] b46f58: ENH: Do not rely on clean strides for loops. Message-ID: <5089ba2ed078_a021111aec143891@sh3.rs.github.com.mail> Branch: refs/heads/master Home: https://github.com/numpy/numpy Commit: b46f589439201afabbcc9be586617e395ccc6c19 https://github.com/numpy/numpy/commit/b46f589439201afabbcc9be586617e395ccc6c19 Author: Sebastian Berg Date: 2012-10-21 (Sun, 21 Oct 2012) Changed paths: M numpy/core/src/private/lowlevel_strided_loops.h Log Message: ----------- ENH: Do not rely on clean strides for loops. In lowlevel_strided_loops.h, do not rely that the strides for contiguous arrays are set nicely since they can be considered not important if an axis dimensions is zero. Commit: fb64bbf12f2405b3dc97f7736ae3dc35daf615dc https://github.com/numpy/numpy/commit/fb64bbf12f2405b3dc97f7736ae3dc35daf615dc Author: Sebastian Berg Date: 2012-10-21 (Sun, 21 Oct 2012) Changed paths: M numpy/tests/test_ctypeslib.py Log Message: ----------- TST: Update ctypes tests for changed contiguous flags setting. This is unrelated to what is actually tested here. Commit: 4b281479db093a55c010610ad287c75beb6da13b https://github.com/numpy/numpy/commit/4b281479db093a55c010610ad287c75beb6da13b Author: Sebastian Berg Date: 2012-10-21 (Sun, 21 Oct 2012) Changed paths: M numpy/core/include/numpy/ndarraytypes.h M numpy/core/numeric.py Log Message: ----------- API: Change isfortran to f-contig and not c-contig This was a check for 1-d arrays, this is the generalization to higher dimension if we allow higher dimensioal arrays to be both f- and c-contiguous. Commit: 0e10f55839ee0c2dc361f0a74990cbe8d83a66fd https://github.com/numpy/numpy/commit/0e10f55839ee0c2dc361f0a74990cbe8d83a66fd Author: Sebastian Berg Date: 2012-10-21 (Sun, 21 Oct 2012) Changed paths: M numpy/core/src/multiarray/convert.c M numpy/core/src/multiarray/multiarraymodule.c M numpy/core/src/multiarray/shape.c Log Message: ----------- BUG: Replace ISFORTRAN by IS_F_CONTIGUOUS. In a few places ISFORTRAN was used to check for f-contiguouity. This is incorrect, since ISFORTRAN never evaluated to True if the array was also c-contiguous. Commit: 44f83e29b4f43648ee943d9e4d170a181cae9a6b https://github.com/numpy/numpy/commit/44f83e29b4f43648ee943d9e4d170a181cae9a6b Author: Sebastian Berg Date: 2012-10-21 (Sun, 21 Oct 2012) Changed paths: M numpy/core/tests/test_regression.py Log Message: ----------- TST: Test order='F' combined with C/F-contiguous arrays. Both ravel and asarray misbehaved on 1D (or more generally C and F-contiguous arrays if order='F' was specified. Speed test for .tostring seems not feasably. Commit: c48156dfdc408f0a1e59ef54ac490cccbd6b8d73 https://github.com/numpy/numpy/commit/c48156dfdc408f0a1e59ef54ac490cccbd6b8d73 Author: Sebastian Berg Date: 2012-10-21 (Sun, 21 Oct 2012) Changed paths: M numpy/core/src/multiarray/flagsobject.c Log Message: ----------- API: Change Flags Updateing to allow C-/F-contiguous arrays This changes UpdateFlags to ignore 1-dimensional axis when setting C-/F-contiguous flags. Updates both flags always now. Commit: 8daf1443eae7e35bc8b6349e5304bd9bf2142ae7 https://github.com/numpy/numpy/commit/8daf1443eae7e35bc8b6349e5304bd9bf2142ae7 Author: Sebastian Berg Date: 2012-10-21 (Sun, 21 Oct 2012) Changed paths: M numpy/core/src/multiarray/ctors.c Log Message: ----------- API: ctors changed so that contiguous flags ignore 1-dim axis This changes ctors.c so that new arrays are created in such a way that they are both C- and F-contiguous if possible. Also fixes some corner cases for 0-sized arrays. Commit: a0891abcd7deea0af6f1e7b91e59d1da2101bdff https://github.com/numpy/numpy/commit/a0891abcd7deea0af6f1e7b91e59d1da2101bdff Author: Sebastian Berg Date: 2012-10-21 (Sun, 21 Oct 2012) Changed paths: M numpy/core/src/multiarray/multiarraymodule.c M numpy/core/src/multiarray/shape.c Log Message: ----------- MNT: Remove unnecessary stride/flags cleanup. This code is unnecessary with changed flags behavior. It would only serve the purpose of making strides look nicer for the user. The UpdateFlags was only required since 1-dim axis being removed might change contiguous flags. But this cannot happen now. Commit: dc4e38bb792825d7da23500c01b1cbd9dc4595b5 https://github.com/numpy/numpy/commit/dc4e38bb792825d7da23500c01b1cbd9dc4595b5 Author: Sebastian Berg Date: 2012-10-21 (Sun, 21 Oct 2012) Changed paths: M numpy/core/src/multiarray/ctors.c M numpy/core/src/multiarray/dtype_transfer.c M numpy/core/src/multiarray/shape.c M numpy/core/src/umath/reduction.c M numpy/core/tests/test_api.py Log Message: ----------- BUG: Fix bug with size 1-dims in CreateSortedStridePerm This reverts changes done to CreateSortedStridePerm in commit 9194b3af. The problem is that it would fail for 3x1x3 Fortran order array for example. And special handleing seems unnecessary at least after 1-dim axis not mattering for contiguous flags. This "closes Issue #434" Commit: dbe4468825bd1626cd3e90edcbf69a72df3d5180 https://github.com/numpy/numpy/commit/dbe4468825bd1626cd3e90edcbf69a72df3d5180 Author: Sebastian Berg Date: 2012-10-22 (Mon, 22 Oct 2012) Changed paths: M numpy/core/tests/test_api.py Log Message: ----------- TST: Check if contiguous flags are correct in various situations Commit: 4d741d282641ae7bd152ec6d89de8f24e9983267 https://github.com/numpy/numpy/commit/4d741d282641ae7bd152ec6d89de8f24e9983267 Author: Sebastian Berg Date: 2012-10-22 (Mon, 22 Oct 2012) Changed paths: M numpy/core/include/numpy/ndarraytypes.h M numpy/core/src/multiarray/flagsobject.c M numpy/core/src/private/lowlevel_strided_loops.h Log Message: ----------- MNT: Minor cleanups in comments and lowlevel_strided_loops. Commit: 02ebf8b3e7674a6b8a06636feaa6c761fcdf4e2d https://github.com/numpy/numpy/commit/02ebf8b3e7674a6b8a06636feaa6c761fcdf4e2d Author: Sebastian Berg Date: 2012-10-23 (Tue, 23 Oct 2012) Changed paths: M numpy/core/src/multiarray/flagsobject.c Log Message: ----------- MNT: Remove unnecessary special cases in _UpdateContiguousFlags Remove unnecessary special cases for 0 and 1-d arrays as suggested by njsmith. Commit: a890a8584319c2978735eef96ecaefefacad6346 https://github.com/numpy/numpy/commit/a890a8584319c2978735eef96ecaefefacad6346 Author: njsmith Date: 2012-10-25 (Thu, 25 Oct 2012) Changed paths: M numpy/core/include/numpy/ndarraytypes.h M numpy/core/numeric.py M numpy/core/src/multiarray/convert.c M numpy/core/src/multiarray/ctors.c M numpy/core/src/multiarray/dtype_transfer.c M numpy/core/src/multiarray/flagsobject.c M numpy/core/src/multiarray/multiarraymodule.c M numpy/core/src/multiarray/shape.c M numpy/core/src/private/lowlevel_strided_loops.h M numpy/core/src/umath/reduction.c M numpy/core/tests/test_api.py M numpy/core/tests/test_regression.py M numpy/tests/test_ctypeslib.py Log Message: ----------- Merge pull request #2694 from seberg/cflags2 ENH: Make 1-dimensional axes not matter for contiguous flags Compare: https://github.com/numpy/numpy/compare/c5ccca92c5f1...a890a8584319 From noreply at github.com Wed Oct 31 14:40:37 2012 From: noreply at github.com (GitHub) Date: Wed, 31 Oct 2012 11:40:37 -0700 Subject: [Numpy-svn] [numpy/numpy] 7caac2: When accessing MaskedArray rows, always return an ... Message-ID: <509170a5c6c10_18d81cd5af483579@sh2.rs.github.com.mail> Branch: refs/heads/master Home: https://github.com/numpy/numpy Commit: 7caac2efd9b2c9ccf4b886fc6273c9ebbcd6c9da https://github.com/numpy/numpy/commit/7caac2efd9b2c9ccf4b886fc6273c9ebbcd6c9da Author: Thomas Robitaille Date: 2012-10-11 (Thu, 11 Oct 2012) Changed paths: M numpy/ma/core.py Log Message: ----------- When accessing MaskedArray rows, always return an mvoid object Commit: 1532b7cce4a296d2fc5a6ef2eea68376c57daa19 https://github.com/numpy/numpy/commit/1532b7cce4a296d2fc5a6ef2eea68376c57daa19 Author: Thomas Robitaille Date: 2012-10-11 (Thu, 11 Oct 2012) Changed paths: M numpy/ma/tests/test_core.py Log Message: ----------- Fixed failing tests Commit: 526b7647ad3e0c295340e7b85593364eeadc5686 https://github.com/numpy/numpy/commit/526b7647ad3e0c295340e7b85593364eeadc5686 Author: njsmith Date: 2012-10-31 (Wed, 31 Oct 2012) Changed paths: M numpy/ma/core.py M numpy/ma/tests/test_core.py Log Message: ----------- Merge pull request #483 from astrofrog/fix-masked-getitem When accessing MaskedArray rows, always return an mvoid object Compare: https://github.com/numpy/numpy/compare/a890a8584319...526b7647ad3e