From noreply at github.com Sun Sep 2 11:54:24 2012 From: noreply at github.com (GitHub) Date: Sun, 02 Sep 2012 08:54:24 -0700 Subject: [Numpy-svn] [numpy/numpy] 942bdb: Improve ndindex execution speed. Message-ID: <504381304faf2_16b01d2bae46483e@sh2.rs.github.com.mail> Branch: refs/heads/master Home: https://github.com/numpy/numpy Commit: 942bdb26bee477a8ac2c6b1c1c963c52c7c08403 https://github.com/numpy/numpy/commit/942bdb26bee477a8ac2c6b1c1c963c52c7c08403 Author: Stefan van der Walt Date: 2012-09-02 (Sun, 02 Sep 2012) Changed paths: M numpy/lib/index_tricks.py M numpy/lib/tests/test_index_tricks.py Log Message: ----------- Improve ndindex execution speed. Commit: bb0e4f356cce2f199d9c08ffe572fbabadc846d1 https://github.com/numpy/numpy/commit/bb0e4f356cce2f199d9c08ffe572fbabadc846d1 Author: Stefan van der Walt Date: 2012-09-02 (Sun, 02 Sep 2012) Changed paths: M numpy/lib/index_tricks.py Log Message: ----------- Retain backward compatibility. Enforce C order. Commit: 84698e3e0f4c60c39ea778a3c0aada9d76b5f93a https://github.com/numpy/numpy/commit/84698e3e0f4c60c39ea778a3c0aada9d76b5f93a Author: njsmith Date: 2012-09-02 (Sun, 02 Sep 2012) Changed paths: M numpy/lib/index_tricks.py M numpy/lib/tests/test_index_tricks.py Log Message: ----------- Merge pull request #393 from stefanv/ndindex Improve ndindex execution speed. Compare: https://github.com/numpy/numpy/compare/e60c70d7ca5d...84698e3e0f4c From noreply at github.com Sun Sep 2 12:33:41 2012 From: noreply at github.com (GitHub) Date: Sun, 02 Sep 2012 09:33:41 -0700 Subject: [Numpy-svn] [numpy/numpy] 0086bb: FIX: simplify the import statement Message-ID: <50438a6567aea_59201005af410023c@sh2.rs.github.com.mail> Branch: refs/heads/master Home: https://github.com/numpy/numpy Commit: 0086bbc0145b9e9612b299e0b36b4782160c9ce1 https://github.com/numpy/numpy/commit/0086bbc0145b9e9612b299e0b36b4782160c9ce1 Author: Ond?ej ?ert?k Date: 2012-08-31 (Fri, 31 Aug 2012) Changed paths: M numpy/core/_internal.py Log Message: ----------- FIX: simplify the import statement Commit: fab65b74554c4a6118707167dedbfcec630f7a2a https://github.com/numpy/numpy/commit/fab65b74554c4a6118707167dedbfcec630f7a2a Author: Ond?ej ?ert?k Date: 2012-09-02 (Sun, 02 Sep 2012) Changed paths: M numpy/core/_internal.py Log Message: ----------- Merge pull request #404 from certik/pr401_fix FIX: simplify the import statement Compare: https://github.com/numpy/numpy/compare/84698e3e0f4c...fab65b74554c From noreply at github.com Sun Sep 2 12:33:55 2012 From: noreply at github.com (GitHub) Date: Sun, 02 Sep 2012 09:33:55 -0700 Subject: [Numpy-svn] [numpy/numpy] d009f0: Allow long numbers in numpy.rec.array formats stri... Message-ID: <50438a7366063_1653d95ae491447@sh2.rs.github.com.mail> Branch: refs/heads/master Home: https://github.com/numpy/numpy Commit: d009f0f5f67dc4bad97560487d61fc399cb23c06 https://github.com/numpy/numpy/commit/d009f0f5f67dc4bad97560487d61fc399cb23c06 Author: cgohlke Date: 2012-08-06 (Mon, 06 Aug 2012) Changed paths: M numpy/core/_internal.py Log Message: ----------- Allow long numbers in numpy.rec.array formats string Commit: 1079fa42597e2a8900110f7498236e9f034d1179 https://github.com/numpy/numpy/commit/1079fa42597e2a8900110f7498236e9f034d1179 Author: cgohlke Date: 2012-08-06 (Mon, 06 Aug 2012) Changed paths: M numpy/core/tests/test_records.py Log Message: ----------- Add test for long numbers in numpy.rec.array formats string Commit: e391a4461507b1ba89a7ee1167d23fc13a308795 https://github.com/numpy/numpy/commit/e391a4461507b1ba89a7ee1167d23fc13a308795 Author: cgohlke Date: 2012-08-07 (Tue, 07 Aug 2012) Changed paths: M numpy/core/tests/test_dtype.py Log Message: ----------- Add test for long number in shape specifier of dtype string Commit: 1e7979fecc787eed295e82002ee3c7c339c5a09d https://github.com/numpy/numpy/commit/1e7979fecc787eed295e82002ee3c7c339c5a09d Author: cgohlke Date: 2012-08-07 (Tue, 07 Aug 2012) Changed paths: M numpy/core/tests/test_records.py Log Message: ----------- Remove test_recarray_from_long_formats Commit: 96525749fbecc6695f0dfbf2a7b00ec0105a1078 https://github.com/numpy/numpy/commit/96525749fbecc6695f0dfbf2a7b00ec0105a1078 Author: Ond?ej ?ert?k Date: 2012-09-02 (Sun, 02 Sep 2012) Changed paths: M numpy/core/_internal.py M numpy/core/tests/test_dtype.py Log Message: ----------- Merge pull request #376 from cgohlke/patch-2 Allow long numbers in numpy.rec.array formats string Compare: https://github.com/numpy/numpy/compare/fab65b74554c...96525749fbec From noreply at github.com Sun Sep 2 12:35:45 2012 From: noreply at github.com (GitHub) Date: Sun, 02 Sep 2012 09:35:45 -0700 Subject: [Numpy-svn] [numpy/numpy] cb5a27: BUG: Add a test for Ticket #2189 Message-ID: <50438ae124da2_8d11100ae41145f5@sh3.rs.github.com.mail> Branch: refs/heads/master Home: https://github.com/numpy/numpy Commit: cb5a27eacb0165752fc5ab82633911d90df28af4 https://github.com/numpy/numpy/commit/cb5a27eacb0165752fc5ab82633911d90df28af4 Author: Ond?ej ?ert?k Date: 2012-08-31 (Fri, 31 Aug 2012) Changed paths: M numpy/core/tests/test_regression.py Log Message: ----------- BUG: Add a test for Ticket #2189 Commit: 0713354fa282f096e30886e7617d84ee2938390d https://github.com/numpy/numpy/commit/0713354fa282f096e30886e7617d84ee2938390d Author: Ond?ej ?ert?k Date: 2012-08-31 (Fri, 31 Aug 2012) Changed paths: M numpy/core/tests/test_regression.py Log Message: ----------- FIX: Add a test for Ticket #2066 Commit: 7d30cada0e3ec6119c30212238c4d8d7fe678dc5 https://github.com/numpy/numpy/commit/7d30cada0e3ec6119c30212238c4d8d7fe678dc5 Author: Ond?ej ?ert?k Date: 2012-09-02 (Sun, 02 Sep 2012) Changed paths: M numpy/core/tests/test_regression.py Log Message: ----------- Merge pull request #397 from certik/fix2189 BUG: Add a test for Ticket #2189 Compare: https://github.com/numpy/numpy/compare/96525749fbec...7d30cada0e3e From noreply at github.com Sun Sep 2 15:20:29 2012 From: noreply at github.com (GitHub) Date: Sun, 02 Sep 2012 12:20:29 -0700 Subject: [Numpy-svn] [numpy/numpy] 727cbc: FIX: Regenerate mtrand.c with Cython 0.17 Message-ID: <5043b17d14106_3f85189aae8453d5@sh3.rs.github.com.mail> Branch: refs/heads/master Home: https://github.com/numpy/numpy Commit: 727cbc4a71aa088d479dd4b3508a0f5cc16cbf7b https://github.com/numpy/numpy/commit/727cbc4a71aa088d479dd4b3508a0f5cc16cbf7b Author: Ond?ej ?ert?k Date: 2012-09-02 (Sun, 02 Sep 2012) Changed paths: M numpy/random/mtrand/mtrand.c Log Message: ----------- FIX: Regenerate mtrand.c with Cython 0.17 Fixes #416 Commit: cd9092aa71d23359b33e89d938c55fb14b9bf606 https://github.com/numpy/numpy/commit/cd9092aa71d23359b33e89d938c55fb14b9bf606 Author: Ond?ej ?ert?k Date: 2012-09-02 (Sun, 02 Sep 2012) Changed paths: M numpy/random/mtrand/mtrand.c Log Message: ----------- Merge pull request #417 from certik/fix416 FIX: Regenerate mtrand.c with Cython 0.17 Compare: https://github.com/numpy/numpy/compare/7d30cada0e3e...cd9092aa71d2 From noreply at github.com Tue Sep 4 05:16:42 2012 From: noreply at github.com (GitHub) Date: Tue, 04 Sep 2012 02:16:42 -0700 Subject: [Numpy-svn] [numpy/numpy] 0f1d2d: Fix typo in documentation (101 instead of 10). Message-ID: <5045c6faad94a_2ce41217af49347c@sh3.rs.github.com.mail> Branch: refs/heads/master Home: https://github.com/numpy/numpy Commit: 0f1d2d929a0f7babb6d4471e987be1da34e06e34 https://github.com/numpy/numpy/commit/0f1d2d929a0f7babb6d4471e987be1da34e06e34 Author: Adam Griffiths Date: 2012-09-03 (Mon, 03 Sep 2012) Changed paths: M numpy/core/code_generators/ufunc_docstrings.py Log Message: ----------- Fix typo in documentation (101 instead of 10). Examples demonstrate using an array with (-10, 0, 10), but this specific example has a typo that lists the last number as 101. This is reflected in the diagrams having axis labeled from -10:+10. Commit: 4c73e7c5b2953d338a91ab912d3077c09acadaed https://github.com/numpy/numpy/commit/4c73e7c5b2953d338a91ab912d3077c09acadaed Author: njsmith Date: 2012-09-04 (Tue, 04 Sep 2012) Changed paths: M numpy/core/code_generators/ufunc_docstrings.py Log Message: ----------- Merge pull request #423 from adamlwgriffiths/master Fix typo in documentation (101 instead of 10). Compare: https://github.com/numpy/numpy/compare/cd9092aa71d2...4c73e7c5b295 From noreply at github.com Tue Sep 4 05:37:39 2012 From: noreply at github.com (GitHub) Date: Tue, 04 Sep 2012 02:37:39 -0700 Subject: [Numpy-svn] [numpy/numpy] a72ce7: Update numpy/core/code_generators/ufunc_docstrings... Message-ID: <5045cbe3dab9_2ce41217af4988ea@sh3.rs.github.com.mail> Branch: refs/heads/master Home: https://github.com/numpy/numpy Commit: a72ce7edc9ff9e98ba73251c626abccb0691415e https://github.com/numpy/numpy/commit/a72ce7edc9ff9e98ba73251c626abccb0691415e Author: njsmith Date: 2012-09-04 (Tue, 04 Sep 2012) Changed paths: M numpy/core/code_generators/ufunc_docstrings.py Log Message: ----------- Update numpy/core/code_generators/ufunc_docstrings.py Revert PR #423 (which was based on a misunderstanding). From noreply at github.com Fri Sep 7 00:45:22 2012 From: noreply at github.com (GitHub) Date: Thu, 06 Sep 2012 21:45:22 -0700 Subject: [Numpy-svn] [numpy/numpy] cdd809: REF: remove unused imports in bscript. Message-ID: <50497be268d56_7f3f19f4aec1198ef@sh3.rs.github.com.mail> Branch: refs/heads/master Home: https://github.com/numpy/numpy Commit: cdd8095b7d27c57111de60acb240e012ffa5eace https://github.com/numpy/numpy/commit/cdd8095b7d27c57111de60acb240e012ffa5eace Author: David Cournapeau Date: 2012-09-06 (Thu, 06 Sep 2012) Changed paths: M bscript Log Message: ----------- REF: remove unused imports in bscript. Commit: 2d48841465749f36f3b7129266630d1bd99676fa https://github.com/numpy/numpy/commit/2d48841465749f36f3b7129266630d1bd99676fa Author: David Cournapeau Date: 2012-09-06 (Thu, 06 Sep 2012) Changed paths: M numpy/core/bento.info M numpy/core/bscript Log Message: ----------- BUG: forgot to build _dotblas in bento build. Commit: ef61260e9ecc21b273ca4655db511d9636c8b441 https://github.com/numpy/numpy/commit/ef61260e9ecc21b273ca4655db511d9636c8b441 Author: David Cournapeau Date: 2012-09-06 (Thu, 06 Sep 2012) Changed paths: M numpy/build_utils/waf.py Log Message: ----------- BUG: fix custom post_check. Commit: a744f3cd24d2ad920f311dc58878a861599bd01b https://github.com/numpy/numpy/commit/a744f3cd24d2ad920f311dc58878a861599bd01b Author: David Cournapeau Date: 2012-09-06 (Thu, 06 Sep 2012) Changed paths: M numpy/core/bento.info M numpy/core/bscript Log Message: ----------- BUG: fix npymath install location. Compare: https://github.com/numpy/numpy/compare/a72ce7edc9ff...a744f3cd24d2 From noreply at github.com Tue Sep 11 14:06:12 2012 From: noreply at github.com (GitHub) Date: Tue, 11 Sep 2012 11:06:12 -0700 Subject: [Numpy-svn] [numpy/numpy] a16f38: FIX: loosen numerical tolerance in test_pareto() Message-ID: <504f7d94bfe41_2f7511ffae44582a@sh3.rs.github.com.mail> Branch: refs/heads/master Home: https://github.com/numpy/numpy Commit: a16f387350c9524c45ca36ff26dbb2c431d9dc41 https://github.com/numpy/numpy/commit/a16f387350c9524c45ca36ff26dbb2c431d9dc41 Author: Nathaniel J. Smith Date: 2012-09-07 (Fri, 07 Sep 2012) Changed paths: M numpy/random/tests/test_random.py Log Message: ----------- FIX: loosen numerical tolerance in test_pareto() The problem was that in 32bit Ubuntu 12.04, one gets the following: > /home/njs/numpy/.tox/py27/local/lib/python2.7/site-packages/numpy/random/tests/test_random.py(363)test_pareto() -> np.testing.assert_array_almost_equal(actual, desired, decimal=15) (Pdb) actual[1, 0] 52828779.702948704 (Pdb) desired[1, 0] 52828779.702948518 and the test was comparing the numbers to 1e-14, which obviously failed. Fixes #424. Commit: 6315567d69fd58e607ef1c75f2a9cbeb0b451dd7 https://github.com/numpy/numpy/commit/6315567d69fd58e607ef1c75f2a9cbeb0b451dd7 Author: njsmith Date: 2012-09-11 (Tue, 11 Sep 2012) Changed paths: M numpy/random/tests/test_random.py Log Message: ----------- Merge pull request #430 from njsmith/test_pareto-fix FIX: loosen numerical tolerance in test_pareto() Compare: https://github.com/numpy/numpy/compare/a744f3cd24d2...6315567d69fd From noreply at github.com Tue Sep 11 14:07:16 2012 From: noreply at github.com (GitHub) Date: Tue, 11 Sep 2012 11:07:16 -0700 Subject: [Numpy-svn] [numpy/numpy] 9c9d4b: FIX: use py24-compatible version of virtualenv on ... Message-ID: <504f7dd466765_4c9519a0af02792@sh2.rs.github.com.mail> Branch: refs/heads/master Home: https://github.com/numpy/numpy Commit: 9c9d4bc6d1c8feb3c268b6421fe01f02eebfd3ab https://github.com/numpy/numpy/commit/9c9d4bc6d1c8feb3c268b6421fe01f02eebfd3ab Author: Nathaniel J. Smith Date: 2012-09-08 (Sat, 08 Sep 2012) Changed paths: M .travis-make-py24-virtualenv.sh Log Message: ----------- FIX: use py24-compatible version of virtualenv on Travis Travis recently upgraded to virtualenv 1.8, which has dropped support for Python 2.4. So, in our Python 2.4 setup script, we need to explicitly fetch and use virtualenv 1.7. Likewise for pip 1.1. File imported from the already-fixed version for patsy: https://github.com/pydata/patsy/blob/0316d2901f4195db06e8091c15f37d9fe4ad09de/.travis-make-py24-virtualenv.sh Commit: b6a1acdd6c989e6e2ab6d68f1b60af030bcccc49 https://github.com/numpy/numpy/commit/b6a1acdd6c989e6e2ab6d68f1b60af030bcccc49 Author: njsmith Date: 2012-09-11 (Tue, 11 Sep 2012) Changed paths: M .travis-make-py24-virtualenv.sh Log Message: ----------- Merge pull request #431 from njsmith/fix-travis-py24-build FIX: use py24-compatible version of virtualenv on Travis Compare: https://github.com/numpy/numpy/compare/6315567d69fd...b6a1acdd6c98 From noreply at github.com Tue Sep 11 14:07:34 2012 From: noreply at github.com (GitHub) Date: Tue, 11 Sep 2012 11:07:34 -0700 Subject: [Numpy-svn] [numpy/numpy] 926564: BUG: Fix for issues #378 and #392 Message-ID: <504f7de6413be_411d17e8af091233@sh2.rs.github.com.mail> Branch: refs/heads/master Home: https://github.com/numpy/numpy Commit: 926564c195d30542312123b7d76fe091c3453881 https://github.com/numpy/numpy/commit/926564c195d30542312123b7d76fe091c3453881 Author: Han Genuit Date: 2012-09-06 (Thu, 06 Sep 2012) Changed paths: M numpy/lib/function_base.py Log Message: ----------- BUG: Fix for issues #378 and #392 This should fix the problems with numpy.insert(), where the input values were not checked for all scalar types and where values did not get inserted properly, but got duplicated by default. Commit: 1e6f7a7db94afc69f88ebf0b0235888dc377ce25 https://github.com/numpy/numpy/commit/1e6f7a7db94afc69f88ebf0b0235888dc377ce25 Author: Han Genuit Date: 2012-09-06 (Thu, 06 Sep 2012) Changed paths: M numpy/lib/tests/test_function_base.py Log Message: ----------- TST: Add extra test for multidimensional inserts. Commit: 1688b29fb1ea4e548762ae79522c50abce88d55b https://github.com/numpy/numpy/commit/1688b29fb1ea4e548762ae79522c50abce88d55b Author: Han Genuit Date: 2012-09-07 (Fri, 07 Sep 2012) Changed paths: M numpy/lib/tests/test_function_base.py Log Message: ----------- TST: Add test for boolean insert Commit: aed8fc547bfac6f3d9248e65a53e3eae6393a715 https://github.com/numpy/numpy/commit/aed8fc547bfac6f3d9248e65a53e3eae6393a715 Author: njsmith Date: 2012-09-11 (Tue, 11 Sep 2012) Changed paths: M numpy/lib/function_base.py M numpy/lib/tests/test_function_base.py Log Message: ----------- Merge pull request #429 from 87/fix_insert Fix for issues #392 and #378 Compare: https://github.com/numpy/numpy/compare/b6a1acdd6c98...aed8fc547bfa From noreply at github.com Tue Sep 11 14:12:13 2012 From: noreply at github.com (GitHub) Date: Tue, 11 Sep 2012 11:12:13 -0700 Subject: [Numpy-svn] [numpy/numpy] 170ed4: MAINT: silence Cython warnings about changes dtype... Message-ID: <504f7efd6996d_4c9519a0af0518a@sh2.rs.github.com.mail> Branch: refs/heads/master Home: https://github.com/numpy/numpy Commit: 170ed4e33d6196d724dc18ddcd42311c291b4587 https://github.com/numpy/numpy/commit/170ed4e33d6196d724dc18ddcd42311c291b4587 Author: Ralf Gommers Date: 2012-09-08 (Sat, 08 Sep 2012) Changed paths: M numpy/__init__.py Log Message: ----------- MAINT: silence Cython warnings about changes dtype/ufunc size. These warnings are visible whenever you import scipy (or another package) that was compiled against an older numpy than is installed. For example compiled against 1.5.1, like current scipy binaries are, and used with 1.7.0. These warnings aren't useful; if numpy would really break its ABI it would be noticed in no time without these warnings. Commit: a17875bbf54d19a29621a173d177d56047ad4ad7 https://github.com/numpy/numpy/commit/a17875bbf54d19a29621a173d177d56047ad4ad7 Author: njsmith Date: 2012-09-11 (Tue, 11 Sep 2012) Changed paths: M numpy/__init__.py Log Message: ----------- Merge pull request #432 from rgommers/silence-cython-warnings MAINT: silence Cython warnings about changes dtype/ufunc size. Compare: https://github.com/numpy/numpy/compare/aed8fc547bfa...a17875bbf54d From noreply at github.com Thu Sep 13 09:15:49 2012 From: noreply at github.com (GitHub) Date: Thu, 13 Sep 2012 06:15:49 -0700 Subject: [Numpy-svn] [numpy/numpy] 854f67: MAINT: update Intel Fortran compiler flags for the... Message-ID: <5051dc85c9b71_575f123cae82139bc@sh2.rs.github.com.mail> Branch: refs/heads/master Home: https://github.com/numpy/numpy Commit: 854f67f29753a892ad79605b971821247fe84044 https://github.com/numpy/numpy/commit/854f67f29753a892ad79605b971821247fe84044 Author: Ralf Gommers Date: 2012-09-09 (Sun, 09 Sep 2012) Changed paths: M numpy/distutils/fcompiler/intel.py Log Message: ----------- MAINT: update Intel Fortran compiler flags for the 21st century. Thanks to Intel for this contribution. Note that there's also an MKL application note which recommends these flags: http://software.intel.com/en-us/articles/numpyscipy-with-intel-mkl Commit: 9ff9c0a16cca3d41b17932f776bd8ffce676737c https://github.com/numpy/numpy/commit/9ff9c0a16cca3d41b17932f776bd8ffce676737c Author: njsmith Date: 2012-09-13 (Thu, 13 Sep 2012) Changed paths: M numpy/distutils/fcompiler/intel.py Log Message: ----------- Merge pull request #433 from rgommers/intel-fortran-flags MAINT: update Intel Fortran compiler flags for the 21st century. Compare: https://github.com/numpy/numpy/compare/a17875bbf54d...9ff9c0a16cca From noreply at github.com Sat Sep 15 12:15:45 2012 From: noreply at github.com (GitHub) Date: Sat, 15 Sep 2012 09:15:45 -0700 Subject: [Numpy-svn] [numpy/numpy] 027c3d: BUG: Concatenate with axis None should work regard... Message-ID: <5054a9b1d84b6_26061bb2af012774c@sh2.rs.github.com.mail> Branch: refs/heads/master Home: https://github.com/numpy/numpy Commit: 027c3d91b6b5bbc0f7e50cce8a39da439e165d39 https://github.com/numpy/numpy/commit/027c3d91b6b5bbc0f7e50cce8a39da439e165d39 Author: Han Genuit Date: 2012-09-15 (Sat, 15 Sep 2012) Changed paths: M numpy/core/src/multiarray/multiarraymodule.c Log Message: ----------- BUG: Concatenate with axis None should work regardless of matching array shapes Commit: 7c183a5d03ae31a6369cdcc608b4e4fabf83484f https://github.com/numpy/numpy/commit/7c183a5d03ae31a6369cdcc608b4e4fabf83484f Author: Han Genuit Date: 2012-09-15 (Sat, 15 Sep 2012) Changed paths: M numpy/core/tests/test_shape_base.py Log Message: ----------- TST: Add test for concatenate with None-axis Commit: 93cbc839d471e01a6cd2228f622e9908c15965df https://github.com/numpy/numpy/commit/93cbc839d471e01a6cd2228f622e9908c15965df Author: Travis E. Oliphant Date: 2012-09-15 (Sat, 15 Sep 2012) Changed paths: M numpy/core/src/multiarray/multiarraymodule.c M numpy/core/tests/test_shape_base.py Log Message: ----------- Merge pull request #443 from 87/fix_concat Fix for issue #442 Compare: https://github.com/numpy/numpy/compare/9ff9c0a16cca...93cbc839d471 From noreply at github.com Sat Sep 15 12:24:50 2012 From: noreply at github.com (GitHub) Date: Sat, 15 Sep 2012 09:24:50 -0700 Subject: [Numpy-svn] [numpy/numpy] 5bfd65: DOC: describe output from astype method Message-ID: <5054abd2a904d_51611a13af0587d0@sh2.rs.github.com.mail> Branch: refs/heads/master Home: https://github.com/numpy/numpy Commit: 5bfd65a55517e7a0af60d31e8dba6dc2f6b87df1 https://github.com/numpy/numpy/commit/5bfd65a55517e7a0af60d31e8dba6dc2f6b87df1 Author: Matthew Brett Date: 2012-09-13 (Thu, 13 Sep 2012) Changed paths: M numpy/add_newdocs.py Log Message: ----------- DOC: describe output from astype method Expand docstring for ``astype`` method. Commit: d8988abc295ef2d6cf1e3a5ffb0d766ebd4cd3a8 https://github.com/numpy/numpy/commit/d8988abc295ef2d6cf1e3a5ffb0d766ebd4cd3a8 Author: Travis E. Oliphant Date: 2012-09-15 (Sat, 15 Sep 2012) Changed paths: M numpy/add_newdocs.py Log Message: ----------- Merge pull request #441 from matthew-brett/astype-doc DOC: describe output from astype method Compare: https://github.com/numpy/numpy/compare/93cbc839d471...d8988abc295e From noreply at github.com Sun Sep 16 00:39:14 2012 From: noreply at github.com (GitHub) Date: Sat, 15 Sep 2012 21:39:14 -0700 Subject: [Numpy-svn] [numpy/numpy] a1561c: [FIX] Add missing header so separate compilation w... Message-ID: <505557f299ef4_7de1949ae8798ce@sh3.rs.github.com.mail> Branch: refs/heads/maintenance/1.7.x Home: https://github.com/numpy/numpy Commit: a1561c271ede9c193cb365c5031282fa51bd0816 https://github.com/numpy/numpy/commit/a1561c271ede9c193cb365c5031282fa51bd0816 Author: Nathaniel J. Smith Date: 2012-09-12 (Wed, 12 Sep 2012) Changed paths: M numpy/core/src/multiarray/mapping.c Log Message: ----------- [FIX] Add missing header so separate compilation works again (Broken by PR #350.) Should be applied to maintenance/1.7.x as well. Commit: d72280f078e201fec45f5d4ff21484d99474ee4f https://github.com/numpy/numpy/commit/d72280f078e201fec45f5d4ff21484d99474ee4f Author: cgohlke Date: 2012-09-12 (Wed, 12 Sep 2012) Changed paths: M numpy/core/tests/test_multiarray.py Log Message: ----------- Fix tests for empty shape, strides and suboffsets on Python 3.3 Commit: 470486be8ab55982ea7f631be67c9815bb060af1 https://github.com/numpy/numpy/commit/470486be8ab55982ea7f631be67c9815bb060af1 Author: Ronan Lamy Date: 2012-09-12 (Wed, 12 Sep 2012) Changed paths: M numpy/core/src/multiarray/methods.c M numpy/core/tests/test_regression.py Log Message: ----------- Copy bytes object when unpickling an array Commit: a0220156f231611e71c0661c0028c19ebfa66c0c https://github.com/numpy/numpy/commit/a0220156f231611e71c0661c0028c19ebfa66c0c Author: Ronan Lamy Date: 2012-09-12 (Wed, 12 Sep 2012) Changed paths: M numpy/core/src/multiarray/methods.c Log Message: ----------- Re-enable unpickling optimization for large py3k bytes objects. Mutating a bytes object is theoretically unsafe, but doesn't cause any problem in any existing version of CPython. Commit: d67785bbbf03ab66fbfaa0ea163ca708c5ee43d2 https://github.com/numpy/numpy/commit/d67785bbbf03ab66fbfaa0ea163ca708c5ee43d2 Author: Ondrej Certik Date: 2012-09-12 (Wed, 12 Sep 2012) Changed paths: M numpy/core/src/multiarray/scalarapi.c M numpy/core/src/multiarray/scalartypes.c.src Log Message: ----------- FIX: Fixes the PyUnicodeObject problem in py-3.3 Previously NumPy did not compile in Python 3.3 due to the changes in PEP 393. This patch simply calls PyUnicode_FromKindAndData() from the new Python 3.3 API and possibly swaps the data before calling it if needed. The data in NumPy is always UCS4 and the PyUnicode_FromKindAndData() internally converts it to UCS1, UCS2 or UCS4 depending on the maximum code point. The following tests now fail, because they produce invalid unicode in the process (will be fixed in the next patch): ====================================================================== ERROR: Check byteorder of 0-dimensional objects ---------------------------------------------------------------------- Traceback (most recent call last): File "/home/ondrej/py33/lib/python3.3/site-packages/numpy/core/tests/test_unicode.py", line 277, in test_values0D self.assertTrue(ua[()] != ua2[()]) SystemError: invalid maximum character passed to PyUnicode_New ====================================================================== ERROR: Check byteorder of multi-dimensional objects ---------------------------------------------------------------------- Traceback (most recent call last): File "/home/ondrej/py33/lib/python3.3/site-packages/numpy/core/tests/test_unicode.py", line 297, in test_valuesMD self.assertTrue(ua[0,0,0] != ua2[0,0,0]) SystemError: invalid maximum character passed to PyUnicode_New ====================================================================== ERROR: Check byteorder of single-dimensional objects ---------------------------------------------------------------------- Traceback (most recent call last): File "/home/ondrej/py33/lib/python3.3/site-packages/numpy/core/tests/test_unicode.py", line 286, in test_valuesSD self.assertTrue(ua[0] != ua2[0]) SystemError: invalid maximum character passed to PyUnicode_New ====================================================================== ERROR: Check byteorder of 0-dimensional objects ---------------------------------------------------------------------- Traceback (most recent call last): File "/home/ondrej/py33/lib/python3.3/site-packages/numpy/core/tests/test_unicode.py", line 277, in test_values0D self.assertTrue(ua[()] != ua2[()]) SystemError: invalid maximum character passed to PyUnicode_New ====================================================================== ERROR: Check byteorder of multi-dimensional objects ---------------------------------------------------------------------- Traceback (most recent call last): File "/home/ondrej/py33/lib/python3.3/site-packages/numpy/core/tests/test_unicode.py", line 297, in test_valuesMD self.assertTrue(ua[0,0,0] != ua2[0,0,0]) SystemError: invalid maximum character passed to PyUnicode_New ====================================================================== ERROR: Check byteorder of single-dimensional objects ---------------------------------------------------------------------- Traceback (most recent call last): File "/home/ondrej/py33/lib/python3.3/site-packages/numpy/core/tests/test_unicode.py", line 286, in test_valuesSD self.assertTrue(ua[0] != ua2[0]) SystemError: invalid maximum character passed to PyUnicode_New Commit: 8141e1e420a9d37c9899a3ee233b554b60d31d04 https://github.com/numpy/numpy/commit/8141e1e420a9d37c9899a3ee233b554b60d31d04 Author: Ondrej Certik Date: 2012-09-12 (Wed, 12 Sep 2012) Changed paths: M numpy/core/tests/test_unicode.py Log Message: ----------- FIX: Make sure the tests produce valid unicode The tests are testing byte order for unicode, so we can only use such unicode data, so that both versions (swapped and unswapped) are valid unicode. Commit: d5d6894fee37feccce94da0860dd9de2639e369f https://github.com/numpy/numpy/commit/d5d6894fee37feccce94da0860dd9de2639e369f Author: Chris Date: 2012-09-12 (Wed, 12 Sep 2012) Changed paths: M numpy/core/src/multiarray/multiarraymodule.c Log Message: ----------- Fix memory leak in concatenate. Temporary array was not being freed after use. Commit: 31660d05c794ef4ea65b66e2fbc3fdc0ed436e2f https://github.com/numpy/numpy/commit/31660d05c794ef4ea65b66e2fbc3fdc0ed436e2f Author: Ondrej Certik Date: 2012-09-12 (Wed, 12 Sep 2012) Changed paths: M numpy/core/src/multiarray/scalarapi.c Log Message: ----------- Follow the C guidelines Commit: 99c9397d4d8c6a66c45a67f52c1581e743926fed https://github.com/numpy/numpy/commit/99c9397d4d8c6a66c45a67f52c1581e743926fed Author: Ondrej Certik Date: 2012-09-12 (Wed, 12 Sep 2012) Changed paths: M numpy/core/src/multiarray/scalarapi.c Log Message: ----------- Use PyUnicode_DecodeUTF32() This function handles the swapping automatically and it returns a unicode object in one of: UCS1, UCS2 or UCS4 internal Python format. Commit: 77da3f8b6fb6ad86c7e817c5d3aacf555a196a5f https://github.com/numpy/numpy/commit/77da3f8b6fb6ad86c7e817c5d3aacf555a196a5f Author: cgohlke Date: 2012-09-12 (Wed, 12 Sep 2012) Changed paths: M numpy/core/_internal.py Log Message: ----------- Allow long numbers in numpy.rec.array formats string Commit: 24da7f6fc6b16ebb7b5d30948f6862a2e1c811f3 https://github.com/numpy/numpy/commit/24da7f6fc6b16ebb7b5d30948f6862a2e1c811f3 Author: cgohlke Date: 2012-09-12 (Wed, 12 Sep 2012) Changed paths: M numpy/core/tests/test_records.py Log Message: ----------- Add test for long numbers in numpy.rec.array formats string Commit: 5cb80f8c90c8f17bae45d410f982e887c1aaff7f https://github.com/numpy/numpy/commit/5cb80f8c90c8f17bae45d410f982e887c1aaff7f Author: cgohlke Date: 2012-09-12 (Wed, 12 Sep 2012) Changed paths: M numpy/core/tests/test_dtype.py Log Message: ----------- Add test for long number in shape specifier of dtype string Commit: fbad4a7dad0fc02a17d7cfcb6dea88ce50ea49b5 https://github.com/numpy/numpy/commit/fbad4a7dad0fc02a17d7cfcb6dea88ce50ea49b5 Author: cgohlke Date: 2012-09-12 (Wed, 12 Sep 2012) Changed paths: M numpy/core/tests/test_records.py Log Message: ----------- Remove test_recarray_from_long_formats Commit: 393088169e778df2bdfc91bdc018bc915a2cd03c https://github.com/numpy/numpy/commit/393088169e778df2bdfc91bdc018bc915a2cd03c Author: David Cournapeau Date: 2012-09-12 (Wed, 12 Sep 2012) Changed paths: M numpy/core/bscript Log Message: ----------- BUG: fix bento build. Commit: 416af9a1502f9043708209c872ee577690df54c1 https://github.com/numpy/numpy/commit/416af9a1502f9043708209c872ee577690df54c1 Author: Ondrej Certik Date: 2012-09-12 (Wed, 12 Sep 2012) Changed paths: M pavement.py Log Message: ----------- pavement.py: rename "yop" to "atlas" Commit: 7583adcfadfb8d88ac2b1368d4e4f0e29b179c52 https://github.com/numpy/numpy/commit/7583adcfadfb8d88ac2b1368d4e4f0e29b179c52 Author: Ralf Gommers Date: 2012-09-12 (Wed, 12 Sep 2012) Changed paths: M numpy/lib/utils.py Log Message: ----------- MAINT: silence DeprecationWarning in np.safe_eval(). It comes from the Python compiler package, which isn't available on Python 3.x. We already handle that issue by instead importing the ast module. Commit: 996a9fbc48fa43dcd98cc40aa50a8d2ef5ea9887 https://github.com/numpy/numpy/commit/996a9fbc48fa43dcd98cc40aa50a8d2ef5ea9887 Author: Ond?ej ?ert?k Date: 2012-09-12 (Wed, 12 Sep 2012) Changed paths: M numpy/core/src/multiarray/scalarapi.c M numpy/core/tests/test_regression.py Log Message: ----------- FIX: bug in np.where and recarray swapping Fixes #369 and the Ticket 2185 Thanks to @seberg for providing the patch. Commit: 124a608a3f5b06c4ef2b2d8a178075c1d87987d8 https://github.com/numpy/numpy/commit/124a608a3f5b06c4ef2b2d8a178075c1d87987d8 Author: Jay Bourque Date: 2012-09-12 (Wed, 12 Sep 2012) Changed paths: M numpy/core/_internal.py M numpy/core/tests/test_multiarray.py Log Message: ----------- Fix returned copy Fix returned copy so that copy of view with offsets copies only fields in view, not all the fields from original array. Also add unit tests to make sure this doesn't break when copy is fully deprecated in favor of returning a view. Commit: f65ff87388c23f9888ca151f7a44b039a5315311 https://github.com/numpy/numpy/commit/f65ff87388c23f9888ca151f7a44b039a5315311 Author: Ond?ej ?ert?k Date: 2012-09-12 (Wed, 12 Sep 2012) Changed paths: M numpy/core/_internal.py Log Message: ----------- FIX: simplify the import statement Commit: 7b5dba04e2950971d67dcdbc6c63a73fb86b966f https://github.com/numpy/numpy/commit/7b5dba04e2950971d67dcdbc6c63a73fb86b966f Author: Mark Wiebe Date: 2012-09-12 (Wed, 12 Sep 2012) Changed paths: M numpy/core/src/multiarray/calculation.c Log Message: ----------- BUG: Fix ticket #1588/gh issue #398, refcount error in clip This patch enforces a strict dichotomy for the variables 'indescr' and 'newdescr', so they are either NULL, or they own a reference. Following the consequences of this allowed the reference error to be tracked down. Commit: 1ee4a0030eda944b677091fd709c4f754205fce9 https://github.com/numpy/numpy/commit/1ee4a0030eda944b677091fd709c4f754205fce9 Author: Ond?ej ?ert?k Date: 2012-09-12 (Wed, 12 Sep 2012) Changed paths: M numpy/core/tests/test_regression.py Log Message: ----------- BUG: Add a test for Ticket #1588 The bug was fixed by the previous patch. Commit: ca298493bb5eb56871d28ac929e9e9ce3bbb3bba https://github.com/numpy/numpy/commit/ca298493bb5eb56871d28ac929e9e9ce3bbb3bba Author: Ond?ej ?ert?k Date: 2012-09-12 (Wed, 12 Sep 2012) Changed paths: M numpy/core/tests/test_regression.py Log Message: ----------- BUG: Add a test for Ticket #2189 Commit: 2f28db69b638844053029c06fd98b244883abd13 https://github.com/numpy/numpy/commit/2f28db69b638844053029c06fd98b244883abd13 Author: Ond?ej ?ert?k Date: 2012-09-12 (Wed, 12 Sep 2012) Changed paths: M numpy/core/tests/test_regression.py Log Message: ----------- FIX: Add a test for Ticket #2066 Commit: 5a471b5505e1e751e964cd3edade7db53a9596a9 https://github.com/numpy/numpy/commit/5a471b5505e1e751e964cd3edade7db53a9596a9 Author: Stefan van der Walt Date: 2012-09-12 (Wed, 12 Sep 2012) Changed paths: M numpy/lib/index_tricks.py M numpy/lib/tests/test_index_tricks.py Log Message: ----------- Improve ndindex execution speed. Commit: 3dc3b1b0b7d5ba9f2f661a81d38849c060660b7d https://github.com/numpy/numpy/commit/3dc3b1b0b7d5ba9f2f661a81d38849c060660b7d Author: Stefan van der Walt Date: 2012-09-12 (Wed, 12 Sep 2012) Changed paths: M numpy/lib/index_tricks.py Log Message: ----------- Retain backward compatibility. Enforce C order. Commit: 6e3e289f868c7c9e276a18587c0ad13ea1da66c5 https://github.com/numpy/numpy/commit/6e3e289f868c7c9e276a18587c0ad13ea1da66c5 Author: Ond?ej ?ert?k Date: 2012-09-12 (Wed, 12 Sep 2012) Changed paths: M numpy/random/mtrand/mtrand.c Log Message: ----------- FIX: Regenerate mtrand.c with Cython 0.17 Fixes #416 Commit: cb0de726df85cf97220ae53a96bb9854d1cdc695 https://github.com/numpy/numpy/commit/cb0de726df85cf97220ae53a96bb9854d1cdc695 Author: David Cournapeau Date: 2012-09-13 (Thu, 13 Sep 2012) Changed paths: M bscript Log Message: ----------- REF: remove unused imports in bscript. Commit: 095a3ab7f4bf2a760e6e192ed1d0c145522b3105 https://github.com/numpy/numpy/commit/095a3ab7f4bf2a760e6e192ed1d0c145522b3105 Author: David Cournapeau Date: 2012-09-13 (Thu, 13 Sep 2012) Changed paths: M numpy/core/bento.info M numpy/core/bscript Log Message: ----------- BUG: forgot to build _dotblas in bento build. Commit: 6da087eecb7e41ba875e9b9525d3d7660e8d03a3 https://github.com/numpy/numpy/commit/6da087eecb7e41ba875e9b9525d3d7660e8d03a3 Author: David Cournapeau Date: 2012-09-13 (Thu, 13 Sep 2012) Changed paths: M numpy/build_utils/waf.py Log Message: ----------- BUG: fix custom post_check. Commit: 07e02d07904f00fbe3c8c57fe7e2839671757f42 https://github.com/numpy/numpy/commit/07e02d07904f00fbe3c8c57fe7e2839671757f42 Author: David Cournapeau Date: 2012-09-13 (Thu, 13 Sep 2012) Changed paths: M numpy/core/bento.info M numpy/core/bscript Log Message: ----------- BUG: fix npymath install location. Commit: 84605147f797a8b7bfe0b07db1ed347bb1c6ed31 https://github.com/numpy/numpy/commit/84605147f797a8b7bfe0b07db1ed347bb1c6ed31 Author: Han Genuit Date: 2012-09-13 (Thu, 13 Sep 2012) Changed paths: M numpy/lib/function_base.py Log Message: ----------- BUG: Fix for issues #378 and #392 This should fix the problems with numpy.insert(), where the input values were not checked for all scalar types and where values did not get inserted properly, but got duplicated by default. Commit: 9ee99842f30eb20524c4a552826e04265d9e50b7 https://github.com/numpy/numpy/commit/9ee99842f30eb20524c4a552826e04265d9e50b7 Author: Han Genuit Date: 2012-09-13 (Thu, 13 Sep 2012) Changed paths: M numpy/lib/tests/test_function_base.py Log Message: ----------- TST: Add extra test for multidimensional inserts. Commit: 65ec87e9ec7b9b0d3a711a800a28bb78fb37e213 https://github.com/numpy/numpy/commit/65ec87e9ec7b9b0d3a711a800a28bb78fb37e213 Author: Han Genuit Date: 2012-09-13 (Thu, 13 Sep 2012) Changed paths: M numpy/lib/tests/test_function_base.py Log Message: ----------- TST: Add test for boolean insert Commit: d01354e52d5c272522c09ffd733887500e4846d7 https://github.com/numpy/numpy/commit/d01354e52d5c272522c09ffd733887500e4846d7 Author: Nathaniel J. Smith Date: 2012-09-13 (Thu, 13 Sep 2012) Changed paths: M numpy/random/tests/test_random.py Log Message: ----------- FIX: loosen numerical tolerance in test_pareto() The problem was that in 32bit Ubuntu 12.04, one gets the following: > /home/njs/numpy/.tox/py27/local/lib/python2.7/site-packages/numpy/random/tests/test_random.py(363)test_pareto() -> np.testing.assert_array_almost_equal(actual, desired, decimal=15) (Pdb) actual[1, 0] 52828779.702948704 (Pdb) desired[1, 0] 52828779.702948518 and the test was comparing the numbers to 1e-14, which obviously failed. Fixes #424. Commit: fcacdcc253432c460d92dfaa7f216f7652944d88 https://github.com/numpy/numpy/commit/fcacdcc253432c460d92dfaa7f216f7652944d88 Author: Nathaniel J. Smith Date: 2012-09-13 (Thu, 13 Sep 2012) Changed paths: M .travis-make-py24-virtualenv.sh Log Message: ----------- FIX: use py24-compatible version of virtualenv on Travis Travis recently upgraded to virtualenv 1.8, which has dropped support for Python 2.4. So, in our Python 2.4 setup script, we need to explicitly fetch and use virtualenv 1.7. Likewise for pip 1.1. File imported from the already-fixed version for patsy: https://github.com/pydata/patsy/blob/0316d2901f4195db06e8091c15f37d9fe4ad09de/.travis-make-py24-virtualenv.sh Compare: https://github.com/numpy/numpy/compare/ea23de85d4ea...fcacdcc25343 From noreply at github.com Sun Sep 16 00:42:28 2012 From: noreply at github.com (GitHub) Date: Sat, 15 Sep 2012 21:42:28 -0700 Subject: [Numpy-svn] [numpy/numpy] 50f71c: MAINT: silence Cython warnings about changes dtype... Message-ID: <505558b4b48b_4913107caf0491cf@sh2.rs.github.com.mail> Branch: refs/heads/maintenance/1.7.x Home: https://github.com/numpy/numpy Commit: 50f71cb65ffc7f31f50fa30fa4354317679c0ede https://github.com/numpy/numpy/commit/50f71cb65ffc7f31f50fa30fa4354317679c0ede Author: Ralf Gommers Date: 2012-09-15 (Sat, 15 Sep 2012) Changed paths: M numpy/__init__.py Log Message: ----------- MAINT: silence Cython warnings about changes dtype/ufunc size. These warnings are visible whenever you import scipy (or another package) that was compiled against an older numpy than is installed. For example compiled against 1.5.1, like current scipy binaries are, and used with 1.7.0. These warnings aren't useful; if numpy would really break its ABI it would be noticed in no time without these warnings. From noreply at github.com Mon Sep 17 12:07:14 2012 From: noreply at github.com (GitHub) Date: Mon, 17 Sep 2012 09:07:14 -0700 Subject: [Numpy-svn] [numpy/numpy] ccbf5c: MAINT: Use linspace instead of arange in some exam... Message-ID: <50574ab27d44_611313edaf4856c0@sh3.rs.github.com.mail> Branch: refs/heads/master Home: https://github.com/numpy/numpy Commit: ccbf5cf2fc35ec0a3e2c184fb846bb808aee3610 https://github.com/numpy/numpy/commit/ccbf5cf2fc35ec0a3e2c184fb846bb808aee3610 Author: endolith Date: 2012-09-17 (Mon, 17 Sep 2012) Changed paths: M numpy/lib/function_base.py Log Message: ----------- MAINT: Use linspace instead of arange in some examples. The original code used arange with offsets and scaling to generate sample points. Using linspace simplifies the code and clarifies the intent. From noreply at github.com Mon Sep 17 12:17:49 2012 From: noreply at github.com (GitHub) Date: Mon, 17 Sep 2012 09:17:49 -0700 Subject: [Numpy-svn] [numpy/numpy] 44381b: Fix whitespace formatting Message-ID: <50574d2da7303_47571c11af08548@sh2.rs.github.com.mail> Branch: refs/heads/master Home: https://github.com/numpy/numpy Commit: 44381b83edccdd747643323b7f592c96e1f002ba https://github.com/numpy/numpy/commit/44381b83edccdd747643323b7f592c96e1f002ba Author: cgohlke Date: 2012-09-16 (Sun, 16 Sep 2012) Changed paths: M numpy/distutils/fcompiler/gnu.py Log Message: ----------- Fix whitespace formatting Use spaces instead of tabs Commit: d7215411dab5aade2a70d2938adb4308c923b054 https://github.com/numpy/numpy/commit/d7215411dab5aade2a70d2938adb4308c923b054 Author: cgohlke Date: 2012-09-16 (Sun, 16 Sep 2012) Changed paths: M numpy/distutils/fcompiler/pathf95.py Log Message: ----------- Style: use 4 spaces per indentation level as per PEP8 Commit: 0ab86f0073faf3ff6e22902f8c45e41f62e0f703 https://github.com/numpy/numpy/commit/0ab86f0073faf3ff6e22902f8c45e41f62e0f703 Author: cgohlke Date: 2012-09-16 (Sun, 16 Sep 2012) Changed paths: M numpy/build_utils/waf.py Log Message: ----------- Style: consistently use spaces instead of tabs Commit: 58aefff1ab5a23a42db29479bc05cc93237588e1 https://github.com/numpy/numpy/commit/58aefff1ab5a23a42db29479bc05cc93237588e1 Author: njsmith Date: 2012-09-17 (Mon, 17 Sep 2012) Changed paths: M numpy/build_utils/waf.py M numpy/distutils/fcompiler/gnu.py M numpy/distutils/fcompiler/pathf95.py Log Message: ----------- Merge pull request #446 from cgohlke/patch-1 Style: consistently use spaces instead of tabs in .py files Compare: https://github.com/numpy/numpy/compare/ccbf5cf2fc35...58aefff1ab5a From noreply at github.com Mon Sep 17 12:25:46 2012 From: noreply at github.com (GitHub) Date: Mon, 17 Sep 2012 09:25:46 -0700 Subject: [Numpy-svn] [numpy/numpy] ead9e0: Use PyMODINIT_FUNC and update docs accordingly. Message-ID: <50574f0a2750e_611313edaf493474@sh3.rs.github.com.mail> Branch: refs/heads/master Home: https://github.com/numpy/numpy Commit: ead9e09c5adbc94bfc3c5cc8344089b836cfffd5 https://github.com/numpy/numpy/commit/ead9e09c5adbc94bfc3c5cc8344089b836cfffd5 Author: cgohlke Date: 2012-09-02 (Sun, 02 Sep 2012) Changed paths: M doc/source/user/c-info.ufunc-tutorial.rst M numpy/core/blasdot/_dotblas.c M numpy/core/src/dummymodule.c M numpy/core/src/multiarray/multiarray_tests.c.src M numpy/core/src/multiarray/multiarraymodule.c M numpy/core/src/scalarmathmodule.c.src M numpy/core/src/umath/umath_tests.c.src M numpy/core/src/umath/umathmodule.c M numpy/f2py/rules.py M numpy/f2py/tests/src/array_from_pyobj/wrapmodule.c M numpy/fft/fftpack_litemodule.c M numpy/lib/src/_compiled_base.c M numpy/linalg/lapack_litemodule.c M numpy/numarray/_capi.c Log Message: ----------- Use PyMODINIT_FUNC and update docs accordingly. See https://github.com/scipy/scipy/pull/279 Commit: 9597b1fdef7c46b0d1b1485fb680099ec7115f76 https://github.com/numpy/numpy/commit/9597b1fdef7c46b0d1b1485fb680099ec7115f76 Author: njsmith Date: 2012-09-17 (Mon, 17 Sep 2012) Changed paths: M doc/source/user/c-info.ufunc-tutorial.rst M numpy/core/blasdot/_dotblas.c M numpy/core/src/dummymodule.c M numpy/core/src/multiarray/multiarray_tests.c.src M numpy/core/src/multiarray/multiarraymodule.c M numpy/core/src/scalarmathmodule.c.src M numpy/core/src/umath/umath_tests.c.src M numpy/core/src/umath/umathmodule.c M numpy/f2py/rules.py M numpy/f2py/tests/src/array_from_pyobj/wrapmodule.c M numpy/fft/fftpack_litemodule.c M numpy/lib/src/_compiled_base.c M numpy/linalg/lapack_litemodule.c M numpy/numarray/_capi.c Log Message: ----------- Merge pull request #419 from stefanv/modinit Use PyMODINIT_FUNC and update docs accordingly. Compare: https://github.com/numpy/numpy/compare/58aefff1ab5a...9597b1fdef7c From noreply at github.com Thu Sep 20 01:28:07 2012 From: noreply at github.com (GitHub) Date: Wed, 19 Sep 2012 22:28:07 -0700 Subject: [Numpy-svn] [numpy/numpy] Message-ID: <505aa9679f471_14a914ddaf41590e0@sh3.rs.github.com.mail> Branch: refs/tags/v1.7.0b2 Home: https://github.com/numpy/numpy From noreply at github.com Thu Sep 20 01:28:08 2012 From: noreply at github.com (GitHub) Date: Wed, 19 Sep 2012 22:28:08 -0700 Subject: [Numpy-svn] [numpy/numpy] f21751: Release 1.7.0b2 Message-ID: <505aa9682ceba_6e89de4af483a@sh2.rs.github.com.mail> Branch: refs/heads/maintenance/1.7.x Home: https://github.com/numpy/numpy Commit: f2175177b060d01ec5bf6f7e038d71563995fb42 https://github.com/numpy/numpy/commit/f2175177b060d01ec5bf6f7e038d71563995fb42 Author: Ondrej Certik Date: 2012-09-19 (Wed, 19 Sep 2012) Changed paths: M setup.py Log Message: ----------- Release 1.7.0b2 Commit: 318a5311e32a85a905ff0cbbdbb078fe5ba16614 https://github.com/numpy/numpy/commit/318a5311e32a85a905ff0cbbdbb078fe5ba16614 Author: Ondrej Certik Date: 2012-09-19 (Wed, 19 Sep 2012) Changed paths: M setup.py Log Message: ----------- REL: set version number to 1.7.0rc1-dev. Compare: https://github.com/numpy/numpy/compare/50f71cb65ffc...318a5311e32a From noreply at github.com Fri Sep 21 09:51:28 2012 From: noreply at github.com (GitHub) Date: Fri, 21 Sep 2012 06:51:28 -0700 Subject: [Numpy-svn] [numpy/numpy] e0457e: BUG: Exported f2py_size symbol prevents linking mu... Message-ID: <505c70e0cc90b_37041c66af080331@sh2.rs.github.com.mail> Branch: refs/heads/master Home: https://github.com/numpy/numpy Commit: e0457eb3e0bb146411dc9471127329c560155bb7 https://github.com/numpy/numpy/commit/e0457eb3e0bb146411dc9471127329c560155bb7 Author: Bradley M. Froehle Date: 2012-07-30 (Mon, 30 Jul 2012) Changed paths: M numpy/f2py/cfuncs.py Log Message: ----------- BUG: Exported f2py_size symbol prevents linking multiple f2py modules. Commit: c8ed8baac1921be53d31d014760f9b278d4b9c2e https://github.com/numpy/numpy/commit/c8ed8baac1921be53d31d014760f9b278d4b9c2e Author: njsmith Date: 2012-09-21 (Fri, 21 Sep 2012) Changed paths: M numpy/f2py/cfuncs.py Log Message: ----------- Merge pull request #365 from bfroehle/static_f2py_size BUG: Exported f2py_size symbol prevents linking multiple f2py modules. Compare: https://github.com/numpy/numpy/compare/9597b1fdef7c...c8ed8baac192 From noreply at github.com Fri Sep 21 10:46:40 2012 From: noreply at github.com (GitHub) Date: Fri, 21 Sep 2012 07:46:40 -0700 Subject: [Numpy-svn] [numpy/numpy] e4bafb: Reset flags when Axes are removed. Array might now... Message-ID: <505c7dd04d96c_58ff1bb9ae4609dc@sh2.rs.github.com.mail> Branch: refs/heads/master Home: https://github.com/numpy/numpy Commit: e4bafb2a4a3c682aaec18cc184c6a95ee1a30c26 https://github.com/numpy/numpy/commit/e4bafb2a4a3c682aaec18cc184c6a95ee1a30c26 Author: Sebastian Berg Date: 2012-09-03 (Mon, 03 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: 380ce9436c3c94de60ef9ada40f3917990ed1472 https://github.com/numpy/numpy/commit/380ce9436c3c94de60ef9ada40f3917990ed1472 Author: Sebastian Berg Date: 2012-09-03 (Mon, 03 Sep 2012) Changed paths: M numpy/core/tests/test_regression.py Log Message: ----------- Tests related to Issue #387 Commit: fd63e8f7dcbab6b7c66bd4be400153592319e7b3 https://github.com/numpy/numpy/commit/fd63e8f7dcbab6b7c66bd4be400153592319e7b3 Author: njsmith Date: 2012-09-21 (Fri, 21 Sep 2012) Changed paths: M numpy/core/src/multiarray/shape.c M numpy/core/tests/test_regression.py Log Message: ----------- Merge pull request #420 from seberg/contig Reset flags when Axes are removed. Array might now be 1D, or removed axe... Compare: https://github.com/numpy/numpy/compare/c8ed8baac192...fd63e8f7dcba From noreply at github.com Mon Sep 24 11:31:46 2012 From: noreply at github.com (GitHub) Date: Mon, 24 Sep 2012 08:31:46 -0700 Subject: [Numpy-svn] [numpy/numpy] 470861: ENH: More capable test functions for warnings Message-ID: <50607ce210a78_1b4f1645af438697@sh3.rs.github.com.mail> Branch: refs/heads/master Home: https://github.com/numpy/numpy Commit: 47086158cb00a151b67c442ae759ce230ec0de34 https://github.com/numpy/numpy/commit/47086158cb00a151b67c442ae759ce230ec0de34 Author: Nathaniel J. Smith Date: 2012-09-20 (Thu, 20 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: cea0a209875be753a74b8c7bb02aa9531726ee98 https://github.com/numpy/numpy/commit/cea0a209875be753a74b8c7bb02aa9531726ee98 Author: Nathaniel J. Smith Date: 2012-09-20 (Thu, 20 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: c038fe59a8c355fee50a6c2ac236e750e0ad0ad5 https://github.com/numpy/numpy/commit/c038fe59a8c355fee50a6c2ac236e750e0ad0ad5 Author: Nathaniel J. Smith Date: 2012-09-20 (Thu, 20 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: f18987a69c297b5602b00c22b9759d2ece4a7bf1 https://github.com/numpy/numpy/commit/f18987a69c297b5602b00c22b9759d2ece4a7bf1 Author: Nathaniel J. Smith Date: 2012-09-20 (Thu, 20 Sep 2012) Changed paths: M numpy/core/tests/test_ufunc.py Log Message: ----------- STY: another wording tweak (thanks to @charris) Commit: c8010d0ebca7e0d84c653a9440faf12d26feed9e https://github.com/numpy/numpy/commit/c8010d0ebca7e0d84c653a9440faf12d26feed9e Author: njsmith Date: 2012-09-24 (Mon, 24 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 M numpy/testing/tests/test_utils.py M numpy/testing/utils.py Log Message: ----------- Merge pull request #451 from njsmith/unsafe-cast-deprecation Unsafe cast deprecation Compare: https://github.com/numpy/numpy/compare/fd63e8f7dcba...c8010d0ebca7 From noreply at github.com Mon Sep 24 12:32:55 2012 From: noreply at github.com (GitHub) Date: Mon, 24 Sep 2012 09:32:55 -0700 Subject: [Numpy-svn] [numpy/numpy] 21a1d7: BUG: allow any axis for np.concatenate for 1D Message-ID: <50608b379a514_26511b5fae43038f@sh3.rs.github.com.mail> Branch: refs/heads/master Home: https://github.com/numpy/numpy Commit: 21a1d73627992d4d904150a0056ae8d55af6f1b5 https://github.com/numpy/numpy/commit/21a1d73627992d4d904150a0056ae8d55af6f1b5 Author: Matthew Brett Date: 2012-09-16 (Sun, 16 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. Commit: 4475eadaa879cdc82f5331abc22ab47b99e6b040 https://github.com/numpy/numpy/commit/4475eadaa879cdc82f5331abc22ab47b99e6b040 Author: Matthew Brett Date: 2012-09-16 (Sun, 16 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: 69afd27b870cd85f06c4409fcffd0734ddb2fe76 https://github.com/numpy/numpy/commit/69afd27b870cd85f06c4409fcffd0734ddb2fe76 Author: Matthew Brett Date: 2012-09-16 (Sun, 16 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: 6a847ef7361f4ab4910e69f20cb740d4a2eca4b6 https://github.com/numpy/numpy/commit/6a847ef7361f4ab4910e69f20cb740d4a2eca4b6 Author: njsmith Date: 2012-09-24 (Mon, 24 Sep 2012) Changed paths: M numpy/core/src/multiarray/multiarraymodule.c M numpy/core/tests/test_shape_base.py Log Message: ----------- Merge pull request #440 from matthew-brett/crazy-axis-concat-warning BUG: allow any axis for np.concatenate for 1D Compare: https://github.com/numpy/numpy/compare/c8010d0ebca7...6a847ef7361f From noreply at github.com Wed Sep 26 05:49:03 2012 From: noreply at github.com (GitHub) Date: Wed, 26 Sep 2012 02:49:03 -0700 Subject: [Numpy-svn] [numpy/numpy] 80b3a3: BUG: Fix memory leak in PyArray_Diagonal Message-ID: <5062cf8f6c6e1_76da1299af4397c2@sh2.rs.github.com.mail> Branch: refs/heads/master Home: https://github.com/numpy/numpy Commit: 80b3a3401382cb3f14c5b76dd90d9f932f50ad15 https://github.com/numpy/numpy/commit/80b3a3401382cb3f14c5b76dd90d9f932f50ad15 Author: Nathaniel J. Smith Date: 2012-09-24 (Mon, 24 Sep 2012) Changed paths: M numpy/core/src/multiarray/item_selection.c M numpy/core/tests/test_multiarray.py Log Message: ----------- BUG: Fix memory leak in PyArray_Diagonal Thanks to Gael Varoquaux for the catch. Commit: 4134859a39ac6d8f292b3469c4f399827eaf4578 https://github.com/numpy/numpy/commit/4134859a39ac6d8f292b3469c4f399827eaf4578 Author: njsmith Date: 2012-09-26 (Wed, 26 Sep 2012) Changed paths: M numpy/core/src/multiarray/item_selection.c M numpy/core/tests/test_multiarray.py Log Message: ----------- Merge pull request #457 from njsmith/fix-diagonal-refcounting BUG: Fix memory leak in PyArray_Diagonal Compare: https://github.com/numpy/numpy/compare/6a847ef7361f...4134859a39ac From noreply at github.com Thu Sep 27 13:31:44 2012 From: noreply at github.com (GitHub) Date: Thu, 27 Sep 2012 10:31:44 -0700 Subject: [Numpy-svn] [numpy/numpy] c006f6: Add doc to {empty, zeros, ones}_like that tell in wi... Message-ID: <50648d80a2ed_32f7eacaf46658@sh2.rs.github.com.mail> Branch: refs/heads/master Home: https://github.com/numpy/numpy Commit: c006f6195090f0524ca0510f9d7f716747d8b3d5 https://github.com/numpy/numpy/commit/c006f6195090f0524ca0510f9d7f716747d8b3d5 Author: Frederic Date: 2012-09-26 (Wed, 26 Sep 2012) Changed paths: M numpy/add_newdocs.py M numpy/core/numeric.py Log Message: ----------- Add doc to {empty,zeros,ones}_like that tell in witch version their dtype and order parameter was added Commit: 1ea15928299f3dcb320a7482fc9df8650547b663 https://github.com/numpy/numpy/commit/1ea15928299f3dcb320a7482fc9df8650547b663 Author: njsmith Date: 2012-09-27 (Thu, 27 Sep 2012) Changed paths: M numpy/add_newdocs.py M numpy/core/numeric.py Log Message: ----------- Merge pull request #461 from nouiz/doc small doc update Compare: https://github.com/numpy/numpy/compare/4134859a39ac...1ea15928299f From noreply at github.com Sun Sep 30 06:06:36 2012 From: noreply at github.com (GitHub) Date: Sun, 30 Sep 2012 03:06:36 -0700 Subject: [Numpy-svn] [numpy/numpy] 12e807: BUG: PyErr_SetObject does not steal reference. Message-ID: <506819ac9c9a9_4d9313baaf08716@sh3.rs.github.com.mail> Branch: refs/heads/master Home: https://github.com/numpy/numpy Commit: 12e8079011ce231dacd0ba118b847311e87766fc https://github.com/numpy/numpy/commit/12e8079011ce231dacd0ba118b847311e87766fc Author: Sebastian Berg Date: 2012-09-22 (Sat, 22 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: 78d0272b42c0cbece26d79e197734ea0a0a360fa https://github.com/numpy/numpy/commit/78d0272b42c0cbece26d79e197734ea0a0a360fa Author: njsmith 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: ----------- Merge pull request #449 from seberg/setobjref FIX: PyErr_SetObject does not steal reference (Ticket 2216) Compare: https://github.com/numpy/numpy/compare/1ea15928299f...78d0272b42c0 From noreply at github.com Sun Sep 30 16:48:26 2012 From: noreply at github.com (GitHub) Date: Sun, 30 Sep 2012 13:48:26 -0700 Subject: [Numpy-svn] [numpy/numpy] 7feb44: Revert "Retain backward compatibility. Enforce C o... Message-ID: <5068b01a47987_78ba198fae8196a5@sh2.rs.github.com.mail> Branch: refs/heads/maintenance/1.7.x Home: https://github.com/numpy/numpy Commit: 7feb44e06043595ae13ce35d0444a69d917e9699 https://github.com/numpy/numpy/commit/7feb44e06043595ae13ce35d0444a69d917e9699 Author: Ond?ej ?ert?k Date: 2012-09-28 (Fri, 28 Sep 2012) Changed paths: M numpy/lib/index_tricks.py Log Message: ----------- Revert "Retain backward compatibility. Enforce C order." This reverts commit 3dc3b1b0b7d5ba9f2f661a81d38849c060660b7d. Commit: 8a54c700f2b31c3b560bfae32de2b7b1ae25c1f6 https://github.com/numpy/numpy/commit/8a54c700f2b31c3b560bfae32de2b7b1ae25c1f6 Author: Ond?ej ?ert?k Date: 2012-09-28 (Fri, 28 Sep 2012) Changed paths: M numpy/lib/index_tricks.py M numpy/lib/tests/test_index_tricks.py Log Message: ----------- Revert "Improve ndindex execution speed." This reverts commit 5a471b5505e1e751e964cd3edade7db53a9596a9. Commit: 7ae2fb0160a0d761cb117f44624ed9d873c12444 https://github.com/numpy/numpy/commit/7ae2fb0160a0d761cb117f44624ed9d873c12444 Author: Ond?ej ?ert?k Date: 2012-09-30 (Sun, 30 Sep 2012) Changed paths: M numpy/lib/index_tricks.py M numpy/lib/tests/test_index_tricks.py Log Message: ----------- Merge pull request #463 from certik/1.7.x_fix 1.7.x fix: revert patches Compare: https://github.com/numpy/numpy/compare/318a5311e32a...7ae2fb0160a0