From noreply at github.com Sun Feb 2 00:10:41 2014 From: noreply at github.com (GitHub) Date: Sat, 01 Feb 2014 21:10:41 -0800 Subject: [Numpy-svn] [numpy/numpy] 0b92be: BUG: IRR was returning nan instead of valid negati... Message-ID: <52edd35118d77_11f98b7d4c971bb@hookshot-fe2-pe1-prd.aws.github.net.mail> Branch: refs/heads/master Home: https://github.com/numpy/numpy Commit: 0b92be65cc0063cabab6b9552df74788c4077e5b https://github.com/numpy/numpy/commit/0b92be65cc0063cabab6b9552df74788c4077e5b Author: Philip Eliot Date: 2014-02-01 (Sat, 01 Feb 2014) Changed paths: M numpy/lib/financial.py M numpy/lib/tests/test_financial.py Log Message: ----------- BUG: IRR was returning nan instead of valid negative answer. This change corrects the following two bugs in numpy.irr: * When the solution was negative, numpy.irr returned nan instead of the correct solution because of the mask applied to the roots. Corrected by removing the mask that 0 < res < 1. * When multiple roots were found, numpy.irr was returning an array of all roots rather than a single float. This bug was corrected by selecting the single root closest to zero (min(abs(root)). With these corrections, numpy.irr returns the same result as the corresponding spreadsheet function in LibreOffice Calc for all test cases (additional test cases were added to cover cases with multiple positive and negative roots) From noreply at github.com Sun Feb 2 11:51:26 2014 From: noreply at github.com (GitHub) Date: Sun, 02 Feb 2014 08:51:26 -0800 Subject: [Numpy-svn] [numpy/numpy] e9ebef: BUG: fix scalar type memory leak Message-ID: <52ee778e2d04b_1b781491d48415e1@hookshot-fe4-pe1-prd.aws.github.net.mail> Branch: refs/heads/master Home: https://github.com/numpy/numpy Commit: e9ebefec819ec3c193d4763d9f995c053fee58a3 https://github.com/numpy/numpy/commit/e9ebefec819ec3c193d4763d9f995c053fee58a3 Author: Julian Taylor Date: 2014-01-31 (Fri, 31 Jan 2014) Changed paths: M numpy/core/src/multiarray/arrayobject.c M numpy/core/src/multiarray/multiarraymodule.c M numpy/core/src/multiarray/scalartypes.c.src M numpy/core/tests/test_scalarmath.py Log Message: ----------- BUG: fix scalar type memory leak have an explicit tp_free that is different from PyObject_Free which is also the tp_free of PyBaseObject so python does not COPYSLOT it, instead it takes the next parent PyInt which has a different allocator. Also added it for arrays just in case, currently not required as they don't don't inherit from a python type. Commit: b7850701a31127cad8c7399cea6be9cd5f71bec5 https://github.com/numpy/numpy/commit/b7850701a31127cad8c7399cea6be9cd5f71bec5 Author: Charles Harris Date: 2014-02-02 (Sun, 02 Feb 2014) Changed paths: M numpy/core/src/multiarray/arrayobject.c M numpy/core/src/multiarray/multiarraymodule.c M numpy/core/src/multiarray/scalartypes.c.src M numpy/core/tests/test_scalarmath.py Log Message: ----------- Merge pull request #4248 from juliantaylor/scalar-memleak BUG: fix scalar type memory leak Compare: https://github.com/numpy/numpy/compare/0b92be65cc00...b7850701a311 From noreply at github.com Wed Feb 5 19:52:00 2014 From: noreply at github.com (GitHub) Date: Wed, 05 Feb 2014 16:52:00 -0800 Subject: [Numpy-svn] [numpy/numpy] 0bb46c: ENH: remove insecure mktemp use Message-ID: <52f2dcb0646a8_4ecd51fd389896e@hookshot-fe7-pe1-prd.aws.github.net.mail> Branch: refs/heads/master Home: https://github.com/numpy/numpy Commit: 0bb46c1448b0d3f5453d5182a17ea7ac5854ee15 https://github.com/numpy/numpy/commit/0bb46c1448b0d3f5453d5182a17ea7ac5854ee15 Author: Julian Taylor Date: 2014-02-05 (Wed, 05 Feb 2014) Changed paths: M numpy/core/tests/test_memmap.py M numpy/core/tests/test_multiarray.py M numpy/f2py/__init__.py M numpy/f2py/f2py2e.py M numpy/lib/tests/test_io.py Log Message: ----------- ENH: remove insecure mktemp use mktemp only returns a filename, a malicous user could replace it before it gets used. Commit: c7a30d538ba4c984d6f97b613486a3738b2c7922 https://github.com/numpy/numpy/commit/c7a30d538ba4c984d6f97b613486a3738b2c7922 Author: Charles Harris Date: 2014-02-05 (Wed, 05 Feb 2014) Changed paths: M numpy/core/tests/test_memmap.py M numpy/core/tests/test_multiarray.py M numpy/f2py/__init__.py M numpy/f2py/f2py2e.py M numpy/lib/tests/test_io.py Log Message: ----------- Merge pull request #4262 from juliantaylor/mktemp-remove remove insecure mktemp usage Compare: https://github.com/numpy/numpy/compare/b7850701a311...c7a30d538ba4 From noreply at github.com Thu Feb 6 13:32:33 2014 From: noreply at github.com (GitHub) Date: Thu, 06 Feb 2014 10:32:33 -0800 Subject: [Numpy-svn] [numpy/numpy] ed569b: Detect vendor versions of GNU Compilers Message-ID: <52f3d541d9ab4_20531077d343126f@hookshot-fe8-pe1-prd.aws.github.net.mail> Branch: refs/heads/master Home: https://github.com/numpy/numpy Commit: ed569bfa689a3f58425af2c5007a6779a7f4c4a7 https://github.com/numpy/numpy/commit/ed569bfa689a3f58425af2c5007a6779a7f4c4a7 Author: Aron Ahmadia Date: 2014-02-04 (Tue, 04 Feb 2014) Changed paths: M numpy/distutils/fcompiler/gnu.py Log Message: ----------- Detect vendor versions of GNU Compilers Cray and other HPC vendors provide patched versions of the GNU compilers with modified version strings. Use re.search instead of re.match in the version detection scripts to account for modified version strings. Ref: https://github.com/numpy/numpy/issues/4259 Commit: f2d06ceb03490d60a5720581f2a0bef75cb9ce89 https://github.com/numpy/numpy/commit/f2d06ceb03490d60a5720581f2a0bef75cb9ce89 Author: Julian Taylor Date: 2014-02-06 (Thu, 06 Feb 2014) Changed paths: M numpy/distutils/fcompiler/gnu.py Log Message: ----------- Merge pull request #4261 from ahmadia/allow_vendor_compiler_versions BUG: Detect vendor versions of GNU Compilers Compare: https://github.com/numpy/numpy/compare/c7a30d538ba4...f2d06ceb0349 From noreply at github.com Sun Feb 9 06:45:04 2014 From: noreply at github.com (GitHub) Date: Sun, 09 Feb 2014 03:45:04 -0800 Subject: [Numpy-svn] [numpy/numpy] 524b9e: TST: fix test_io.TestSavezLoad Message-ID: <52f76a40b2613_5156eb1d38210f5@hookshot-fe12-pe1-prd.aws.github.net.mail> Branch: refs/heads/master Home: https://github.com/numpy/numpy Commit: 524b9eaa33ec67e34eb31a208e02bb934f778096 https://github.com/numpy/numpy/commit/524b9eaa33ec67e34eb31a208e02bb934f778096 Author: Julian Taylor Date: 2014-02-08 (Sat, 08 Feb 2014) Changed paths: M numpy/lib/tests/test_io.py Log Message: ----------- TST: fix test_io.TestSavezLoad Commit: df66018e576dfbf25a82e7f4399350bae57eef5c https://github.com/numpy/numpy/commit/df66018e576dfbf25a82e7f4399350bae57eef5c Author: Julian Taylor Date: 2014-02-09 (Sun, 09 Feb 2014) Changed paths: M numpy/lib/tests/test_io.py Log Message: ----------- Merge pull request #4271 from juliantaylor/big-file-test-fix TST: fix test_io.TestSavezLoad Compare: https://github.com/numpy/numpy/compare/f2d06ceb0349...df66018e576d From noreply at github.com Sun Feb 9 06:53:48 2014 From: noreply at github.com (GitHub) Date: Sun, 09 Feb 2014 03:53:48 -0800 Subject: [Numpy-svn] [numpy/numpy] 6c866c: BUG: fix two missing array creation failure checks Message-ID: <52f76c4ccb915_76210f3d44321a3@hookshot-fe8-pe1-prd.aws.github.net.mail> Branch: refs/heads/master Home: https://github.com/numpy/numpy Commit: 6c866c561f1cfd632a8cb08c525f868766d8858b https://github.com/numpy/numpy/commit/6c866c561f1cfd632a8cb08c525f868766d8858b Author: Julian Taylor Date: 2014-02-07 (Fri, 07 Feb 2014) Changed paths: M numpy/core/src/multiarray/ctors.c M numpy/core/src/multiarray/nditer_pywrap.c Log Message: ----------- BUG: fix two missing array creation failure checks Commit: cedc9c4995afa0e9386c5b741cbc99c5543c806c https://github.com/numpy/numpy/commit/cedc9c4995afa0e9386c5b741cbc99c5543c806c Author: Julian Taylor Date: 2014-02-09 (Sun, 09 Feb 2014) Changed paths: M numpy/core/src/multiarray/array_assign_scalar.c M numpy/core/src/multiarray/ctors.c M numpy/core/src/multiarray/datetime_strings.c M numpy/core/src/multiarray/descriptor.c M numpy/core/src/multiarray/iterators.c M numpy/core/src/multiarray/methods.c M numpy/core/src/multiarray/multiarraymodule.c M numpy/core/src/multiarray/nditer_pywrap.c M numpy/core/src/multiarray/scalarapi.c Log Message: ----------- BUG: fix missing memory allocation failure checks Commit: b93b49314803a8d57fd7580a2225036bd0325880 https://github.com/numpy/numpy/commit/b93b49314803a8d57fd7580a2225036bd0325880 Author: Julian Taylor Date: 2014-02-09 (Sun, 09 Feb 2014) Changed paths: M numpy/core/src/umath/ufunc_object.c Log Message: ----------- BUG: fix use of capi without gil in ufunc.at without a pointer to store the error NpyIter_ResetBasePointers uses python errors to signal problems which requires the GIL. Commit: 6a7da266ca6a55b0439117ae654664d51ebff19e https://github.com/numpy/numpy/commit/6a7da266ca6a55b0439117ae654664d51ebff19e Author: Julian Taylor Date: 2014-02-09 (Sun, 09 Feb 2014) Changed paths: M numpy/core/src/multiarray/array_assign_scalar.c M numpy/core/src/multiarray/ctors.c M numpy/core/src/multiarray/datetime_strings.c M numpy/core/src/multiarray/descriptor.c M numpy/core/src/multiarray/iterators.c M numpy/core/src/multiarray/methods.c M numpy/core/src/multiarray/multiarraymodule.c M numpy/core/src/multiarray/nditer_pywrap.c M numpy/core/src/multiarray/scalarapi.c M numpy/core/src/umath/ufunc_object.c Log Message: ----------- Merge pull request #4267 from juliantaylor/fuzz-test BUG: add more malloc failure checks Compare: https://github.com/numpy/numpy/compare/df66018e576d...6a7da266ca6a From noreply at github.com Sun Feb 9 07:17:08 2014 From: noreply at github.com (GitHub) Date: Sun, 09 Feb 2014 04:17:08 -0800 Subject: [Numpy-svn] [numpy/numpy] 8296aa: TST: clean up tempfile in test_closing_zipfile_aft... Message-ID: <52f771c422703_8eeea1d349656d@hookshot-fe10-pe1-prd.aws.github.net.mail> Branch: refs/heads/master Home: https://github.com/numpy/numpy Commit: 8296aa0b911c036c984e23665ee0f7ddca579b91 https://github.com/numpy/numpy/commit/8296aa0b911c036c984e23665ee0f7ddca579b91 Author: Julian Taylor Date: 2014-02-08 (Sat, 08 Feb 2014) Changed paths: M numpy/lib/tests/test_io.py Log Message: ----------- TST: clean up tempfile in test_closing_zipfile_after_load Commit: 09d0520b58df0054880465b7ceae0e83a3b8e421 https://github.com/numpy/numpy/commit/09d0520b58df0054880465b7ceae0e83a3b8e421 Author: Julian Taylor Date: 2014-02-09 (Sun, 09 Feb 2014) Changed paths: M numpy/lib/tests/test_io.py Log Message: ----------- Merge pull request #4273 from juliantaylor/test-file-leak TST: clean up tempfile in test_closing_zipfile_after_load Compare: https://github.com/numpy/numpy/compare/6a7da266ca6a...09d0520b58df From noreply at github.com Sun Feb 9 11:43:44 2014 From: noreply at github.com (GitHub) Date: Sun, 09 Feb 2014 08:43:44 -0800 Subject: [Numpy-svn] [numpy/numpy] 607863: ENH: Attempt to rewrite the index parsing. Message-ID: <52f7b0404f3ec_54e78b9d40529e6@hookshot-fe9-pe1-prd.aws.github.net.mail> Branch: refs/heads/master Home: https://github.com/numpy/numpy Commit: 607863d7387e80dab4b064856b598a8c86e9bee4 https://github.com/numpy/numpy/commit/607863d7387e80dab4b064856b598a8c86e9bee4 Author: Sebastian Berg Date: 2014-02-06 (Thu, 06 Feb 2014) Changed paths: M numpy/core/include/numpy/ndarraytypes.h M numpy/core/src/multiarray/mapping.c M numpy/core/src/multiarray/mapping.h M numpy/core/src/multiarray/scalartypes.c.src M numpy/core/tests/test_indexing.py M numpy/lib/tests/test_function_base.py Log Message: ----------- ENH: Attempt to rewrite the index parsing. Some optimizations still missing. Commit: 3e35c313a61273382391c65fa8eab24e61c0cab9 https://github.com/numpy/numpy/commit/3e35c313a61273382391c65fa8eab24e61c0cab9 Author: Sebastian Berg Date: 2014-02-06 (Thu, 06 Feb 2014) Changed paths: M numpy/core/include/numpy/ndarraytypes.h M numpy/core/src/multiarray/mapping.c Log Message: ----------- WIP: Speed improvements by using EXTERNAL_LOOP Commit: fe615783daf2763496fc827e2377d9baaefcda26 https://github.com/numpy/numpy/commit/fe615783daf2763496fc827e2377d9baaefcda26 Author: Sebastian Berg Date: 2014-02-06 (Thu, 06 Feb 2014) Changed paths: M numpy/core/tests/test_indexing.py M numpy/core/tests/test_multiarray.py M numpy/core/tests/test_numerictypes.py M numpy/core/tests/test_regression.py Log Message: ----------- WIP,TST: Fix tests to match new behaviour Commit: efdc9b078cf172bd693a7a2f8117cb2404b12f54 https://github.com/numpy/numpy/commit/efdc9b078cf172bd693a7a2f8117cb2404b12f54 Author: Sebastian Berg Date: 2014-02-06 (Thu, 06 Feb 2014) Changed paths: M numpy/core/src/multiarray/mapping.c M numpy/core/src/multiarray/mapping.h Log Message: ----------- WIP: use fast_take and fix Deprecations Commit: a32709fba5d0c19c320599c242e2faef47231045 https://github.com/numpy/numpy/commit/a32709fba5d0c19c320599c242e2faef47231045 Author: Sebastian Berg Date: 2014-02-06 (Thu, 06 Feb 2014) Changed paths: M numpy/core/tests/test_deprecations.py Log Message: ----------- WIP,TST: Small fixes for the tests Commit: 1b35cb9e5b1e45cd9c4cb11107a5a794a07c5f77 https://github.com/numpy/numpy/commit/1b35cb9e5b1e45cd9c4cb11107a5a794a07c5f77 Author: Sebastian Berg Date: 2014-02-06 (Thu, 06 Feb 2014) Changed paths: M numpy/core/src/multiarray/mapping.c Log Message: ----------- WIP: bug fixes and field oder access change Commit: 085115713db4701790838101451d5f5212124574 https://github.com/numpy/numpy/commit/085115713db4701790838101451d5f5212124574 Author: Sebastian Berg Date: 2014-02-06 (Thu, 06 Feb 2014) Changed paths: M numpy/core/tests/test_multiarray.py Log Message: ----------- WIP,TST: Fixup python3 tests Commit: 631710bbf4a6ef7a3119214cc890b9d18bcc42a7 https://github.com/numpy/numpy/commit/631710bbf4a6ef7a3119214cc890b9d18bcc42a7 Author: Sebastian Berg Date: 2014-02-06 (Thu, 06 Feb 2014) Changed paths: M numpy/core/src/multiarray/mapping.c Log Message: ----------- WIP: fix field order; And MapIterNext iteration end Commit: 23c3b30e7c9d600bac618020cc5db3dc5c59a645 https://github.com/numpy/numpy/commit/23c3b30e7c9d600bac618020cc5db3dc5c59a645 Author: Sebastian Berg Date: 2014-02-06 (Thu, 06 Feb 2014) Changed paths: M numpy/core/tests/test_indexing.py Log Message: ----------- WIP,TST,DOC: tiny fix maybe triggers Travis too... Commit: acafbff07a8687d9990d83f2c0f0e17e9b5eca46 https://github.com/numpy/numpy/commit/acafbff07a8687d9990d83f2c0f0e17e9b5eca46 Author: Sebastian Berg Date: 2014-02-06 (Thu, 06 Feb 2014) Changed paths: M numpy/core/src/multiarray/mapping.c Log Message: ----------- WIP: Move Ellipsis setting check and clear warnings Commit: 4780be1af1dba624dba006e73c5675b890d63eb7 https://github.com/numpy/numpy/commit/4780be1af1dba624dba006e73c5675b890d63eb7 Author: Sebastian Berg Date: 2014-02-06 (Thu, 06 Feb 2014) Changed paths: M numpy/core/include/numpy/ndarraytypes.h Log Message: ----------- WIP: Restore binary compatibility of MapIterObject (hopefully) Commit: a7f39ff37e0b09b144090a3a4486e21155d09e2b https://github.com/numpy/numpy/commit/a7f39ff37e0b09b144090a3a4486e21155d09e2b Author: Sebastian Berg Date: 2014-02-06 (Thu, 06 Feb 2014) Changed paths: M numpy/core/src/multiarray/mapping.c Log Message: ----------- WIP,ENH: Already allow boolean scalars for 0-d arrays Since indexing into a 0-d array with an integer is impossible, we can disable any conversion/interpretation is integer code to special case the 0-d array for now and fix this annoying issue... Commit: 4b3f60757a351bf4edf35b0cbfa6df4dbbb9aab5 https://github.com/numpy/numpy/commit/4b3f60757a351bf4edf35b0cbfa6df4dbbb9aab5 Author: Sebastian Berg Date: 2014-02-06 (Thu, 06 Feb 2014) Changed paths: M numpy/core/src/multiarray/mapping.c Log Message: ----------- WIP,BUG: Fix outer iteration bug. Commit: 28dab27a3f215d566f2b6e54485057df2a0b22c8 https://github.com/numpy/numpy/commit/28dab27a3f215d566f2b6e54485057df2a0b22c8 Author: Sebastian Berg Date: 2014-02-06 (Thu, 06 Feb 2014) Changed paths: M numpy/core/src/multiarray/mapping.c Log Message: ----------- Attempt to start optimizing setmap Commit: 9f55b02fd35092c72ce4c0b6360246e86581cec5 https://github.com/numpy/numpy/commit/9f55b02fd35092c72ce4c0b6360246e86581cec5 Author: Sebastian Berg Date: 2014-02-06 (Thu, 06 Feb 2014) Changed paths: M numpy/core/src/multiarray/mapping.c Log Message: ----------- Followup stuff Commit: 1bad2c3eeb4ddc2906eb24d10a20e4f85766e4c7 https://github.com/numpy/numpy/commit/1bad2c3eeb4ddc2906eb24d10a20e4f85766e4c7 Author: Sebastian Berg Date: 2014-02-06 (Thu, 06 Feb 2014) Changed paths: M numpy/core/src/multiarray/mapping.c M numpy/core/src/multiarray/mapping.h Log Message: ----------- Start trying to include operand into iterator Commit: 5b3d406cad485871bb4623034dc3607c3126179a https://github.com/numpy/numpy/commit/5b3d406cad485871bb4623034dc3607c3126179a Author: Sebastian Berg Date: 2014-02-06 (Thu, 06 Feb 2014) Changed paths: M numpy/core/include/numpy/ndarraytypes.h M numpy/core/src/multiarray/mapping.c Log Message: ----------- Working on a thourough rework of mapiter Commit: ef22bd4e22356df5c35b5a30a69c51d04ac33a3c https://github.com/numpy/numpy/commit/ef22bd4e22356df5c35b5a30a69c51d04ac33a3c Author: Sebastian Berg Date: 2014-02-06 (Thu, 06 Feb 2014) Changed paths: M numpy/core/include/numpy/ndarraytypes.h M numpy/core/src/multiarray/mapping.c M numpy/core/src/multiarray/mapping.h Log Message: ----------- Working mostly now, need to plug back in the exposed API Commit: f4772b1acf6bf2aa63fd28c1648c474df379f0da https://github.com/numpy/numpy/commit/f4772b1acf6bf2aa63fd28c1648c474df379f0da Author: Sebastian Berg Date: 2014-02-06 (Thu, 06 Feb 2014) Changed paths: M numpy/core/src/multiarray/mapping.c Log Message: ----------- Further fixups Commit: 8533c52709f3850280f28ba5f1c0367361717445 https://github.com/numpy/numpy/commit/8533c52709f3850280f28ba5f1c0367361717445 Author: Sebastian Berg Date: 2014-02-06 (Thu, 06 Feb 2014) Changed paths: M numpy/core/include/numpy/ndarraytypes.h M numpy/core/src/multiarray/mapping.c M numpy/core/src/multiarray/mapping.h Log Message: ----------- Fix bugs with old mapiter compatibility Commit: 269b6da86909af5d573ffe00c3d9d10dbfcb094a https://github.com/numpy/numpy/commit/269b6da86909af5d573ffe00c3d9d10dbfcb094a Author: Sebastian Berg Date: 2014-02-06 (Thu, 06 Feb 2014) Changed paths: M numpy/core/src/multiarray/mapping.c Log Message: ----------- readd mapping.c change lost in rebase Commit: 3ec6314556f3cc28ce7ac6fbe63ddc15d90f2065 https://github.com/numpy/numpy/commit/3ec6314556f3cc28ce7ac6fbe63ddc15d90f2065 Author: Sebastian Berg Date: 2014-02-06 (Thu, 06 Feb 2014) Changed paths: M numpy/core/include/numpy/ndarraytypes.h M numpy/core/src/multiarray/mapping.c Log Message: ----------- BUG: Abort iteration when dtype buffering errored This means that if the buffer is smaller then the array, a transfer may be done up until the first bad element is reached. This is in line with all other transfers. Commit: 80d3bdd1d2f5cdc81557cc78efbc6928c1f750c9 https://github.com/numpy/numpy/commit/80d3bdd1d2f5cdc81557cc78efbc6928c1f750c9 Author: Sebastian Berg Date: 2014-02-06 (Thu, 06 Feb 2014) Changed paths: M numpy/core/src/multiarray/mapping.c Log Message: ----------- GRRRRR: Scipy ndimage.measurement uses 1-D iteration order... ... for assignments Commit: 2d82c059dfbd5cde0538fddf023f5e8a9fe0d041 https://github.com/numpy/numpy/commit/2d82c059dfbd5cde0538fddf023f5e8a9fe0d041 Author: Sebastian Berg Date: 2014-02-06 (Thu, 06 Feb 2014) Changed paths: M numpy/core/src/multiarray/mapping.c Log Message: ----------- GRR: Fully consider scalar arrays as array indices This will break matrix[:,np.array(1)] = vals (transposed lhs during assignment) Commit: 308bf7ab1ad5ed2650fc1e0f7dbc0397f34737c6 https://github.com/numpy/numpy/commit/308bf7ab1ad5ed2650fc1e0f7dbc0397f34737c6 Author: Sebastian Berg Date: 2014-02-06 (Thu, 06 Feb 2014) Changed paths: M numpy/core/src/multiarray/common.c M numpy/core/src/multiarray/common.h M numpy/core/src/multiarray/mapping.c M numpy/core/src/multiarray/nditer_constr.c M numpy/core/tests/test_nditer.py M numpy/core/tests/test_regression.py Log Message: ----------- ENH: Create meaningful broadcasting errors Also checks dimensions a bit stricter (not relavent currently), silence error (back to old behaviour...) When advanced indexes cannot be broadcast, an index error is now raised. When the assignment values cannot be broadcast a ValueError is raised. Note shape printing in nditer is no changed so that it is (2,) and not (2). Commit: 13b44ee04a924aeccfb67fc986fa68d221bd86e2 https://github.com/numpy/numpy/commit/13b44ee04a924aeccfb67fc986fa68d221bd86e2 Author: Sebastian Berg Date: 2014-02-06 (Thu, 06 Feb 2014) Changed paths: M numpy/core/src/multiarray/mapping.c Log Message: ----------- BUG: Check if extra operand has too many dimensions This was *not* done for the 1-d special case previously. Commit: 96dbf1bc7378cd67d690de628ad78016610058bb https://github.com/numpy/numpy/commit/96dbf1bc7378cd67d690de628ad78016610058bb Author: Sebastian Berg Date: 2014-02-06 (Thu, 06 Feb 2014) Changed paths: M numpy/core/src/multiarray/lowlevel_strided_loops.c.src M numpy/core/src/multiarray/mapping.c M numpy/core/src/private/lowlevel_strided_loops.h Log Message: ----------- ENH: Use template for inner loops and use stransfer Commit: 020ec9612e522f2bc6dffb54da00cc4919457541 https://github.com/numpy/numpy/commit/020ec9612e522f2bc6dffb54da00cc4919457541 Author: Sebastian Berg Date: 2014-02-06 (Thu, 06 Feb 2014) Changed paths: M numpy/core/src/multiarray/mapping.c Log Message: ----------- BUG: Fix reference count issues Commit: fa35a252de2e7ba30276ca30ab67775d4f2e9383 https://github.com/numpy/numpy/commit/fa35a252de2e7ba30276ca30ab67775d4f2e9383 Author: Sebastian Berg Date: 2014-02-06 (Thu, 06 Feb 2014) Changed paths: M numpy/core/src/multiarray/lowlevel_strided_loops.c.src M numpy/core/src/multiarray/mapping.c M numpy/core/src/private/lowlevel_strided_loops.h Log Message: ----------- ENH: Add trivial loop special cases for fancy indexing This optimizes simple contiguous loops for a single fancy index into a 1-d array and also for general index checking Commit: 059f7d416dcb3c3c35665f72aec5c8a80370c1a2 https://github.com/numpy/numpy/commit/059f7d416dcb3c3c35665f72aec5c8a80370c1a2 Author: Sebastian Berg Date: 2014-02-06 (Thu, 06 Feb 2014) Changed paths: M numpy/core/src/multiarray/lowlevel_strided_loops.c.src M numpy/core/src/multiarray/mapping.c Log Message: ----------- ENH: Only check getitem index in inner loop if a single index Otherwise they might be broadcasted which makes index checking in the inner loop unnecessary expensive. The overhead itself should not be too high in that case. Also some cleanup Commit: b85dcf89078968b9d8e42ded22a5ed32c5d434f6 https://github.com/numpy/numpy/commit/b85dcf89078968b9d8e42ded22a5ed32c5d434f6 Author: Sebastian Berg Date: 2014-02-06 (Thu, 06 Feb 2014) Changed paths: M numpy/core/src/multiarray/lowlevel_strided_loops.c.src Log Message: ----------- MAINT: Small cleanups Commit: 009b17a85a22707e63ac9ea1896413992bbf9ce5 https://github.com/numpy/numpy/commit/009b17a85a22707e63ac9ea1896413992bbf9ce5 Author: Sebastian Berg Date: 2014-02-06 (Thu, 06 Feb 2014) Changed paths: M numpy/core/src/multiarray/mapping.c M numpy/core/src/private/lowlevel_strided_loops.h M numpy/core/tests/test_indexing.py Log Message: ----------- BUG: Fix native byteorder check for trivial loops Commit: fe859f13e2ce05c5e60c8bc446ba4dbc56e493ce https://github.com/numpy/numpy/commit/fe859f13e2ce05c5e60c8bc446ba4dbc56e493ce Author: Sebastian Berg Date: 2014-02-06 (Thu, 06 Feb 2014) Changed paths: M numpy/core/tests/test_indexing.py Log Message: ----------- TST: Add some broadcasting assignment tests Commit: 169926fd81fced556396b3709334b98ecddde1b7 https://github.com/numpy/numpy/commit/169926fd81fced556396b3709334b98ecddde1b7 Author: Sebastian Berg Date: 2014-02-06 (Thu, 06 Feb 2014) Changed paths: M numpy/core/src/multiarray/lowlevel_strided_loops.c.src M numpy/core/src/multiarray/mapping.c M numpy/core/tests/test_indexing.py Log Message: ----------- BUGS: Fix subspace casting and make fancy broadcasting consistent Normal CopyInto allows removal of 1s from the start, but broadcasting never did (and did not here before). This allows that case, though by creating a view. Commit: 52b4a94b8d01854246bdb6cd53337d043d635251 https://github.com/numpy/numpy/commit/52b4a94b8d01854246bdb6cd53337d043d635251 Author: Sebastian Berg Date: 2014-02-06 (Thu, 06 Feb 2014) Changed paths: M numpy/core/src/multiarray/mapping.c M numpy/core/tests/test_indexing.py Log Message: ----------- ENH,TST: Add many tests and have boolean finalize at end. __array_finalize__ is now called in boolean indexing on the result array, so that all numerical values are available. Commit: 628f60db43282e87a56e98561211ad04cf55eed7 https://github.com/numpy/numpy/commit/628f60db43282e87a56e98561211ad04cf55eed7 Author: Sebastian Berg Date: 2014-02-06 (Thu, 06 Feb 2014) Changed paths: M numpy/core/tests/test_indexing.py Log Message: ----------- TST: Just one more small test Commit: 854400057f0287b80cfac42e16f98d0daa097aed https://github.com/numpy/numpy/commit/854400057f0287b80cfac42e16f98d0daa097aed Author: Sebastian Berg Date: 2014-02-06 (Thu, 06 Feb 2014) Changed paths: M numpy/core/src/multiarray/mapping.c M numpy/core/tests/test_deprecations.py Log Message: ----------- TST: Add deprecation tests Commit: 753bcc42f63546ecb0892a260f8117f4a07fd276 https://github.com/numpy/numpy/commit/753bcc42f63546ecb0892a260f8117f4a07fd276 Author: Sebastian Berg Date: 2014-02-06 (Thu, 06 Feb 2014) Changed paths: M numpy/core/src/multiarray/mapping.c M numpy/core/tests/test_indexing.py Log Message: ----------- BUG: Test and fix array converson before transpose When SwapAxes is called a base class array is needed or the subclass might mess with the shape. Fixes the previously not-working test and code Commit: 90421c6b876ed391a9d1c3439327ab5342c136ce https://github.com/numpy/numpy/commit/90421c6b876ed391a9d1c3439327ab5342c136ce Author: Sebastian Berg Date: 2014-02-06 (Thu, 06 Feb 2014) Changed paths: M numpy/core/src/multiarray/mapping.c Log Message: ----------- DOC: Some doc fixes Commit: 1e647c595dc6e4d5dec4b0a3ecf136b33ae89627 https://github.com/numpy/numpy/commit/1e647c595dc6e4d5dec4b0a3ecf136b33ae89627 Author: Sebastian Berg Date: 2014-02-06 (Thu, 06 Feb 2014) Changed paths: M numpy/core/src/multiarray/mapping.c Log Message: ----------- STY/DOC: minor fixes Commit: b1f8e29dfe87c886f546699ced509df7027bb0dd https://github.com/numpy/numpy/commit/b1f8e29dfe87c886f546699ced509df7027bb0dd Author: Sebastian Berg Date: 2014-02-06 (Thu, 06 Feb 2014) Changed paths: M numpy/core/src/multiarray/mapping.c Log Message: ----------- STY: mapping.c minor style fixes Commit: 44c1f7a0876ca8d18ac07b5f637998b197086267 https://github.com/numpy/numpy/commit/44c1f7a0876ca8d18ac07b5f637998b197086267 Author: Sebastian Berg Date: 2014-02-06 (Thu, 06 Feb 2014) Changed paths: M numpy/core/src/multiarray/mapping.c M numpy/core/tests/test_indexing.py Log Message: ----------- BUG: Memory order of indexing result should be flexible Memory order of non-trivial indexing results should adept to the input. Commit: 4cc60668976c7ecf88e7c5776d0e159c113bb899 https://github.com/numpy/numpy/commit/4cc60668976c7ecf88e7c5776d0e159c113bb899 Author: Sebastian Berg Date: 2014-02-06 (Thu, 06 Feb 2014) Changed paths: M numpy/core/src/multiarray/mapping.c M numpy/core/tests/test_indexing.py Log Message: ----------- STY|DOC: Small fixes Commit: 4836b6526e1cc4f5cad473fbeb91cbbc72bf5e3c https://github.com/numpy/numpy/commit/4836b6526e1cc4f5cad473fbeb91cbbc72bf5e3c Author: Sebastian Berg Date: 2014-02-06 (Thu, 06 Feb 2014) Changed paths: M numpy/core/tests/test_indexing.py Log Message: ----------- TST: Simple indexing subspace broadcasting test. Commit: b99396899cfba88ee51ef7a09e69c03bb0979212 https://github.com/numpy/numpy/commit/b99396899cfba88ee51ef7a09e69c03bb0979212 Author: Sebastian Berg Date: 2014-02-06 (Thu, 06 Feb 2014) Changed paths: M doc/release/1.9.0-notes.rst Log Message: ----------- DOC: Add indexing info to release notes Commit: 4e92b2b4d6a8e09dbbc659fa1a721550c7bd9c8d https://github.com/numpy/numpy/commit/4e92b2b4d6a8e09dbbc659fa1a721550c7bd9c8d Author: Sebastian Berg Date: 2014-02-06 (Thu, 06 Feb 2014) Changed paths: M numpy/core/tests/test_indexing.py Log Message: ----------- TST: Fix buggy ref-count test Commit: e0b28df9fa386b6aa8f439a5949e984c90a8320d https://github.com/numpy/numpy/commit/e0b28df9fa386b6aa8f439a5949e984c90a8320d Author: Sebastian Berg Date: 2014-02-06 (Thu, 06 Feb 2014) Changed paths: M numpy/core/include/numpy/ndarraytypes.h M numpy/core/src/multiarray/mapping.h Log Message: ----------- MAINT: move npy_index_info into mapping.h Commit: 628e0efd4356dc9488bc79cbe28f905a72839998 https://github.com/numpy/numpy/commit/628e0efd4356dc9488bc79cbe28f905a72839998 Author: Sebastian Berg Date: 2014-02-06 (Thu, 06 Feb 2014) Changed paths: M doc/release/1.9.0-notes.rst Log Message: ----------- DOC|MINOR: minor fixes to release notes indexing part. Commit: d1cf9054705ab2fbd5193c9bf970b3b655076ff5 https://github.com/numpy/numpy/commit/d1cf9054705ab2fbd5193c9bf970b3b655076ff5 Author: Sebastian Berg Date: 2014-02-06 (Thu, 06 Feb 2014) Changed paths: M numpy/core/src/multiarray/mapping.c Log Message: ----------- MAINT: Remove old undefs in mapping.c Commit: 97e9053ef7da4d6f8b4fef175604b1fdb0e5e28a https://github.com/numpy/numpy/commit/97e9053ef7da4d6f8b4fef175604b1fdb0e5e28a Author: Sebastian Berg Date: 2014-02-06 (Thu, 06 Feb 2014) Changed paths: M doc/release/1.9.0-notes.rst Log Message: ----------- DOC: Minor release notes changes Commit: 9635b48428f9c06aa0fdd30d46dbf9e6738240da https://github.com/numpy/numpy/commit/9635b48428f9c06aa0fdd30d46dbf9e6738240da Author: Sebastian Berg Date: 2014-02-06 (Thu, 06 Feb 2014) Changed paths: M doc/release/1.9.0-notes.rst M numpy/core/src/multiarray/mapping.c M numpy/core/tests/test_indexing.py Log Message: ----------- BUG: Move 0-d array-is-scalar special case into array branch This should also fix array-likes Commit: c3eb6c549c91ce5f66a514788c7924e671c0fe9c https://github.com/numpy/numpy/commit/c3eb6c549c91ce5f66a514788c7924e671c0fe9c Author: Sebastian Berg Date: 2014-02-06 (Thu, 06 Feb 2014) Changed paths: M numpy/core/src/multiarray/lowlevel_strided_loops.c.src M numpy/core/tests/test_indexing.py Log Message: ----------- BUG: Skip must check SIZE and NDIM... Found by pandas tests... Commit: 98b1892b3ec87f37ad15b289177bf5b83feed56f https://github.com/numpy/numpy/commit/98b1892b3ec87f37ad15b289177bf5b83feed56f Author: Sebastian Berg Date: 2014-02-06 (Thu, 06 Feb 2014) Changed paths: M numpy/core/src/multiarray/mapping.c Log Message: ----------- BUG: Fix statement before declaration in mapping.c Commit: b292046ca2448d6d5059a4a835f9188d15badb0f https://github.com/numpy/numpy/commit/b292046ca2448d6d5059a4a835f9188d15badb0f Author: Sebastian Berg Date: 2014-02-06 (Thu, 06 Feb 2014) Changed paths: M numpy/core/src/multiarray/common.c M numpy/core/src/multiarray/lowlevel_strided_loops.c.src M numpy/core/src/multiarray/mapping.c M numpy/core/src/multiarray/nditer_constr.c Log Message: ----------- MAINT: Comments from charris and some extra documentation Commit: 35a5639b432960708a2873a672704bc7ec2fb039 https://github.com/numpy/numpy/commit/35a5639b432960708a2873a672704bc7ec2fb039 Author: Sebastian Berg Date: 2014-02-06 (Thu, 06 Feb 2014) Changed paths: M doc/release/1.9.0-notes.rst Log Message: ----------- DOC: Add some examples to the indexing change release notes Commit: aba22aaa11df747f1587bb3f5bb0fd79daa71511 https://github.com/numpy/numpy/commit/aba22aaa11df747f1587bb3f5bb0fd79daa71511 Author: Sebastian Berg Date: 2014-02-06 (Thu, 06 Feb 2014) Changed paths: M numpy/core/src/multiarray/mapping.c Log Message: ----------- BUG: Fix statement before declaration in mapping.c (again...) Undid it by accident. Commit: d554c2954b82b120ce77c1fd9a74c4deb85503a3 https://github.com/numpy/numpy/commit/d554c2954b82b120ce77c1fd9a74c4deb85503a3 Author: Sebastian Berg Date: 2014-02-07 (Fri, 07 Feb 2014) Changed paths: M numpy/core/src/multiarray/common.h Log Message: ----------- BUG: Fix common.h convert_shape_to_string. Commit: de6729d5499b7d93f9ee78f2800476fef9323c35 https://github.com/numpy/numpy/commit/de6729d5499b7d93f9ee78f2800476fef9323c35 Author: Charles Harris Date: 2014-02-09 (Sun, 09 Feb 2014) Changed paths: M doc/release/1.9.0-notes.rst M numpy/core/include/numpy/ndarraytypes.h M numpy/core/src/multiarray/common.c M numpy/core/src/multiarray/common.h M numpy/core/src/multiarray/lowlevel_strided_loops.c.src M numpy/core/src/multiarray/mapping.c M numpy/core/src/multiarray/mapping.h M numpy/core/src/multiarray/nditer_constr.c M numpy/core/src/multiarray/scalartypes.c.src M numpy/core/src/private/lowlevel_strided_loops.h M numpy/core/tests/test_deprecations.py M numpy/core/tests/test_indexing.py M numpy/core/tests/test_multiarray.py M numpy/core/tests/test_nditer.py M numpy/core/tests/test_numerictypes.py M numpy/core/tests/test_regression.py M numpy/lib/tests/test_function_base.py Log Message: ----------- Merge pull request #3798 from seberg/new-index-machinery ENH: Reimplementing the indexing machinery Compare: https://github.com/numpy/numpy/compare/09d0520b58df...de6729d5499b From noreply at github.com Sun Feb 9 21:50:42 2014 From: noreply at github.com (GitHub) Date: Sun, 09 Feb 2014 18:50:42 -0800 Subject: [Numpy-svn] [numpy/numpy] 822540: DOC: fixed small whitespace error in rfft notes Message-ID: <52f83e82e43ac_7532fc5d3c42422@hookshot-fe11-pe1-prd.aws.github.net.mail> Branch: refs/heads/master Home: https://github.com/numpy/numpy Commit: 8225401e7b1a4ddeac6dcb53ffbf7a35535b3b94 https://github.com/numpy/numpy/commit/8225401e7b1a4ddeac6dcb53ffbf7a35535b3b94 Author: Arun Persaud Date: 2014-02-08 (Sat, 08 Feb 2014) Changed paths: M numpy/fft/fftpack.py Log Message: ----------- DOC: fixed small whitespace error in rfft notes Commit: bd5894b29b897f16da8a3d64e0df94e93d6b2d4a https://github.com/numpy/numpy/commit/bd5894b29b897f16da8a3d64e0df94e93d6b2d4a Author: Charles Harris Date: 2014-02-09 (Sun, 09 Feb 2014) Changed paths: M numpy/fft/fftpack.py Log Message: ----------- Merge pull request #4274 from arunpersaud/ap/rfft-doc-fix-typo DOC: fixed small type in rfft notes Compare: https://github.com/numpy/numpy/compare/de6729d5499b...bd5894b29b89 From noreply at github.com Tue Feb 11 13:38:43 2014 From: noreply at github.com (GitHub) Date: Tue, 11 Feb 2014 10:38:43 -0800 Subject: [Numpy-svn] [numpy/numpy] 4ebf25: BUG: Fix mean, var, std methods for object arrays. Message-ID: <52fa6e3388824_36aef4bd34616be@hookshot-fe8-pe1-prd.aws.github.net.mail> Branch: refs/heads/master Home: https://github.com/numpy/numpy Commit: 4ebf25e1e3b3b0c8619cce395a96d0dffa9e4e8a https://github.com/numpy/numpy/commit/4ebf25e1e3b3b0c8619cce395a96d0dffa9e4e8a Author: Charles Harris Date: 2014-02-10 (Mon, 10 Feb 2014) Changed paths: M numpy/core/_methods.py M numpy/core/tests/test_multiarray.py Log Message: ----------- BUG: Fix mean, var, std methods for object arrays. This takes care to preserve the object type for scalar returns and fixes the error that resulted when the scalar did not have a dtype attribute. Closes #4063. Commit: 4d686a1e44462c34b60de9049dd499aed60de643 https://github.com/numpy/numpy/commit/4d686a1e44462c34b60de9049dd499aed60de643 Author: Charles Harris Date: 2014-02-10 (Mon, 10 Feb 2014) Changed paths: M numpy/core/tests/test_multiarray.py Log Message: ----------- MAINT: Remove checks for presence of decimal module. The decimal module has been available since Python 2.4 and we no longer support Python earlier than 2.6. Commit: e2addbd77fbed5aa64a07f9b08e217c63e15467f https://github.com/numpy/numpy/commit/e2addbd77fbed5aa64a07f9b08e217c63e15467f Author: Julian Taylor Date: 2014-02-11 (Tue, 11 Feb 2014) Changed paths: M numpy/core/_methods.py M numpy/core/tests/test_multiarray.py Log Message: ----------- Merge pull request #4276 from charris/fix-stat-methods BUG: Fix mean, var, std methods for object arrays. Compare: https://github.com/numpy/numpy/compare/bd5894b29b89...e2addbd77fbe From noreply at github.com Tue Feb 11 20:16:03 2014 From: noreply at github.com (GitHub) Date: Tue, 11 Feb 2014 17:16:03 -0800 Subject: [Numpy-svn] [numpy/numpy] 839225: BUG: check for monotonic bin arrays in digitize Message-ID: <52facb53374a4_33571351d3484398@hookshot-fe8-pe1-prd.aws.github.net.mail> Branch: refs/heads/master Home: https://github.com/numpy/numpy Commit: 839225599b1fb18ebb09424459ebd2066a8f21f9 https://github.com/numpy/numpy/commit/839225599b1fb18ebb09424459ebd2066a8f21f9 Author: jaimefrio Date: 2014-01-30 (Thu, 30 Jan 2014) Changed paths: M numpy/lib/src/_compiled_base.c M numpy/lib/tests/test_function_base.py Log Message: ----------- BUG: check for monotonic bin arrays in digitize The check for monotonic bin arrays of digitize doesn't properly handle inputs with repeated entries at the beginning of the array: ``` >>> np.__version__ '1.8.0' >>> np.digitize([1], [0, 0 , 2]) array([2], dtype=int64) >>> np.digitize([1], [2, 2, 0]) Traceback (most recent call last): File "", line 1, in ValueError: The bins must be monotonically increasing or decreasing ``` Modified `check_array_monotonic` in `_compiled_base.c` to skip over repeating entries before deciding to check for increasing or decreasing monotonicity and added relevant tests to `test_function_base.py`. Commit: f65593dd69cae9b0fb30c06c07868dafb8436d11 https://github.com/numpy/numpy/commit/f65593dd69cae9b0fb30c06c07868dafb8436d11 Author: jaimefrio Date: 2014-02-09 (Sun, 09 Feb 2014) Changed paths: M numpy/lib/src/_compiled_base.c M numpy/lib/tests/test_function_base.py Log Message: ----------- STY: adapted code to `C_STYLE_GUIDE.rst.txt`. MAINT: rewrote `check_array_monotonic` to use array indices, not pointers. TST: tests for proper handling of bins with all items almost equal now check the return value for correctness, not just that an error is not raised. Commit: c8975ff262292d760b533bb433de50b686b15f9e https://github.com/numpy/numpy/commit/c8975ff262292d760b533bb433de50b686b15f9e Author: jaimefrio Date: 2014-02-11 (Tue, 11 Feb 2014) Changed paths: M numpy/lib/src/_compiled_base.c Log Message: ----------- MAINT: rewrote `check_array_monotonic` following @charris suggestion to minimize indexing. Commit: 58ffcdc62b1db9d6c762a82ca483484a5cd7c92b https://github.com/numpy/numpy/commit/58ffcdc62b1db9d6c762a82ca483484a5cd7c92b Author: Charles Harris Date: 2014-02-11 (Tue, 11 Feb 2014) Changed paths: M numpy/lib/src/_compiled_base.c M numpy/lib/tests/test_function_base.py Log Message: ----------- Merge pull request #4247 from jaimefrio/digitize-monotonic BUG: check for monotonic bin arrays in digitize Compare: https://github.com/numpy/numpy/compare/e2addbd77fbe...58ffcdc62b1d From noreply at github.com Tue Feb 11 20:52:44 2014 From: noreply at github.com (GitHub) Date: Tue, 11 Feb 2014 17:52:44 -0800 Subject: [Numpy-svn] [numpy/numpy] 6a6d53: MAINT: hide symbols that shouldn't be exported Message-ID: <52fad3ec519a1_1d69643d4013992f@hookshot-fe10-pe1-prd.aws.github.net.mail> Branch: refs/heads/master Home: https://github.com/numpy/numpy Commit: 6a6d53c962e7455481dcb0899d46217549f76e65 https://github.com/numpy/numpy/commit/6a6d53c962e7455481dcb0899d46217549f76e65 Author: Julian Taylor Date: 2014-02-11 (Tue, 11 Feb 2014) Changed paths: M numpy/core/src/multiarray/arraytypes.c.src M numpy/core/src/multiarray/dtype_transfer.c M numpy/core/src/multiarray/nditer_pywrap.c M numpy/core/src/multiarray/shape.c M numpy/core/src/npymath/ieee754.c.src M numpy/core/src/private/npy_partition.h.src Log Message: ----------- MAINT: hide symbols that shouldn't be exported Commit: 688b243552cc98d8e1be791eeda3fba81bfbe807 https://github.com/numpy/numpy/commit/688b243552cc98d8e1be791eeda3fba81bfbe807 Author: Charles Harris Date: 2014-02-11 (Tue, 11 Feb 2014) Changed paths: M numpy/core/src/multiarray/arraytypes.c.src M numpy/core/src/multiarray/dtype_transfer.c M numpy/core/src/multiarray/nditer_pywrap.c M numpy/core/src/multiarray/shape.c M numpy/core/src/npymath/ieee754.c.src M numpy/core/src/private/npy_partition.h.src Log Message: ----------- Merge pull request #4279 from juliantaylor/symbol-cleanup MAINT: hide symbols that shouldn't be exported Compare: https://github.com/numpy/numpy/compare/58ffcdc62b1d...688b243552cc From noreply at github.com Wed Feb 12 02:21:51 2014 From: noreply at github.com (GitHub) Date: Tue, 11 Feb 2014 23:21:51 -0800 Subject: [Numpy-svn] [numpy/numpy] 9dcdb5: ENH: single pass over array in `bincount` to deter... Message-ID: <52fb210fc5983_1cfb663d3411136a@hookshot-fe9-pe1-prd.aws.github.net.mail> Branch: refs/heads/master Home: https://github.com/numpy/numpy Commit: 9dcdb57792d9b03144b55ebe84bc97b32af6c1db https://github.com/numpy/numpy/commit/9dcdb57792d9b03144b55ebe84bc97b32af6c1db Author: jaimefrio Date: 2014-02-11 (Tue, 11 Feb 2014) Changed paths: M numpy/lib/src/_compiled_base.c Log Message: ----------- ENH: single pass over array in `bincount` to determine output size `bincount` checks its input array to make sure there are no negative entries, and to determine the size of the output array. This is done by calling two different functions, each having to loop over the whole array. This PR adds a new function, `minmax`, that computes the minimum and maximum of the array in a single pass over it. This leads to speed-ups peaking at 1.5x, with typical values for large arrays around 1.15x - 1.25x. A full benchmark summary of the new implementation, including a supposedly more efficient algorithm that turned out to run slower, can be found [here](https://gist.github.com/jaimefrio/8743836). Commit: b8a6eb61ffa3199ced987d44aeb331dcff299eb7 https://github.com/numpy/numpy/commit/b8a6eb61ffa3199ced987d44aeb331dcff299eb7 Author: jaimefrio Date: 2014-02-11 (Tue, 11 Feb 2014) Changed paths: M numpy/lib/src/_compiled_base.c Log Message: ----------- MANT: separated initial assignment for `min` and `max` Commit: f57c77b88a735d5f49a407881777ff2e9f3b1be2 https://github.com/numpy/numpy/commit/f57c77b88a735d5f49a407881777ff2e9f3b1be2 Author: Charles Harris Date: 2014-02-11 (Tue, 11 Feb 2014) Changed paths: M numpy/lib/src/_compiled_base.c Log Message: ----------- Merge pull request #4282 from jaimefrio/bincount-minmax ENH: single pass over array in `bincount` to determine output size Compare: https://github.com/numpy/numpy/compare/688b243552cc...f57c77b88a73 From noreply at github.com Thu Feb 13 14:33:43 2014 From: noreply at github.com (GitHub) Date: Thu, 13 Feb 2014 11:33:43 -0800 Subject: [Numpy-svn] [numpy/numpy] f02ed1: DOC: Fix typo in a dsplit() error message. Message-ID: <52fd1e17d0255_2a1ebf3d449931@hookshot-fe2-cp1-prd.iad.github.net.mail> Branch: refs/heads/master Home: https://github.com/numpy/numpy Commit: f02ed1a95cab2f9d4d002abf0bc4d76df89548a7 https://github.com/numpy/numpy/commit/f02ed1a95cab2f9d4d002abf0bc4d76df89548a7 Author: Chris Ball Date: 2014-02-13 (Thu, 13 Feb 2014) Changed paths: M numpy/lib/shape_base.py Log Message: ----------- DOC: Fix typo in a dsplit() error message. Commit: 31967d2bdd83ab84ffd15d63767c6bec7aec3e79 https://github.com/numpy/numpy/commit/31967d2bdd83ab84ffd15d63767c6bec7aec3e79 Author: Julian Taylor Date: 2014-02-13 (Thu, 13 Feb 2014) Changed paths: M numpy/lib/shape_base.py Log Message: ----------- Merge pull request #4290 from ceball/dsplit_errmsg DOC: Fix typo in a dsplit() error message. Compare: https://github.com/numpy/numpy/compare/f57c77b88a73...31967d2bdd83 From noreply at github.com Thu Feb 13 17:27:55 2014 From: noreply at github.com (GitHub) Date: Thu, 13 Feb 2014 14:27:55 -0800 Subject: [Numpy-svn] [numpy/numpy] 098186: BUG: fix shuffling of flexible dtypes and masked a... Message-ID: <52fd46eb78ebb_47f869fd345194c@hookshot-fe12-pe1-prd.aws.github.net.mail> Branch: refs/heads/master Home: https://github.com/numpy/numpy Commit: 0981867cf1d7b5adab4db46d601365400ed52892 https://github.com/numpy/numpy/commit/0981867cf1d7b5adab4db46d601365400ed52892 Author: Julian Taylor Date: 2014-02-13 (Thu, 13 Feb 2014) Changed paths: M numpy/random/mtrand/mtrand.c M numpy/random/mtrand/mtrand.pyx M numpy/random/tests/test_random.py Log Message: ----------- BUG: fix shuffling of flexible dtypes and masked arrays closes gh-4270 and gh-3263 also regenerate with cython 0.20.1 Commit: 0e9956e67192db7c7e42b76661f210fd3adddbfd https://github.com/numpy/numpy/commit/0e9956e67192db7c7e42b76661f210fd3adddbfd Author: seberg Date: 2014-02-13 (Thu, 13 Feb 2014) Changed paths: M numpy/random/mtrand/mtrand.c M numpy/random/mtrand/mtrand.pyx M numpy/random/tests/test_random.py Log Message: ----------- Merge pull request #4286 from juliantaylor/flex-shuffle BUG: fix shuffling of flexible dtypes and masked arrays Compare: https://github.com/numpy/numpy/compare/31967d2bdd83...0e9956e67192 From noreply at github.com Thu Feb 13 19:18:56 2014 From: noreply at github.com (GitHub) Date: Thu, 13 Feb 2014 16:18:56 -0800 Subject: [Numpy-svn] [numpy/numpy] 704458: ENH: Type specific binary search functions for `se... Message-ID: <52fd60f0912f3_2167bcbd4410699e@hookshot-fe2-cp1-prd.iad.github.net.mail> Branch: refs/heads/master Home: https://github.com/numpy/numpy Commit: 7044588130a2316db8dc3abd081a8e6655d98cac https://github.com/numpy/numpy/commit/7044588130a2316db8dc3abd081a8e6655d98cac Author: jaimefrio Date: 2014-01-29 (Wed, 29 Jan 2014) Changed paths: M numpy/core/bento.info M numpy/core/setup.py M numpy/core/src/multiarray/item_selection.c A numpy/core/src/npysort/binsearch.c.src A numpy/core/src/private/npy_binsearch.h.src Log Message: ----------- ENH: Type specific binary search functions for `searchsorted` This PR replaces the generic binary search functions used by `searchsorted` with type specific ones for numeric types. This results in a speed-up of calls to `searchsorted` which is highly dependent on the size of the 'haystack' and the 'needle', with typical values for large enough needles in the 1.5x - 3.0x for direct searches (i.e. without a `sorter` argument) and 1.2x - 2.0x for indirect searches. A summary benchmark on float and int arrays can be found [here](https://gist.github.com/jaimefrio/8704101). Furthermore, the type specific binary search functions can take strided inputs for all their arguments, which is a step in the right direction to eventually add an `axis` argument to `searchsorted`. Commit: ba05979d0d243b529f3e95d2029f7827c21e297d https://github.com/numpy/numpy/commit/ba05979d0d243b529f3e95d2029f7827c21e297d Author: jaimefrio Date: 2014-02-01 (Sat, 01 Feb 2014) Changed paths: M numpy/core/src/multiarray/ctors.c M numpy/core/src/multiarray/item_selection.c M numpy/core/src/npysort/binsearch.c.src M numpy/core/tests/test_multiarray.py Log Message: ----------- - Modified resetting of binary search indices when multiple keys are being searched, following @juliantaylor's suggestion. This speeds up searches of ordered keys by a lot (up to 3x), but slightly slows down purely random keys. Some benchmarks are available [here](https://gist.github.com/jaimefrio/8704101#file-gistfile2-txt) - Added tests for proper handling of the smart index resetting when the last key was larger than all items in the searched array. - Added basic tests for all implemented dtypes. - This last change unearthed a funny behavior of `PyArray_CheckFromAny`, which was changing the byteorder attribute of `NPY_UBYTE` from `NPY_IGNORE` to `NPY_NATIVE`, and triggering lots of failures in `np.core.test()`. So I modified `PyArray_CheckFromAny` to leave `NPY_IGNORE` byteorders alone. - Removed the now unused binary search functions from `item_selection.c`. Commit: 636e70be1e215f9e64831cf0b2e7020d4c30f4c8 https://github.com/numpy/numpy/commit/636e70be1e215f9e64831cf0b2e7020d4c30f4c8 Author: jaimefrio Date: 2014-02-07 (Fri, 07 Feb 2014) Changed paths: M numpy/core/setup.py M numpy/core/src/multiarray/item_selection.c M numpy/core/src/npysort/binsearch.c.src M numpy/core/src/private/npy_binsearch.h.src Log Message: ----------- - Modified generic searches to take a PyArrayObject and use its PyArray_DESCR to fetch a compare function, rather than the global state function that the sort functions take. - Added get_genericbinsearch_func and get_genericargbinsearch_func to npy_binsearch.h.src, to get a function pointer to the right generic type search function. This makes the code in item_selection.c easier to follow, I think. - Littered PyArray_SearchSorted with comments with my ref counts for dtype, hopefully I got it right this time. Commit: e4103716d0ae5613721de63c91980b6c15d9a9dc https://github.com/numpy/numpy/commit/e4103716d0ae5613721de63c91980b6c15d9a9dc Author: jaimefrio Date: 2014-02-07 (Fri, 07 Feb 2014) Changed paths: M numpy/core/src/multiarray/item_selection.c M numpy/core/src/npysort/binsearch.c.src M numpy/core/src/private/npy_binsearch.h.src M numpy/core/tests/test_multiarray.py Log Message: ----------- - Refactored code, to have type specific and generic binary search functions share signature. `get_(arg)binsearch_func` now handles finding the right function for all cases, making it transparent to `PyArray_SearchSorted`. - Reordered types in `(arg)binsearch_map` to be sorted by type num. Since the function is searched using binary search, this is a requirement. Only `npy_half` was out of place. Added comment to remind future expansions. - Corrected reference counting for `dtype` in `PyArray_SearchSorted`. - The requirement for a coniguous `sorter` array had been dropped, but the stride for it was set to the element size. This created an opportunity for a very unlikely bug, that is now corrected. Added test to verify it. - Removed unused includes from `binsearch.c.src` and `npy_binsearch.h.src`. Commit: 0970b672c49b835623f7e228ac3eb76569665962 https://github.com/numpy/numpy/commit/0970b672c49b835623f7e228ac3eb76569665962 Author: jaimefrio Date: 2014-02-08 (Sat, 08 Feb 2014) Changed paths: M numpy/core/src/npysort/binsearch.c.src Log Message: ----------- - initialize `last_key_val` to first value in `key` to avoid compiler warnings. Commit: d5b4a8110ae8cfbee9bbaedaf68fe1a3cbd35a6d https://github.com/numpy/numpy/commit/d5b4a8110ae8cfbee9bbaedaf68fe1a3cbd35a6d Author: jaimefrio Date: 2014-02-08 (Sat, 08 Feb 2014) Changed paths: M numpy/core/src/multiarray/item_selection.c Log Message: ----------- - removed unused `store_arr` variable from `PyArray_SearchSorted`. Commit: e672f8aa06f54c2835c43a819f3954d80c04501b https://github.com/numpy/numpy/commit/e672f8aa06f54c2835c43a819f3954d80c04501b Author: jaimefrio Date: 2014-02-09 (Sun, 09 Feb 2014) Changed paths: M numpy/core/src/multiarray/item_selection.c M numpy/core/src/npysort/binsearch.c.src M numpy/core/src/private/npy_binsearch.h.src Log Message: ----------- STY: adapted code to `C_STYLE_GUIDE.rst.txt` Commit: 05c5177885133cdf4831ffa795c2f9c033316848 https://github.com/numpy/numpy/commit/05c5177885133cdf4831ffa795c2f9c033316848 Author: jaimefrio Date: 2014-02-11 (Tue, 11 Feb 2014) Changed paths: M numpy/core/src/npysort/binsearch.c.src M numpy/core/src/private/npy_binsearch.h.src Log Message: ----------- MAINT: Added `NPY_VISIBILITY_HIDDEN` to binary search functions in `binsearch.c.src` and `npy_binsearch.h.src`. Commit: 9350d4dc9cc5a8288c965008c8dd6034c991289a https://github.com/numpy/numpy/commit/9350d4dc9cc5a8288c965008c8dd6034c991289a Author: jaimefrio Date: 2014-02-13 (Thu, 13 Feb 2014) Changed paths: M doc/release/1.9.0-notes.rst M numpy/core/src/private/npy_binsearch.h.src Log Message: ----------- MANT: Minor style corrections, `get_(arg)binsearch_func` is no longer inline. DOC: Added note on `doc/release/1.9.0-notes.rst` Commit: db198d5a3d31374985a24d3c44c88c356d0b3a3e https://github.com/numpy/numpy/commit/db198d5a3d31374985a24d3c44c88c356d0b3a3e Author: Julian Taylor Date: 2014-02-13 (Thu, 13 Feb 2014) Changed paths: M doc/release/1.9.0-notes.rst M numpy/core/bento.info M numpy/core/setup.py M numpy/core/src/multiarray/ctors.c M numpy/core/src/multiarray/item_selection.c A numpy/core/src/npysort/binsearch.c.src A numpy/core/src/private/npy_binsearch.h.src M numpy/core/tests/test_multiarray.py Log Message: ----------- Merge pull request #4244 from jaimefrio/binsearch ENH: Type specific binary search functions for `searchsorted` Compare: https://github.com/numpy/numpy/compare/0e9956e67192...db198d5a3d31 From noreply at github.com Thu Feb 13 20:51:26 2014 From: noreply at github.com (GitHub) Date: Thu, 13 Feb 2014 17:51:26 -0800 Subject: [Numpy-svn] [numpy/numpy] 09aef1: TST: bootstrap chroot in tmpfs Message-ID: <52fd769ebffb_6e506b5d3c84276@hookshot-fe1-cp1-prd.iad.github.net.mail> Branch: refs/heads/master Home: https://github.com/numpy/numpy Commit: 09aef175ca454975e723f08733593e43026982d5 https://github.com/numpy/numpy/commit/09aef175ca454975e723f08733593e43026982d5 Author: Julian Taylor Date: 2014-02-13 (Thu, 13 Feb 2014) Changed paths: M tools/travis-test.sh Log Message: ----------- TST: bootstrap chroot in tmpfs during bootstrap eatmydata is not available in the chroot so it takes a significant time. Avoid this by placing the whole chroot in a tmpfs ramdisk. Commit: 95d70839de854a6a42d9507658e42bfc440ac739 https://github.com/numpy/numpy/commit/95d70839de854a6a42d9507658e42bfc440ac739 Author: Charles Harris Date: 2014-02-13 (Thu, 13 Feb 2014) Changed paths: M tools/travis-test.sh Log Message: ----------- Merge pull request #4292 from juliantaylor/ramdisk-chroot TST: bootstrap chroot in tmpfs Compare: https://github.com/numpy/numpy/compare/db198d5a3d31...95d70839de85 From noreply at github.com Fri Feb 14 13:38:29 2014 From: noreply at github.com (GitHub) Date: Fri, 14 Feb 2014 10:38:29 -0800 Subject: [Numpy-svn] [numpy/numpy] 59057c: BUG: fix NULL dereference on longdouble conversion... Message-ID: <52fe62a5d48f4_59eba31d4432982@hookshot-fe2-cp1-prd.iad.github.net.mail> Branch: refs/heads/master Home: https://github.com/numpy/numpy Commit: 59057c77340b52e1803733895e04008a9e6973f8 https://github.com/numpy/numpy/commit/59057c77340b52e1803733895e04008a9e6973f8 Author: Julian Taylor Date: 2014-02-14 (Fri, 14 Feb 2014) Changed paths: M numpy/core/src/multiarray/scalartypes.c.src M numpy/core/tests/test_scalarmath.py Log Message: ----------- BUG: fix NULL dereference on longdouble conversion error Closes gh-627 Commit: 792d1aeaa58bd8b7ff2688cc7dbf406bc1828b22 https://github.com/numpy/numpy/commit/792d1aeaa58bd8b7ff2688cc7dbf406bc1828b22 Author: Charles Harris Date: 2014-02-14 (Fri, 14 Feb 2014) Changed paths: M numpy/core/src/multiarray/scalartypes.c.src M numpy/core/tests/test_scalarmath.py Log Message: ----------- Merge pull request #4294 from juliantaylor/fix-longdouble-int BUG: fix NULL dereference on longdouble conversion error Compare: https://github.com/numpy/numpy/compare/95d70839de85...792d1aeaa58b From noreply at github.com Fri Feb 14 20:08:01 2014 From: noreply at github.com (GitHub) Date: Fri, 14 Feb 2014 17:08:01 -0800 Subject: [Numpy-svn] [numpy/numpy] 2facd5: ENH: add tobytes and stop using tostring in docume... Message-ID: <52febdf15b220_261e1077d34805f2@hookshot-fe2-cp1-prd.iad.github.net.mail> Branch: refs/heads/master Home: https://github.com/numpy/numpy Commit: 2facd5cbdcaa08b61270c0c0760a39cd03acc007 https://github.com/numpy/numpy/commit/2facd5cbdcaa08b61270c0c0760a39cd03acc007 Author: Julian Taylor Date: 2014-02-11 (Tue, 11 Feb 2014) Changed paths: M doc/numpybook/capi.lyx M doc/numpybook/numpybook.lyx M doc/release/1.9.0-notes.rst M doc/source/reference/arrays.ndarray.rst M doc/source/reference/c-api.array.rst M doc/source/reference/maskedarray.baseclass.rst M doc/source/reference/routines.ma.rst M numpy/add_newdocs.py M numpy/core/src/multiarray/methods.c M numpy/core/src/multiarray/scalartypes.c.src M numpy/core/tests/test_defchararray.py M numpy/core/tests/test_multiarray.py M numpy/core/tests/test_regression.py M numpy/doc/byteswapping.py M numpy/f2py/tests/test_array_from_pyobj.py M numpy/lib/format.py M numpy/ma/core.py M numpy/ma/mrecords.py M numpy/matrixlib/tests/test_defmatrix.py Log Message: ----------- ENH: add tobytes and stop using tostring in documentation tostring returns bytes which are not equal to string, so provide a tobytes function alias. tostring does not emit a deprecation warning yet so rdepends do not need to check two names to support older versions of numpy without warnings. Commit: 33337281067bb1253f737b707fc783f6a6455e04 https://github.com/numpy/numpy/commit/33337281067bb1253f737b707fc783f6a6455e04 Author: Charles Harris Date: 2014-02-14 (Fri, 14 Feb 2014) Changed paths: M doc/numpybook/capi.lyx M doc/numpybook/numpybook.lyx M doc/release/1.9.0-notes.rst M doc/source/reference/arrays.ndarray.rst M doc/source/reference/c-api.array.rst M doc/source/reference/maskedarray.baseclass.rst M doc/source/reference/routines.ma.rst M numpy/add_newdocs.py M numpy/core/src/multiarray/methods.c M numpy/core/src/multiarray/scalartypes.c.src M numpy/core/tests/test_defchararray.py M numpy/core/tests/test_multiarray.py M numpy/core/tests/test_regression.py M numpy/doc/byteswapping.py M numpy/f2py/tests/test_array_from_pyobj.py M numpy/lib/format.py M numpy/ma/core.py M numpy/ma/mrecords.py M numpy/matrixlib/tests/test_defmatrix.py Log Message: ----------- Merge pull request #4257 from juliantaylor/tostring-depr ENH: add tobytes and stop using tostring in documentation Compare: https://github.com/numpy/numpy/compare/792d1aeaa58b...33337281067b From noreply at github.com Sat Feb 15 10:46:47 2014 From: noreply at github.com (GitHub) Date: Sat, 15 Feb 2014 07:46:47 -0800 Subject: [Numpy-svn] [numpy/numpy] 86316b: ENH: hint that nelem == 1 branch is more likely Message-ID: <52ff8be7d4b2a_1368bdbd341288d@hookshot-fe1-cp1-prd.iad.github.net.mail> Branch: refs/heads/master Home: https://github.com/numpy/numpy Commit: 86316b93e865bb06a5da14903e6f4c8330abb106 https://github.com/numpy/numpy/commit/86316b93e865bb06a5da14903e6f4c8330abb106 Author: Julian Taylor Date: 2014-02-15 (Sat, 15 Feb 2014) Changed paths: M numpy/core/src/multiarray/arraytypes.c.src Log Message: ----------- ENH: hint that nelem == 1 branch is more likely improves performance for simple takes by 10%, chunked takes spend more time copying so the less dense code matters less. Commit: fd4bf676686ea20bb46797a665af36d974fc8415 https://github.com/numpy/numpy/commit/fd4bf676686ea20bb46797a665af36d974fc8415 Author: Julian Taylor Date: 2014-02-15 (Sat, 15 Feb 2014) Changed paths: M numpy/core/src/multiarray/common.h Log Message: ----------- ENH: explicitly mark invalid index branch as unlikely gcc already detects this as unlikely but it might profit other compilers. Commit: e3f0f53685ccf5a942d7a883ea5a947c1b411aa1 https://github.com/numpy/numpy/commit/e3f0f53685ccf5a942d7a883ea5a947c1b411aa1 Author: Charles Harris Date: 2014-02-15 (Sat, 15 Feb 2014) Changed paths: M numpy/core/src/multiarray/arraytypes.c.src M numpy/core/src/multiarray/common.h Log Message: ----------- Merge pull request #4296 from juliantaylor/fasttake-microopt minor fasttake performance improvement Compare: https://github.com/numpy/numpy/compare/33337281067b...e3f0f53685cc From noreply at github.com Sat Feb 15 12:54:24 2014 From: noreply at github.com (GitHub) Date: Sat, 15 Feb 2014 09:54:24 -0800 Subject: [Numpy-svn] [numpy/numpy] 32b14b: BLD: include f2py docs in source distribution Message-ID: <52ffa9d0ec56f_4b509fdd3c179ba@hookshot-fe11-pe1-prd.aws.github.net.mail> Branch: refs/heads/maintenance/1.8.x Home: https://github.com/numpy/numpy Commit: 32b14b6ed421b4ecbb13c16fb888855bb47c1c64 https://github.com/numpy/numpy/commit/32b14b6ed421b4ecbb13c16fb888855bb47c1c64 Author: Julian Taylor Date: 2014-02-15 (Sat, 15 Feb 2014) Changed paths: M MANIFEST.in Log Message: ----------- BLD: include f2py docs in source distribution update was forgotten in the move to the doc/folder Commit: 2182833df28b81e571338f74f96b050de391645c https://github.com/numpy/numpy/commit/2182833df28b81e571338f74f96b050de391645c Author: Julian Taylor Date: 2014-02-15 (Sat, 15 Feb 2014) Changed paths: M MANIFEST.in Log Message: ----------- BLD: exclude compiled python files in source distribution they could accidentally appear in the source distribution if sdist was run after a make -C doc. Commit: 4b0d658c9a3cc4b67fcb7870efa2e05478fb3c03 https://github.com/numpy/numpy/commit/4b0d658c9a3cc4b67fcb7870efa2e05478fb3c03 Author: Ralf Gommers Date: 2014-02-15 (Sat, 15 Feb 2014) Changed paths: M setup.py Log Message: ----------- MAINT: setup.py improvements - allow some setuptools commands to work. Commit: 2b1877a1a58a608d10b221b7bf5b870d99bce8d2 https://github.com/numpy/numpy/commit/2b1877a1a58a608d10b221b7bf5b870d99bce8d2 Author: Julian Taylor Date: 2014-02-15 (Sat, 15 Feb 2014) Changed paths: M setup.py Log Message: ----------- BLD: check submodules on sdist prevents broken source distributions due to not up to date submodules. Commit: c09dc61cd0bd38bcd169a3c480e43d437a200813 https://github.com/numpy/numpy/commit/c09dc61cd0bd38bcd169a3c480e43d437a200813 Author: Aron Ahmadia Date: 2014-02-15 (Sat, 15 Feb 2014) Changed paths: M numpy/distutils/fcompiler/gnu.py Log Message: ----------- Detect vendor versions of GNU Compilers Cray and other HPC vendors provide patched versions of the GNU compilers with modified version strings. Use re.search instead of re.match in the version detection scripts to account for modified version strings. Ref: https://github.com/numpy/numpy/issues/4259 Commit: 961c43da78bf97ce63183b27c338db7ea77bed85 https://github.com/numpy/numpy/commit/961c43da78bf97ce63183b27c338db7ea77bed85 Author: Julian Taylor Date: 2014-02-15 (Sat, 15 Feb 2014) Changed paths: M numpy/core/tests/test_memmap.py M numpy/core/tests/test_multiarray.py M numpy/f2py/__init__.py M numpy/f2py/f2py2e.py M numpy/lib/tests/test_io.py Log Message: ----------- ENH: remove insecure mktemp use mktemp only returns a filename, a malicous user could replace it before it gets used. Commit: b7e7c06f4547e71132db1c997c36f948043ec3ff https://github.com/numpy/numpy/commit/b7e7c06f4547e71132db1c997c36f948043ec3ff Author: Julian Taylor Date: 2014-02-15 (Sat, 15 Feb 2014) Changed paths: M numpy/lib/tests/test_io.py Log Message: ----------- TST: fix test_io.TestSavezLoad Commit: abaae8b2b87e1f61ef118f2bd72d7974af28662e https://github.com/numpy/numpy/commit/abaae8b2b87e1f61ef118f2bd72d7974af28662e Author: Philip Eliot Date: 2014-02-15 (Sat, 15 Feb 2014) Changed paths: M numpy/lib/financial.py M numpy/lib/tests/test_financial.py Log Message: ----------- BUG: IRR was returning nan instead of valid negative answer. This change corrects the following two bugs in numpy.irr: * When the solution was negative, numpy.irr returned nan instead of the correct solution because of the mask applied to the roots. Corrected by removing the mask that 0 < res < 1. * When multiple roots were found, numpy.irr was returning an array of all roots rather than a single float. This bug was corrected by selecting the single root closest to zero (min(abs(root)). With these corrections, numpy.irr returns the same result as the corresponding spreadsheet function in LibreOffice Calc for all test cases (additional test cases were added to cover cases with multiple positive and negative roots) Commit: 6bd9d25f2240b3faba280c7114e3640a1b42ba74 https://github.com/numpy/numpy/commit/6bd9d25f2240b3faba280c7114e3640a1b42ba74 Author: Julian Taylor Date: 2014-02-15 (Sat, 15 Feb 2014) Changed paths: M numpy/core/src/multiarray/ctors.c M numpy/core/src/multiarray/nditer_pywrap.c Log Message: ----------- BUG: fix two missing array creation failure checks Commit: 1a1bdbc949bf8c95f85bc742ff598b5eab33367a https://github.com/numpy/numpy/commit/1a1bdbc949bf8c95f85bc742ff598b5eab33367a Author: Julian Taylor Date: 2014-02-15 (Sat, 15 Feb 2014) Changed paths: M numpy/core/src/multiarray/array_assign_scalar.c M numpy/core/src/multiarray/ctors.c M numpy/core/src/multiarray/datetime_strings.c M numpy/core/src/multiarray/descriptor.c M numpy/core/src/multiarray/iterators.c M numpy/core/src/multiarray/methods.c M numpy/core/src/multiarray/multiarraymodule.c M numpy/core/src/multiarray/nditer_pywrap.c M numpy/core/src/multiarray/scalarapi.c Log Message: ----------- BUG: fix missing memory allocation failure checks Commit: 2d1dfe4be5f32c4875462223cceb59d7a206eb02 https://github.com/numpy/numpy/commit/2d1dfe4be5f32c4875462223cceb59d7a206eb02 Author: Julian Taylor Date: 2014-02-15 (Sat, 15 Feb 2014) Changed paths: M numpy/core/src/umath/ufunc_object.c Log Message: ----------- BUG: fix use of capi without gil in ufunc.at without a pointer to store the error NpyIter_ResetBasePointers uses python errors to signal problems which requires the GIL. Conflicts: numpy/core/src/umath/ufunc_object.c Commit: e1fc6bd959d7406e1ad4a1d1ff1d7353b40e5423 https://github.com/numpy/numpy/commit/e1fc6bd959d7406e1ad4a1d1ff1d7353b40e5423 Author: Charles Harris Date: 2014-02-15 (Sat, 15 Feb 2014) Changed paths: M numpy/core/_methods.py M numpy/core/tests/test_multiarray.py Log Message: ----------- BUG: Fix mean, var, std methods for object arrays. This takes care to preserve the object type for scalar returns and fixes the error that resulted when the scalar did not have a dtype attribute. Closes #4063. Conflicts: numpy/core/tests/test_multiarray.py Commit: d85fc7810985cc92f7ecd98ed59ddd1ce7be32b9 https://github.com/numpy/numpy/commit/d85fc7810985cc92f7ecd98ed59ddd1ce7be32b9 Author: Julian Taylor Date: 2014-02-15 (Sat, 15 Feb 2014) Changed paths: M numpy/core/src/multiarray/ctors.c Log Message: ----------- BUG: don't change dtype in PyArray_CheckFromAny if it NPY_IGNORE Closes gh-4254 Commit: 104a1674110407de5ee379d47125e2aa02bc8ee8 https://github.com/numpy/numpy/commit/104a1674110407de5ee379d47125e2aa02bc8ee8 Author: Charles Harris Date: 2014-02-15 (Sat, 15 Feb 2014) Changed paths: M MANIFEST.in M numpy/core/_methods.py M numpy/core/src/multiarray/array_assign_scalar.c M numpy/core/src/multiarray/ctors.c M numpy/core/src/multiarray/datetime_strings.c M numpy/core/src/multiarray/descriptor.c M numpy/core/src/multiarray/iterators.c M numpy/core/src/multiarray/methods.c M numpy/core/src/multiarray/multiarraymodule.c M numpy/core/src/multiarray/nditer_pywrap.c M numpy/core/src/multiarray/scalarapi.c M numpy/core/src/umath/ufunc_object.c M numpy/core/tests/test_memmap.py M numpy/core/tests/test_multiarray.py M numpy/distutils/fcompiler/gnu.py M numpy/f2py/__init__.py M numpy/f2py/f2py2e.py M numpy/lib/financial.py M numpy/lib/tests/test_financial.py M numpy/lib/tests/test_io.py M setup.py Log Message: ----------- Merge pull request #4297 from juliantaylor/backport-fixes-1.8 Backport fixes to 1.8 Compare: https://github.com/numpy/numpy/compare/95f7a469b1e9...104a16741104 From noreply at github.com Sat Feb 15 17:31:33 2014 From: noreply at github.com (GitHub) Date: Sat, 15 Feb 2014 14:31:33 -0800 Subject: [Numpy-svn] [numpy/numpy] 9f8771: BUG: Fix performance regression for PyObject_Get/S... Message-ID: <52ffeac55e66c_6e734fdd3c287a7@hookshot-fe2-cp1-prd.iad.github.net.mail> Branch: refs/heads/master Home: https://github.com/numpy/numpy Commit: 9f8771accdc11a83dc928a99bd0ba48fe7bcca89 https://github.com/numpy/numpy/commit/9f8771accdc11a83dc928a99bd0ba48fe7bcca89 Author: Sebastian Berg Date: 2014-02-14 (Fri, 14 Feb 2014) Changed paths: M numpy/core/src/multiarray/mapping.c M numpy/core/src/multiarray/multiarray_tests.c.src M numpy/core/tests/test_indexing.py Log Message: ----------- BUG: Fix performance regression for PyObject_Get/SetItem Also restructures the calling conventions a little to channel all calls through the general functions, this will add a little overhead and could be streamlined if necessary. Commit: 7bc5480be36e6527dca34a303b6cd6411c345b05 https://github.com/numpy/numpy/commit/7bc5480be36e6527dca34a303b6cd6411c345b05 Author: Sebastian Berg Date: 2014-02-15 (Sat, 15 Feb 2014) Changed paths: M doc/release/1.9.0-notes.rst M numpy/core/src/multiarray/array_assign_array.c M numpy/core/src/multiarray/mapping.c M numpy/core/src/multiarray/mapping.h M numpy/core/src/multiarray/multiarray_tests.c.src M numpy/core/src/multiarray/sequence.c M numpy/core/tests/test_indexing.py Log Message: ----------- BUG: Raise some out of bound negative index in PySequence_GetItem PySequence_GetItem and PySequence_SetItem already fix a negative index, so that we do not need to fix it as well. Also clean up a little/doc fixes Commit: 76195c789a236e5b5f3520f3eced6be31384497a https://github.com/numpy/numpy/commit/76195c789a236e5b5f3520f3eced6be31384497a Author: Charles Harris Date: 2014-02-15 (Sat, 15 Feb 2014) Changed paths: M doc/release/1.9.0-notes.rst M numpy/core/src/multiarray/array_assign_array.c M numpy/core/src/multiarray/mapping.c M numpy/core/src/multiarray/mapping.h M numpy/core/src/multiarray/multiarray_tests.c.src M numpy/core/src/multiarray/sequence.c M numpy/core/tests/test_indexing.py Log Message: ----------- Merge pull request #4289 from seberg/speed-regression-fix BUG: Fix performance regression for PyObject_Get/SetItem Compare: https://github.com/numpy/numpy/compare/e3f0f53685cc...76195c789a23 From noreply at github.com Sat Feb 15 17:32:34 2014 From: noreply at github.com (GitHub) Date: Sat, 15 Feb 2014 14:32:34 -0800 Subject: [Numpy-svn] [numpy/numpy] 3248aa: BUG: Fix wrong variable in test_build.py exception... Message-ID: <52ffeb02542c6_48e41491d3417448@hookshot-fe8-pe1-prd.aws.github.net.mail> Branch: refs/heads/master Home: https://github.com/numpy/numpy Commit: 3248aa7d59afbb4c649ffd40e95b17e63de77c94 https://github.com/numpy/numpy/commit/3248aa7d59afbb4c649ffd40e95b17e63de77c94 Author: Charles Harris Date: 2014-02-15 (Sat, 15 Feb 2014) Changed paths: M numpy/linalg/tests/test_build.py Log Message: ----------- BUG: Fix wrong variable in test_build.py exception. The variable used was not defined, causing an error when the exception was raised. Closes #3146. Commit: b5553b5af835d4581d503f99040749d2f11afd31 https://github.com/numpy/numpy/commit/b5553b5af835d4581d503f99040749d2f11afd31 Author: Charles Harris Date: 2014-02-15 (Sat, 15 Feb 2014) Changed paths: M numpy/linalg/tests/test_build.py Log Message: ----------- Merge pull request #4298 from charris/fix-gh-3146 BUG: Fix wrong variable in test_build.py exception. Compare: https://github.com/numpy/numpy/compare/76195c789a23...b5553b5af835 From noreply at github.com Sat Feb 15 17:49:32 2014 From: noreply at github.com (GitHub) Date: Sat, 15 Feb 2014 14:49:32 -0800 Subject: [Numpy-svn] [numpy/numpy] 1951d3: BUG: Error checks for the dtype shape. Message-ID: <52ffeefc9674f_70e51119d3c252e8@hookshot-fe2-cp1-prd.iad.github.net.mail> Branch: refs/heads/master Home: https://github.com/numpy/numpy Commit: 1951d3d4c1011132560ae4326f636e5cef01d918 https://github.com/numpy/numpy/commit/1951d3d4c1011132560ae4326f636e5cef01d918 Author: Sebastian Berg Date: 2013-12-02 (Mon, 02 Dec 2013) Changed paths: M numpy/core/src/multiarray/descriptor.c M numpy/core/tests/test_dtype.py Log Message: ----------- BUG: Error checks for the dtype shape. Also creates a clean tuple for the shape tuple, instead of passing potentially mutable objects through. Closes gh-4009 Commit: e246cc79de16d54ce9b127d5faf625adb6da5f0b https://github.com/numpy/numpy/commit/e246cc79de16d54ce9b127d5faf625adb6da5f0b Author: Charles Harris Date: 2014-02-15 (Sat, 15 Feb 2014) Changed paths: M numpy/core/src/multiarray/descriptor.c M numpy/core/tests/test_dtype.py Log Message: ----------- Merge pull request #4095 from seberg/descr-shape BUG: Error checks for the dtype shape. Compare: https://github.com/numpy/numpy/compare/b5553b5af835...e246cc79de16 From noreply at github.com Sat Feb 15 18:38:45 2014 From: noreply at github.com (GitHub) Date: Sat, 15 Feb 2014 15:38:45 -0800 Subject: [Numpy-svn] [numpy/numpy] 58e9e2: DEP: Deprecate boolean `-` operations Message-ID: <52fffa85521ea_e597a7d4444555@hookshot-fe1-cp1-prd.iad.github.net.mail> Branch: refs/heads/master Home: https://github.com/numpy/numpy Commit: 58e9e27c0c110f9be1558a53fb547dc1abc76fa4 https://github.com/numpy/numpy/commit/58e9e27c0c110f9be1558a53fb547dc1abc76fa4 Author: Sebastian Berg Date: 2014-02-12 (Wed, 12 Feb 2014) Changed paths: M numpy/core/code_generators/generate_umath.py M numpy/core/numeric.py M numpy/core/src/umath/ufunc_type_resolution.c M numpy/core/src/umath/ufunc_type_resolution.h M numpy/core/tests/test_defchararray.py M numpy/core/tests/test_deprecations.py M numpy/core/tests/test_regression.py M numpy/ma/core.py M numpy/ma/extras.py M numpy/testing/utils.py Log Message: ----------- DEP: Deprecate boolean `-` operations Boolean - is not well defined, especially the unary and binary operator are not compatible. In general boolean minus seems to have no real application and does not do what might be expected. All "allclose" type functions (numpy, tests, masked) have to now check for boolean to avoid the deprecation warning. In the future one could think about removing it again and just allowing the upcast. Commit: ab04e1ae0e8eca717bc7e42f3b0a60c9ff764289 https://github.com/numpy/numpy/commit/ab04e1ae0e8eca717bc7e42f3b0a60c9ff764289 Author: Sebastian Berg Date: 2014-02-15 (Sat, 15 Feb 2014) Changed paths: M numpy/core/numeric.py M numpy/core/tests/test_numeric.py M numpy/ma/core.py M numpy/ma/tests/test_core.py M numpy/testing/tests/test_utils.py M numpy/testing/utils.py Log Message: ----------- BUG: Force allclose logic to use inexact type Casting y to an inexact type fixes problems such as abs(MIN_INT) < 0, and generally makes sense since the allclose logic is inherently for float types. Commit: 2868dc4a0513f58eafc013f3ba3d84ae07113199 https://github.com/numpy/numpy/commit/2868dc4a0513f58eafc013f3ba3d84ae07113199 Author: Charles Harris Date: 2014-02-15 (Sat, 15 Feb 2014) Changed paths: M numpy/core/code_generators/generate_umath.py M numpy/core/numeric.py M numpy/core/src/umath/ufunc_type_resolution.c M numpy/core/src/umath/ufunc_type_resolution.h M numpy/core/tests/test_defchararray.py M numpy/core/tests/test_deprecations.py M numpy/core/tests/test_numeric.py M numpy/core/tests/test_regression.py M numpy/ma/core.py M numpy/ma/extras.py M numpy/ma/tests/test_core.py M numpy/testing/tests/test_utils.py M numpy/testing/utils.py Log Message: ----------- Merge pull request #4105 from seberg/deprecate-boolean-math DEP: Deprecate boolean math operations Compare: https://github.com/numpy/numpy/compare/e246cc79de16...2868dc4a0513 From noreply at github.com Sun Feb 16 14:11:37 2014 From: noreply at github.com (GitHub) Date: Sun, 16 Feb 2014 11:11:37 -0800 Subject: [Numpy-svn] [numpy/numpy] 1f2f6b: BUG: Fix typo in f2py/cfuncs.py. Message-ID: <53010d699eb11_32efc7dd3c29992@hookshot-fe2-cp1-prd.iad.github.net.mail> Branch: refs/heads/master Home: https://github.com/numpy/numpy Commit: 1f2f6b67e4e0dd77ab0fbb8f40df7553b912c42b https://github.com/numpy/numpy/commit/1f2f6b67e4e0dd77ab0fbb8f40df7553b912c42b Author: Charles Harris Date: 2014-02-16 (Sun, 16 Feb 2014) Changed paths: M numpy/f2py/cfuncs.py Log Message: ----------- BUG: Fix typo in f2py/cfuncs.py. Replace "insinged_long_long" by "unsigned_long_long". Patch due to trac user pepijndevos. Closes #636. Commit: 68ae04741f73953ef5680cb80fbb3dde5f160c90 https://github.com/numpy/numpy/commit/68ae04741f73953ef5680cb80fbb3dde5f160c90 Author: seberg Date: 2014-02-16 (Sun, 16 Feb 2014) Changed paths: M numpy/f2py/cfuncs.py Log Message: ----------- Merge pull request #4300 from charris/fix-gh-636 BUG: Fix typo in f2py/cfuncs.py. Compare: https://github.com/numpy/numpy/compare/2868dc4a0513...68ae04741f73 From noreply at github.com Sun Feb 16 17:33:24 2014 From: noreply at github.com (GitHub) Date: Sun, 16 Feb 2014 14:33:24 -0800 Subject: [Numpy-svn] [numpy/numpy] d1dc51: DOC: Document that fliplr only works on 2-D arrays... Message-ID: <53013cb4e615e_34dcc01d4036344@hookshot-fe8-pe1-prd.aws.github.net.mail> Branch: refs/heads/master Home: https://github.com/numpy/numpy Commit: d1dc51bea3c46b99e4f4fb38b7b31f66c93dc18b https://github.com/numpy/numpy/commit/d1dc51bea3c46b99e4f4fb38b7b31f66c93dc18b Author: Charles Harris Date: 2014-02-16 (Sun, 16 Feb 2014) Changed paths: M numpy/lib/twodim_base.py Log Message: ----------- DOC: Document that fliplr only works on 2-D arrays. Docstring claimed 2-D was not required, but it is. Fix that. Closes #3332. Commit: 2a8eea93f8fa8294448224e84276358ab2cd3b23 https://github.com/numpy/numpy/commit/2a8eea93f8fa8294448224e84276358ab2cd3b23 Author: seberg Date: 2014-02-16 (Sun, 16 Feb 2014) Changed paths: M numpy/lib/twodim_base.py Log Message: ----------- Merge pull request #4304 from charris/fix-gh-3332 DOC: Document that fliplr only works on 2-D arrays. Compare: https://github.com/numpy/numpy/compare/68ae04741f73...2a8eea93f8fa From noreply at github.com Sun Feb 16 18:57:23 2014 From: noreply at github.com (GitHub) Date: Sun, 16 Feb 2014 15:57:23 -0800 Subject: [Numpy-svn] [numpy/numpy] f7b026: TST: avoid opening files twice which doesn't work ... Message-ID: <53015063c6b84_2a12ff7d3c526b@hookshot-fe11-pe1-prd.aws.github.net.mail> Branch: refs/heads/master Home: https://github.com/numpy/numpy Commit: f7b0265655725267063ed25478aa7c2ab20b3a85 https://github.com/numpy/numpy/commit/f7b0265655725267063ed25478aa7c2ab20b3a85 Author: Julian Taylor Date: 2014-02-16 (Sun, 16 Feb 2014) Changed paths: M numpy/core/tests/test_memmap.py M numpy/core/tests/test_multiarray.py Log Message: ----------- TST: avoid opening files twice which doesn't work on windows Commit: 5669280ac3535c3fed083fcb1fedef2064d227fd https://github.com/numpy/numpy/commit/5669280ac3535c3fed083fcb1fedef2064d227fd Author: Julian Taylor Date: 2014-02-16 (Sun, 16 Feb 2014) Changed paths: M doc/f2py/f2py.1 M doc/source/f2py/usage.rst Log Message: ----------- DOC: remove mktemp mention from f2py manpage Commit: 25ac48f98e5a12d653963a2da4607ba5cac3bffa https://github.com/numpy/numpy/commit/25ac48f98e5a12d653963a2da4607ba5cac3bffa Author: Charles Harris Date: 2014-02-16 (Sun, 16 Feb 2014) Changed paths: M doc/f2py/f2py.1 M doc/source/f2py/usage.rst M numpy/core/tests/test_memmap.py M numpy/core/tests/test_multiarray.py Log Message: ----------- Merge pull request #4299 from juliantaylor/win-tempfile-fix Windows tempfile fix Compare: https://github.com/numpy/numpy/compare/2a8eea93f8fa...25ac48f98e5a From noreply at github.com Sun Feb 16 19:00:37 2014 From: noreply at github.com (GitHub) Date: Sun, 16 Feb 2014 16:00:37 -0800 Subject: [Numpy-svn] [numpy/numpy] 1968cf: TST: avoid opening files twice which doesn't work ... Message-ID: <53015125389b9_2cea1113d384686a@hookshot-fe1-cp1-prd.iad.github.net.mail> Branch: refs/heads/maintenance/1.8.x Home: https://github.com/numpy/numpy Commit: 1968cf90fc49a4514de8749e5155a8e5f0421bd9 https://github.com/numpy/numpy/commit/1968cf90fc49a4514de8749e5155a8e5f0421bd9 Author: Julian Taylor Date: 2014-02-16 (Sun, 16 Feb 2014) Changed paths: M numpy/core/tests/test_memmap.py M numpy/core/tests/test_multiarray.py Log Message: ----------- TST: avoid opening files twice which doesn't work on windows Commit: c720b0013d336ae35d89ae4bcd3a16cc5f5276ee https://github.com/numpy/numpy/commit/c720b0013d336ae35d89ae4bcd3a16cc5f5276ee Author: Julian Taylor Date: 2014-02-16 (Sun, 16 Feb 2014) Changed paths: M numpy/f2py/docs/usersguide/index.txt M numpy/f2py/f2py.1 Log Message: ----------- DOC: remove mktemp mention from f2py manpage Commit: a89a36e53a87d8254701f328d36ed0ba98ff106c https://github.com/numpy/numpy/commit/a89a36e53a87d8254701f328d36ed0ba98ff106c Author: Charles Harris Date: 2014-02-16 (Sun, 16 Feb 2014) Changed paths: M numpy/core/tests/test_memmap.py M numpy/core/tests/test_multiarray.py M numpy/f2py/docs/usersguide/index.txt M numpy/f2py/f2py.1 Log Message: ----------- Merge pull request #4306 from juliantaylor/win-tempfile-fix-1.8 Windows tempfile fix for 1.8 Compare: https://github.com/numpy/numpy/compare/104a16741104...a89a36e53a87 From noreply at github.com Mon Feb 17 04:59:01 2014 From: noreply at github.com (GitHub) Date: Mon, 17 Feb 2014 01:59:01 -0800 Subject: [Numpy-svn] [numpy/numpy] a50005: DOC: Typo, replace PyArrayDescr_Check by PyArray_D... Message-ID: <5301dd6547dc9_3b471353d3c6239a@hookshot-fe1-cp1-prd.iad.github.net.mail> Branch: refs/heads/master Home: https://github.com/numpy/numpy Commit: a5000520ff4dcdb15b817d9d85464cdf2b943674 https://github.com/numpy/numpy/commit/a5000520ff4dcdb15b817d9d85464cdf2b943674 Author: Charles Harris Date: 2014-02-16 (Sun, 16 Feb 2014) Changed paths: M doc/numpybook/capi.lyx M doc/source/reference/c-api.array.rst Log Message: ----------- DOC: Typo, replace PyArrayDescr_Check by PyArray_DescrCheck. Found by trac user komnomnomnom. Closes #588. Commit: 297f54b28e09666ef6a514498c6949aacd4494d5 https://github.com/numpy/numpy/commit/297f54b28e09666ef6a514498c6949aacd4494d5 Author: seberg Date: 2014-02-17 (Mon, 17 Feb 2014) Changed paths: M doc/numpybook/capi.lyx M doc/source/reference/c-api.array.rst Log Message: ----------- Merge pull request #4303 from charris/fix-gh-588 DOC: Typo, replace PyArrayDescr_Check by PyArray_DescrCheck. Compare: https://github.com/numpy/numpy/compare/25ac48f98e5a...297f54b28e09 From noreply at github.com Mon Feb 17 18:05:59 2014 From: noreply at github.com (GitHub) Date: Mon, 17 Feb 2014 15:05:59 -0800 Subject: [Numpy-svn] [numpy/numpy] 1ca2c0: Update c-api.array.rst Message-ID: <530295d78879_35a18c7d3c794d9@hookshot-fe1-cp1-prd.iad.github.net.mail> Branch: refs/heads/master Home: https://github.com/numpy/numpy Commit: 1ca2c00862a08b0addf800748b30162e858e0a4c https://github.com/numpy/numpy/commit/1ca2c00862a08b0addf800748b30162e858e0a4c Author: Marc-Alexandre C?t? Date: 2014-02-17 (Mon, 17 Feb 2014) Changed paths: M doc/source/reference/c-api.array.rst Log Message: ----------- Update c-api.array.rst Add a note explaining the ``out`` parameter of some functions. Commit: 1f8a78d97ec7273c0a75b7b010dab5cb692a3a98 https://github.com/numpy/numpy/commit/1f8a78d97ec7273c0a75b7b010dab5cb692a3a98 Author: Charles Harris Date: 2014-02-17 (Mon, 17 Feb 2014) Changed paths: M doc/source/reference/c-api.array.rst Log Message: ----------- Merge pull request #4313 from MarcCote/master Update c-api.array.rst Compare: https://github.com/numpy/numpy/compare/297f54b28e09...1f8a78d97ec7 From noreply at github.com Mon Feb 17 18:08:52 2014 From: noreply at github.com (GitHub) Date: Mon, 17 Feb 2014 15:08:52 -0800 Subject: [Numpy-svn] [numpy/numpy] 64f730: Mention `compress` in `take`'s See Also docstring Message-ID: <53029684db038_7c3282dd40512a8@hookshot-fe8-pe1-prd.aws.github.net.mail> Branch: refs/heads/master Home: https://github.com/numpy/numpy Commit: 64f730db2edc65e23883c7052f198d2e77a113b6 https://github.com/numpy/numpy/commit/64f730db2edc65e23883c7052f198d2e77a113b6 Author: Bastian Venthur Date: 2014-02-17 (Mon, 17 Feb 2014) Changed paths: M numpy/core/fromnumeric.py Log Message: ----------- Mention `compress` in `take`'s See Also docstring closes #3620 Commit: b69ee4443c36d1b0f86f7c96fef8727e931c87bb https://github.com/numpy/numpy/commit/b69ee4443c36d1b0f86f7c96fef8727e931c87bb Author: Charles Harris Date: 2014-02-17 (Mon, 17 Feb 2014) Changed paths: M numpy/core/fromnumeric.py Log Message: ----------- Merge pull request #4309 from venthur/master Mention `compress` in `take`'s See Also docstring Compare: https://github.com/numpy/numpy/compare/1f8a78d97ec7...b69ee4443c36 From noreply at github.com Tue Feb 18 04:11:15 2014 From: noreply at github.com (GitHub) Date: Tue, 18 Feb 2014 01:11:15 -0800 Subject: [Numpy-svn] [numpy/numpy] 5db04d: DOC: Remove \n from strings in plot examples. Message-ID: <530323b3a63b0_6ffb997d346295d@hookshot-fe2-cp1-prd.iad.github.net.mail> Branch: refs/heads/master Home: https://github.com/numpy/numpy Commit: 5db04dbce769463b0d3d1c069ae0a2d1ceeed05d https://github.com/numpy/numpy/commit/5db04dbce769463b0d3d1c069ae0a2d1ceeed05d Author: Charles Harris Date: 2014-02-17 (Mon, 17 Feb 2014) Changed paths: M numpy/lib/twodim_base.py Log Message: ----------- DOC: Remove \n from strings in plot examples. The \n occur in plot titles and mess up the generated html. An alternative fix would be to use a raw docstring or \\n, but here it looks simpler to just delete the problem. Closes #4092. Commit: b5b47b144c78351f49b46731ccdb0de6ddf1276d https://github.com/numpy/numpy/commit/b5b47b144c78351f49b46731ccdb0de6ddf1276d Author: seberg Date: 2014-02-18 (Tue, 18 Feb 2014) Changed paths: M numpy/lib/twodim_base.py Log Message: ----------- Merge pull request #4316 from charris/fix-gh-4092 DOC: Remove \n from strings in plot examples. Compare: https://github.com/numpy/numpy/compare/b69ee4443c36...b5b47b144c78 From noreply at github.com Wed Feb 19 08:33:56 2014 From: noreply at github.com (GitHub) Date: Wed, 19 Feb 2014 05:33:56 -0800 Subject: [Numpy-svn] [numpy/numpy] 8a38f6: DOC: Remove close method from memmap docstring. Message-ID: <5304b2c454aa7_17055dfd408191b@hookshot-fe1-cp1-prd.iad.github.net.mail> Branch: refs/heads/master Home: https://github.com/numpy/numpy Commit: 8a38f647215acc63bc2e953103f5d649a7c093f9 https://github.com/numpy/numpy/commit/8a38f647215acc63bc2e953103f5d649a7c093f9 Author: Charles Harris Date: 2014-02-18 (Tue, 18 Feb 2014) Changed paths: M numpy/core/memmap.py Log Message: ----------- DOC: Remove close method from memmap docstring. Memmap objects no longer have a close method. Commit: 8997167e0de90b7132787ff869ba7988783bb133 https://github.com/numpy/numpy/commit/8997167e0de90b7132787ff869ba7988783bb133 Author: seberg Date: 2014-02-19 (Wed, 19 Feb 2014) Changed paths: M numpy/core/memmap.py Log Message: ----------- Merge pull request #4325 from charris/memmap-has-no-close DOC: Remove close method from memmap docstring. Compare: https://github.com/numpy/numpy/compare/b5b47b144c78...8997167e0de9 From noreply at github.com Wed Feb 19 12:41:44 2014 From: noreply at github.com (GitHub) Date: Wed, 19 Feb 2014 09:41:44 -0800 Subject: [Numpy-svn] [numpy/numpy] c51358: BUG: Index arrays need to be cast with SAME_KIND o... Message-ID: <5304ecd81d724_45cc1289d34584d0@hookshot-fe2-cp1-prd.iad.github.net.mail> Branch: refs/heads/master Home: https://github.com/numpy/numpy Commit: c513585f5a5eb16fc5d06f161de89a5989f3537d https://github.com/numpy/numpy/commit/c513585f5a5eb16fc5d06f161de89a5989f3537d Author: Sebastian Berg Date: 2014-02-19 (Wed, 19 Feb 2014) Changed paths: M numpy/core/src/multiarray/mapping.c M numpy/core/tests/test_indexing.py Log Message: ----------- BUG: Index arrays need to be cast with SAME_KIND or FORCE casting When checking index arrays for out of bound values, safe casting was used. In principle this is unsafe, but we need to support indexing with a 64bit integer array on 32bit systems. Closes gh-4328 Commit: 3aaf365b34158ceca0f80cb42e64a7e362302214 https://github.com/numpy/numpy/commit/3aaf365b34158ceca0f80cb42e64a7e362302214 Author: Julian Taylor Date: 2014-02-19 (Wed, 19 Feb 2014) Changed paths: M numpy/core/src/multiarray/mapping.c M numpy/core/tests/test_indexing.py Log Message: ----------- Merge pull request #4329 from seberg/index-casting-rule BUG: Index arrays need to be cast with SAME_KIND or FORCE casting Compare: https://github.com/numpy/numpy/compare/8997167e0de9...3aaf365b3415 From noreply at github.com Thu Feb 20 09:44:50 2014 From: noreply at github.com (GitHub) Date: Thu, 20 Feb 2014 06:44:50 -0800 Subject: [Numpy-svn] [numpy/numpy] 871c73: BUG: fix initialized half sum Message-ID: <530614e216307_4bb01167d3424053@hookshot-fe2-cp1-prd.iad.github.net.mail> Branch: refs/heads/master Home: https://github.com/numpy/numpy Commit: 871c73b181706937ef7e14aecb24b23f65ed0993 https://github.com/numpy/numpy/commit/871c73b181706937ef7e14aecb24b23f65ed0993 Author: Julian Taylor Date: 2014-02-18 (Tue, 18 Feb 2014) Changed paths: M numpy/core/src/umath/loops.c.src M numpy/core/tests/test_ufunc.py Log Message: ----------- BUG: fix initialized half sum pairwise summation added in 1.9 broke half sums if the first element is initialized non-zero. E.g. d += x Commit: 0178b12f3cd9804df066d0045a75180177962831 https://github.com/numpy/numpy/commit/0178b12f3cd9804df066d0045a75180177962831 Author: seberg Date: 2014-02-20 (Thu, 20 Feb 2014) Changed paths: M numpy/core/src/umath/loops.c.src M numpy/core/tests/test_ufunc.py Log Message: ----------- Merge pull request #4321 from juliantaylor/half-sum-fix BUG: fix initialized half sum Compare: https://github.com/numpy/numpy/compare/3aaf365b3415...0178b12f3cd9 From noreply at github.com Thu Feb 20 12:06:58 2014 From: noreply at github.com (GitHub) Date: Thu, 20 Feb 2014 09:06:58 -0800 Subject: [Numpy-svn] [numpy/numpy] ddcb49: BUG: #4256: f2py, PyString_FromStringAndSize is un... Message-ID: <530636321655b_4b30118bd385547e@hookshot-fe2-cp1-prd.iad.github.net.mail> Branch: refs/heads/master Home: https://github.com/numpy/numpy Commit: ddcb49e5f779a9e42356914b9ec4162b722d4ab0 https://github.com/numpy/numpy/commit/ddcb49e5f779a9e42356914b9ec4162b722d4ab0 Author: Charles Harris Date: 2014-02-16 (Sun, 16 Feb 2014) Changed paths: M numpy/f2py/cfuncs.py M numpy/f2py/src/fortranobject.h M numpy/f2py/tests/test_callback.py Log Message: ----------- BUG: #4256: f2py, PyString_FromStringAndSize is undefined in Python3. Use PyUString_FromStringAndSize defined in npy_3kcompat instead. Not using bytes may cause some problems, but strings seem like a better choice. As modules generated with current f2py error out, this particular use is not common and we are free to choose. Closes #4256. Commit: d54b6784501de8aef405794f20cf1f4b3941c68f https://github.com/numpy/numpy/commit/d54b6784501de8aef405794f20cf1f4b3941c68f Author: Charles Harris Date: 2014-02-20 (Thu, 20 Feb 2014) Changed paths: M numpy/f2py/cfuncs.py M numpy/f2py/src/fortranobject.h M numpy/f2py/tests/test_callback.py Log Message: ----------- Merge pull request #4305 from charris/fix-gh-4256 BUG: #4256: f2py, PyString_FromStringAndSize is undefined in Python3. Compare: https://github.com/numpy/numpy/compare/0178b12f3cd9...d54b6784501d From noreply at github.com Thu Feb 20 12:08:07 2014 From: noreply at github.com (GitHub) Date: Thu, 20 Feb 2014 09:08:07 -0800 Subject: [Numpy-svn] [numpy/numpy] 1b83d8: BUG: #2408, Fix f2py Python 3 error message string... Message-ID: <530636773b17a_36a17a3d34107694@hookshot-fe1-cp1-prd.iad.github.net.mail> Branch: refs/heads/master Home: https://github.com/numpy/numpy Commit: 1b83d85bc4cfaccb12295d993c5a12e5c4029030 https://github.com/numpy/numpy/commit/1b83d85bc4cfaccb12295d993c5a12e5c4029030 Author: Charles Harris Date: 2014-02-17 (Mon, 17 Feb 2014) Changed paths: M numpy/f2py/src/fortranobject.c Log Message: ----------- BUG: #2408, Fix f2py Python 3 error message string bug. The original was generating an exception message and, after aliasing, calling PyBytes_AsString on a unicode string -> error. It was also leaking references, although that probably didn't matter in context. The fix here is on the cheap side, just use a C string for the message without including the extra information about the erroneous type that led to the exception. No test, I don't know how to evoke this error. Closes #2408. Commit: 34d7bee3d472e5b97c1ea7c8d7e8d9949a9ebc16 https://github.com/numpy/numpy/commit/34d7bee3d472e5b97c1ea7c8d7e8d9949a9ebc16 Author: Charles Harris Date: 2014-02-20 (Thu, 20 Feb 2014) Changed paths: M numpy/f2py/src/fortranobject.c Log Message: ----------- Merge pull request #4315 from charris/fix-gh-2408 BUG: #2408, Fix f2py Python 3 error message string bug. Compare: https://github.com/numpy/numpy/compare/d54b6784501d...34d7bee3d472 From noreply at github.com Fri Feb 21 17:15:33 2014 From: noreply at github.com (GitHub) Date: Fri, 21 Feb 2014 14:15:33 -0800 Subject: [Numpy-svn] [numpy/numpy] fd399a: TST: do not use "ignore" to filter warnings Message-ID: <5307d005927ce_b99d07d3418453@hookshot-fe2-cp1-prd.iad.github.net.mail> Branch: refs/heads/master Home: https://github.com/numpy/numpy Commit: fd399aaee5b703744f508fb2ce4718e1f4bc8984 https://github.com/numpy/numpy/commit/fd399aaee5b703744f508fb2ce4718e1f4bc8984 Author: Sebastian Berg Date: 2014-02-21 (Fri, 21 Feb 2014) Changed paths: M numpy/lib/tests/test_function_base.py M numpy/lib/tests/test_nanfunctions.py Log Message: ----------- TST: do not use "ignore" to filter warnings When a warning is ignored (or raised once) in python, the warnings module will tag on a `__warningregistry__` dictionary to be able to filter these warnings in the future. This is tagged on to the current context, causing leakage to later calls (this is a bit more complex, since where the registry ends up depends on the layers between the original caller and warner). In short, tests should typically not use ignore but catch the warnings to avoid changing the user experience (or errors on duplicate test runs). Fixes an error on duplicate test runs (does not remove all "ignores" which may change behaviour outside tests). Closes gh-4340 Commit: dd857489fcaa745ea569c523249fe37537bfe280 https://github.com/numpy/numpy/commit/dd857489fcaa745ea569c523249fe37537bfe280 Author: Charles Harris Date: 2014-02-21 (Fri, 21 Feb 2014) Changed paths: M numpy/lib/tests/test_function_base.py M numpy/lib/tests/test_nanfunctions.py Log Message: ----------- Merge pull request #4342 from seberg/issue-4340 TST: do not use "ignore" to filter warnings Compare: https://github.com/numpy/numpy/compare/34d7bee3d472...dd857489fcaa From noreply at github.com Sat Feb 22 10:32:10 2014 From: noreply at github.com (GitHub) Date: Sat, 22 Feb 2014 07:32:10 -0800 Subject: [Numpy-svn] [numpy/numpy] 4dcfcc: MAINT: fix a bunch of compiler warnings Message-ID: <5308c2fa408d6_2335e4dd389271c@hookshot-fe12-pe1-prd.aws.github.net.mail> Branch: refs/heads/master Home: https://github.com/numpy/numpy Commit: 4dcfcc5f58140c5f09fde8fae90720e32f7d3096 https://github.com/numpy/numpy/commit/4dcfcc5f58140c5f09fde8fae90720e32f7d3096 Author: Julian Taylor Date: 2014-02-22 (Sat, 22 Feb 2014) Changed paths: M numpy/core/src/multiarray/arrayobject.c M numpy/core/src/multiarray/descriptor.c M numpy/core/src/multiarray/dtype_transfer.c M numpy/core/src/multiarray/item_selection.c M numpy/core/src/multiarray/mapping.c M numpy/core/src/multiarray/multiarraymodule.c M numpy/core/src/multiarray/number.c M numpy/core/src/multiarray/refcount.c M numpy/core/src/multiarray/scalarapi.c M numpy/core/src/multiarray/scalartypes.c.src M numpy/core/src/private/npy_binsearch.h.src M numpy/core/src/private/ufunc_override.h M numpy/core/src/umath/loops.c.src M numpy/core/src/umath/simd.inc.src Log Message: ----------- MAINT: fix a bunch of compiler warnings Commit: bf5fd54026a54358dc1602446af8b406bb51d99c https://github.com/numpy/numpy/commit/bf5fd54026a54358dc1602446af8b406bb51d99c Author: Charles Harris Date: 2014-02-22 (Sat, 22 Feb 2014) Changed paths: M numpy/core/src/multiarray/arrayobject.c M numpy/core/src/multiarray/descriptor.c M numpy/core/src/multiarray/dtype_transfer.c M numpy/core/src/multiarray/item_selection.c M numpy/core/src/multiarray/mapping.c M numpy/core/src/multiarray/multiarraymodule.c M numpy/core/src/multiarray/number.c M numpy/core/src/multiarray/refcount.c M numpy/core/src/multiarray/scalarapi.c M numpy/core/src/multiarray/scalartypes.c.src M numpy/core/src/private/npy_binsearch.h.src M numpy/core/src/private/ufunc_override.h M numpy/core/src/umath/loops.c.src M numpy/core/src/umath/simd.inc.src Log Message: ----------- Merge pull request #4349 from juliantaylor/warning-maint MAINT: fix a bunch of compiler warnings Compare: https://github.com/numpy/numpy/compare/dd857489fcaa...bf5fd54026a5 From noreply at github.com Sat Feb 22 10:54:47 2014 From: noreply at github.com (GitHub) Date: Sat, 22 Feb 2014 07:54:47 -0800 Subject: [Numpy-svn] [numpy/numpy] a676f4: ENH: add max fastpath to partition for nan detecti... Message-ID: <5308c847af126_2163c35d3485655@hookshot-fe10-pe1-prd.aws.github.net.mail> Branch: refs/heads/master Home: https://github.com/numpy/numpy Commit: a676f4eb6c0935686254af62d4e32e88361727a4 https://github.com/numpy/numpy/commit/a676f4eb6c0935686254af62d4e32e88361727a4 Author: Julian Taylor Date: 2014-02-22 (Sat, 22 Feb 2014) Changed paths: M numpy/core/src/npysort/selection.c.src M numpy/core/tests/test_multiarray.py Log Message: ----------- ENH: add max fastpath to partition for nan detection Allows low overhead check for NaN via isnan(partition(d, (x, -1))[-1]) Commit: 2882cc96639787335d135bf1fc10e1174c83831f https://github.com/numpy/numpy/commit/2882cc96639787335d135bf1fc10e1174c83831f Author: Charles Harris Date: 2014-02-22 (Sat, 22 Feb 2014) Changed paths: M numpy/core/src/npysort/selection.c.src M numpy/core/tests/test_multiarray.py Log Message: ----------- Merge pull request #4347 from juliantaylor/partition-max ENH: add max fastpath to partition for nan detection Compare: https://github.com/numpy/numpy/compare/bf5fd54026a5...2882cc966397 From noreply at github.com Sat Feb 22 10:58:20 2014 From: noreply at github.com (GitHub) Date: Sat, 22 Feb 2014 07:58:20 -0800 Subject: [Numpy-svn] [numpy/numpy] a712c6: BUG: Fixes #2799 Message-ID: <5308c91c702db_5bbd1355d44773d1@hookshot-fe2-cp1-prd.iad.github.net.mail> Branch: refs/heads/master Home: https://github.com/numpy/numpy Commit: a712c675d15385dc1cc3953a93423223d58d368d https://github.com/numpy/numpy/commit/a712c675d15385dc1cc3953a93423223d58d368d Author: jaimefrio Date: 2014-02-21 (Fri, 21 Feb 2014) Changed paths: M numpy/lib/arraysetops.py M numpy/lib/tests/test_arraysetops.py Log Message: ----------- BUG: Fixes #2799 Use `np.sort` instead of `sorted` when the input is a list and no indices are requested. Fixes #2799. Commit: 65a73df664ff5ac9da942b2d8f8b2737867ca82a https://github.com/numpy/numpy/commit/65a73df664ff5ac9da942b2d8f8b2737867ca82a Author: Charles Harris Date: 2014-02-22 (Sat, 22 Feb 2014) Changed paths: M numpy/lib/arraysetops.py M numpy/lib/tests/test_arraysetops.py Log Message: ----------- Merge pull request #4344 from jaimefrio/unique-sort BUG: Fixes #2799 Compare: https://github.com/numpy/numpy/compare/2882cc966397...65a73df664ff From noreply at github.com Sat Feb 22 11:40:49 2014 From: noreply at github.com (GitHub) Date: Sat, 22 Feb 2014 08:40:49 -0800 Subject: [Numpy-svn] [numpy/numpy] 5803ec: Fix seterr example for resetting to old settings Message-ID: <5308d31131163_505510b5d3c720ce@hookshot-fe2-cp1-prd.iad.github.net.mail> Branch: refs/heads/master Home: https://github.com/numpy/numpy Commit: 5803ec43faf46d5117ddddfc7026f098ea5b3b89 https://github.com/numpy/numpy/commit/5803ec43faf46d5117ddddfc7026f098ea5b3b89 Author: Niklas Hamb?chen Date: 2014-02-20 (Thu, 20 Feb 2014) Changed paths: M numpy/core/numeric.py Log Message: ----------- Fix seterr example for resetting to old settings Commit: d2fd1af156ac095156d3fbf833392b644e61c226 https://github.com/numpy/numpy/commit/d2fd1af156ac095156d3fbf833392b644e61c226 Author: Charles Harris Date: 2014-02-22 (Sat, 22 Feb 2014) Changed paths: M numpy/core/numeric.py Log Message: ----------- Merge pull request #4288 from nh2/fix-seterr-examples Mistake in seterr docs? Compare: https://github.com/numpy/numpy/compare/65a73df664ff...d2fd1af156ac From noreply at github.com Sat Feb 22 14:39:43 2014 From: noreply at github.com (GitHub) Date: Sat, 22 Feb 2014 11:39:43 -0800 Subject: [Numpy-svn] [numpy/numpy] e067e6: BUG: Whitespace stripping in pep3118 format parser... Message-ID: <5308fcff35ae8_1ead7d5d34905ca@hookshot-fe10-pe1-prd.aws.github.net.mail> Branch: refs/heads/master Home: https://github.com/numpy/numpy Commit: e067e6b0cbdc45cb0ad4073b18cb18492810b035 https://github.com/numpy/numpy/commit/e067e6b0cbdc45cb0ad4073b18cb18492810b035 Author: Sebastian Berg Date: 2014-02-22 (Sat, 22 Feb 2014) Changed paths: M numpy/core/src/multiarray/buffer.c Log Message: ----------- BUG: Whitespace stripping in pep3118 format parser and early free Closes gh-3348 Commit: 6c4e64204df6f336b617ff0447d0ea104cdf1ae6 https://github.com/numpy/numpy/commit/6c4e64204df6f336b617ff0447d0ea104cdf1ae6 Author: Sebastian Berg Date: 2014-02-22 (Sat, 22 Feb 2014) Changed paths: M numpy/core/src/multiarray/numpymemoryview.c Log Message: ----------- BUG: Hang on to originally filled Py_Buffer view. When filling the python buffer view object, python sets view.shape = &view.len (ndim=1, so this works). If we copy the view info into our Memoryview object instead of having it directly filled &view.len points into nirvana. Closes gh-3175 Commit: 826d13702dd28cff729595e37658611f4719067b https://github.com/numpy/numpy/commit/826d13702dd28cff729595e37658611f4719067b Author: Charles Harris Date: 2014-02-22 (Sat, 22 Feb 2014) Changed paths: M numpy/core/src/multiarray/buffer.c M numpy/core/src/multiarray/numpymemoryview.c Log Message: ----------- Merge pull request #4350 from seberg/buffer-fixes Buffer fixes Compare: https://github.com/numpy/numpy/compare/d2fd1af156ac...826d13702dd2 From noreply at github.com Sat Feb 22 14:46:03 2014 From: noreply at github.com (GitHub) Date: Sat, 22 Feb 2014 11:46:03 -0800 Subject: [Numpy-svn] [numpy/numpy] fdb219: BUG: handle non integer types for multinomial/diri... Message-ID: <5308fe7b2c82e_4e8cb91d3865274@hookshot-fe2-cp1-prd.iad.github.net.mail> Branch: refs/heads/master Home: https://github.com/numpy/numpy Commit: fdb219f58740748229c2142c5643e79ae1c27d69 https://github.com/numpy/numpy/commit/fdb219f58740748229c2142c5643e79ae1c27d69 Author: Julian Taylor Date: 2014-02-22 (Sat, 22 Feb 2014) Changed paths: M numpy/random/mtrand/mtrand.c M numpy/random/mtrand/mtrand.pyx M numpy/random/tests/test_random.py Log Message: ----------- BUG: handle non integer types for multinomial/dirichlet size Closes gh-3173 Commit: b5c62f81a2dd8af8f8d507eb990d5f4efc77ee5f https://github.com/numpy/numpy/commit/b5c62f81a2dd8af8f8d507eb990d5f4efc77ee5f Author: Charles Harris Date: 2014-02-22 (Sat, 22 Feb 2014) Changed paths: M numpy/random/mtrand/mtrand.c M numpy/random/mtrand/mtrand.pyx M numpy/random/tests/test_random.py Log Message: ----------- Merge pull request #4348 from juliantaylor/rand-int-check-bug BUG: handle non integer types for multinomial/dirichlet size Compare: https://github.com/numpy/numpy/compare/826d13702dd2...b5c62f81a2dd From noreply at github.com Mon Feb 24 20:38:22 2014 From: noreply at github.com (GitHub) Date: Mon, 24 Feb 2014 17:38:22 -0800 Subject: [Numpy-svn] [numpy/numpy] f8bcb8: [DOC] Fix small inaccuracy in broadcasting docs Message-ID: <530bf40e8d777_bfdd9bd408952e@hookshot-fe2-cp1-prd.iad.github.net.mail> Branch: refs/heads/master Home: https://github.com/numpy/numpy Commit: f8bcb8802af1b5ba5b4c9a67109095e8072a041a https://github.com/numpy/numpy/commit/f8bcb8802af1b5ba5b4c9a67109095e8072a041a Author: njsmith Date: 2014-02-24 (Mon, 24 Feb 2014) Changed paths: M numpy/doc/broadcasting.py Log Message: ----------- [DOC] Fix small inaccuracy in broadcasting docs During broadcasting, dimensions with size 1 can be matched against 0-sized dimensions, and in this case it's the size 1 dimension that will be shrunk away to nothingness. So it's wrong to say that the *smaller* dimension is the one that changes. Commit: 9573f78c274933e3fead0ce0e976d015764d585b https://github.com/numpy/numpy/commit/9573f78c274933e3fead0ce0e976d015764d585b Author: Charles Harris Date: 2014-02-24 (Mon, 24 Feb 2014) Changed paths: M numpy/doc/broadcasting.py Log Message: ----------- Merge pull request #4362 from njsmith/master [DOC] Fix small inaccuracy in broadcasting docs Compare: https://github.com/numpy/numpy/compare/b5c62f81a2dd...9573f78c2749 From noreply at github.com Tue Feb 25 00:52:16 2014 From: noreply at github.com (GitHub) Date: Mon, 24 Feb 2014 21:52:16 -0800 Subject: [Numpy-svn] [numpy/numpy] 249c38: ENH: tril and triu broadcasting Message-ID: <530c2f90deba9_4d08639d4012970@hookshot-fe1-cp1-prd.iad.github.net.mail> Branch: refs/heads/master Home: https://github.com/numpy/numpy Commit: 249c38e7e899803c3697bf81707f4f446a67c60a https://github.com/numpy/numpy/commit/249c38e7e899803c3697bf81707f4f446a67c60a Author: alex Date: 2014-02-24 (Mon, 24 Feb 2014) Changed paths: M numpy/lib/tests/test_twodim_base.py M numpy/lib/twodim_base.py Log Message: ----------- ENH: tril and triu broadcasting Commit: e4c274f70cf7d7109214b1811bda61e151f727d9 https://github.com/numpy/numpy/commit/e4c274f70cf7d7109214b1811bda61e151f727d9 Author: alex Date: 2014-02-24 (Mon, 24 Feb 2014) Changed paths: M doc/release/1.9.0-notes.rst Log Message: ----------- DOC: triu/tril broadcasting release notes Commit: 56eb28ed29573d644696743804decf3a8d3260fc https://github.com/numpy/numpy/commit/56eb28ed29573d644696743804decf3a8d3260fc Author: Charles Harris Date: 2014-02-24 (Mon, 24 Feb 2014) Changed paths: M doc/release/1.9.0-notes.rst M numpy/lib/tests/test_twodim_base.py M numpy/lib/twodim_base.py Log Message: ----------- Merge pull request #4364 from argriffing/triu-broadcasting ENH: tril and triu broadcasting Compare: https://github.com/numpy/numpy/compare/9573f78c2749...56eb28ed2957 From noreply at github.com Tue Feb 25 13:38:06 2014 From: noreply at github.com (GitHub) Date: Tue, 25 Feb 2014 10:38:06 -0800 Subject: [Numpy-svn] [numpy/numpy] 2872bf: TST: switch i386 build to python3.4 defaulting ubu... Message-ID: <530ce30e41efd_76776dbd3499358@hookshot-fe1-cp1-prd.iad.github.net.mail> Branch: refs/heads/master Home: https://github.com/numpy/numpy Commit: 2872bf7a7433697483eba0030c67ae27c8f7914e https://github.com/numpy/numpy/commit/2872bf7a7433697483eba0030c67ae27c8f7914e Author: Julian Taylor Date: 2014-02-25 (Tue, 25 Feb 2014) Changed paths: M .travis.yml M tools/travis-test.sh Log Message: ----------- TST: switch i386 build to python3.4 defaulting ubuntu 14.04 to do that fix a missing $DIST variable usage in the test script Commit: 5a44a9f4e7cc37482dea650bec2c31087ea7756c https://github.com/numpy/numpy/commit/5a44a9f4e7cc37482dea650bec2c31087ea7756c Author: Charles Harris Date: 2014-02-25 (Tue, 25 Feb 2014) Changed paths: M .travis.yml M tools/travis-test.sh Log Message: ----------- Merge pull request #4361 from juliantaylor/py3.4-travis TST: switch i386 build to python3.4 defaulting ubuntu 14.04 Compare: https://github.com/numpy/numpy/compare/56eb28ed2957...5a44a9f4e7cc From noreply at github.com Tue Feb 25 16:13:37 2014 From: noreply at github.com (GitHub) Date: Tue, 25 Feb 2014 13:13:37 -0800 Subject: [Numpy-svn] [numpy/numpy] 1f9d4d: BUG: Fix promote_types, can_cast, as astype issues Message-ID: <530d0781e1e40_75db10b7d446959f@hookshot-fe1-cp1-prd.iad.github.net.mail> Branch: refs/heads/master Home: https://github.com/numpy/numpy Commit: 1f9d4d2613d7c8bccf7e16720e8d0fa87e74e34a https://github.com/numpy/numpy/commit/1f9d4d2613d7c8bccf7e16720e8d0fa87e74e34a Author: Jay Bourque Date: 2014-02-25 (Tue, 25 Feb 2014) Changed paths: M doc/release/1.9.0-notes.rst M doc/source/reference/c-api.array.rst M numpy/add_newdocs.py M numpy/core/src/multiarray/convert_datatype.c M numpy/core/tests/test_api.py M numpy/core/tests/test_numeric.py M numpy/core/tests/test_shape_base.py Log Message: ----------- BUG: Fix promote_types, can_cast, as astype issues - promote_types does not return correct string size for integer and string arguments. Fix so that integer and string types are promoted to string type that is long enough to hold integer type safely cast to string. - can_cast incorrectly returns True for certain integer and string types. Fix so that can_cast only returns True if string type is long enough to hold integer type safely cast to string. - calling astype to convert integer to string should fail if string type is not long enough to hold integer converted to string and casting argument is set to "safe". Commit: 87a9d5cba6caa7870de7b4dd195368d2fc39d38f https://github.com/numpy/numpy/commit/87a9d5cba6caa7870de7b4dd195368d2fc39d38f Author: Charles Harris Date: 2014-02-25 (Tue, 25 Feb 2014) Changed paths: M doc/release/1.9.0-notes.rst M doc/source/reference/c-api.array.rst M numpy/add_newdocs.py M numpy/core/src/multiarray/convert_datatype.c M numpy/core/tests/test_api.py M numpy/core/tests/test_numeric.py M numpy/core/tests/test_shape_base.py Log Message: ----------- Merge pull request #3984 from ContinuumIO/promote_types_fix Fix promote_types for strings and numbers Compare: https://github.com/numpy/numpy/compare/5a44a9f4e7cc...87a9d5cba6ca From noreply at github.com Tue Feb 25 16:26:24 2014 From: noreply at github.com (GitHub) Date: Tue, 25 Feb 2014 13:26:24 -0800 Subject: [Numpy-svn] [numpy/numpy] ba1e4d: BUG: Fixed issue 3504, and added tests for complex... Message-ID: <530d0a80dc070_12e610bdd34128584@hookshot-fe2-cp1-prd.iad.github.net.mail> Branch: refs/heads/master Home: https://github.com/numpy/numpy Commit: ba1e4df00d67e9fceec63a072e641942f98858e6 https://github.com/numpy/numpy/commit/ba1e4df00d67e9fceec63a072e641942f98858e6 Author: Sankarshan Mudkavi Date: 2014-02-25 (Tue, 25 Feb 2014) Changed paths: M numpy/core/function_base.py M numpy/core/tests/test_function_base.py Log Message: ----------- BUG: Fixed issue 3504, and added tests for complex support Commit: 8ce3640cb85abfc9a0c7fb55f30957e5224718a4 https://github.com/numpy/numpy/commit/8ce3640cb85abfc9a0c7fb55f30957e5224718a4 Author: Julian Taylor Date: 2014-02-25 (Tue, 25 Feb 2014) Changed paths: M numpy/core/function_base.py M numpy/core/tests/test_function_base.py Log Message: ----------- Merge pull request #4336 from Sankarshan-Mudkavi/fix-issue-3504 Fixed issue 3504 Compare: https://github.com/numpy/numpy/compare/87a9d5cba6ca...8ce3640cb85a From noreply at github.com Wed Feb 26 09:45:42 2014 From: noreply at github.com (GitHub) Date: Wed, 26 Feb 2014 06:45:42 -0800 Subject: [Numpy-svn] [numpy/numpy] 1c2ac8: BUG: Make interp return NaN at NaN interpolation p... Message-ID: <530dfe16911d2_2521a11d3c10623a@hookshot-fe2-cp1-prd.iad.github.net.mail> Branch: refs/heads/master Home: https://github.com/numpy/numpy Commit: 1c2ac8fd02cf6db60b2e15ec994b8febe025424a https://github.com/numpy/numpy/commit/1c2ac8fd02cf6db60b2e15ec994b8febe025424a Author: Charles Harris Date: 2014-02-16 (Sun, 16 Feb 2014) Changed paths: M numpy/lib/src/_compiled_base.c M numpy/lib/tests/test_function_base.py Log Message: ----------- BUG: Make interp return NaN at NaN interpolation points. A NaN interpolation point was interpreted as out of bounds on the left side, hence the value of the left parameter in the function call was returned. >>> np.interp(np.nan, [-10, 10], [-2, 2]) -2.0 NaN is a better choice. Closes #605. Commit: 5100498ea6bdb4522b48550aad8841687586095a https://github.com/numpy/numpy/commit/5100498ea6bdb4522b48550aad8841687586095a Author: seberg Date: 2014-02-26 (Wed, 26 Feb 2014) Changed paths: M numpy/lib/src/_compiled_base.c M numpy/lib/tests/test_function_base.py Log Message: ----------- Merge pull request #4302 from charris/fix-gh-605 BUG: Make interp return NaN at NaN interpolation points. Compare: https://github.com/numpy/numpy/compare/8ce3640cb85a...5100498ea6bd From noreply at github.com Wed Feb 26 09:50:39 2014 From: noreply at github.com (GitHub) Date: Wed, 26 Feb 2014 06:50:39 -0800 Subject: [Numpy-svn] [numpy/numpy] 105871: MAINT: #2312, Make all tofile failures raise IOErr... Message-ID: <530dff3f95182_41fc4f5d4415435@hookshot-fe1-cp1-prd.iad.github.net.mail> Branch: refs/heads/master Home: https://github.com/numpy/numpy Commit: 1058717613f6932d37744f192c35c803fa603724 https://github.com/numpy/numpy/commit/1058717613f6932d37744f192c35c803fa603724 Author: Charles Harris Date: 2014-02-20 (Thu, 20 Feb 2014) Changed paths: M numpy/core/src/multiarray/convert.c Log Message: ----------- MAINT: #2312, Make all tofile failures raise IOError. Fix two that were raising ValueError instead. Make some style cleanups. Closes #2312. Commit: 7daf5cd7569f02daa8f71805ea499fdf899d35d0 https://github.com/numpy/numpy/commit/7daf5cd7569f02daa8f71805ea499fdf899d35d0 Author: Charles Harris Date: 2014-02-20 (Thu, 20 Feb 2014) Changed paths: M doc/release/1.9.0-notes.rst Log Message: ----------- DOC: Document tofile exception changes in 1.9.0 release notes. Commit: 997f65e1b2539b8d51221bee38ae1f2a78d804f3 https://github.com/numpy/numpy/commit/997f65e1b2539b8d51221bee38ae1f2a78d804f3 Author: seberg Date: 2014-02-26 (Wed, 26 Feb 2014) Changed paths: M doc/release/1.9.0-notes.rst M numpy/core/src/multiarray/convert.c Log Message: ----------- Merge pull request #4333 from charris/fix-gh-2312 Fix gh 2312 Compare: https://github.com/numpy/numpy/compare/5100498ea6bd...997f65e1b253 From noreply at github.com Wed Feb 26 12:02:24 2014 From: noreply at github.com (GitHub) Date: Wed, 26 Feb 2014 09:02:24 -0800 Subject: [Numpy-svn] [numpy/numpy] fb9ab5: ENH: core: add a fast path for PEP3118 buffer stri... Message-ID: <530e1e206b87d_2521a11d3c1128f6@hookshot-fe2-cp1-prd.iad.github.net.mail> Branch: refs/heads/maintenance/1.8.x Home: https://github.com/numpy/numpy Commit: fb9ab547d14d878b44fbcd996ef09aa485d4c53d https://github.com/numpy/numpy/commit/fb9ab547d14d878b44fbcd996ef09aa485d4c53d Author: Pauli Virtanen Date: 2014-02-25 (Tue, 25 Feb 2014) Changed paths: M numpy/core/src/multiarray/buffer.c M numpy/core/tests/test_multiarray.py Log Message: ----------- ENH: core: add a fast path for PEP3118 buffer string parsing The call back to Python numpy.core._internal._dtype_from_pep3118 is an unnecessary large overhead for the most common case, when the buffer passed in has a simple non-composite type. This commit adds a fast path for the simple case. Commit: a020e4fbf79b37e5dfe550daf8b311c23b43c5a3 https://github.com/numpy/numpy/commit/a020e4fbf79b37e5dfe550daf8b311c23b43c5a3 Author: Sebastian Berg Date: 2014-02-25 (Tue, 25 Feb 2014) Changed paths: M numpy/core/src/multiarray/buffer.c Log Message: ----------- BUG: Whitespace stripping in pep3118 format parser and early free Closes gh-3348 Commit: abd62ef506487dd3f27d49c718639f0d5363cd5c https://github.com/numpy/numpy/commit/abd62ef506487dd3f27d49c718639f0d5363cd5c Author: Sebastian Berg Date: 2014-02-25 (Tue, 25 Feb 2014) Changed paths: M numpy/core/src/multiarray/numpymemoryview.c Log Message: ----------- BUG: Hang on to originally filled Py_Buffer view. When filling the python buffer view object, python sets view.shape = &view.len (ndim=1, so this works). If we copy the view info into our Memoryview object instead of having it directly filled &view.len points into nirvana. Closes gh-3175 Commit: 23f4b1eecd7d9c540b2e41c26eaa3e884d0aae06 https://github.com/numpy/numpy/commit/23f4b1eecd7d9c540b2e41c26eaa3e884d0aae06 Author: Charles Harris Date: 2014-02-26 (Wed, 26 Feb 2014) Changed paths: M numpy/core/src/multiarray/buffer.c M numpy/core/src/multiarray/numpymemoryview.c M numpy/core/tests/test_multiarray.py Log Message: ----------- Merge pull request #4367 from charris/backport-1.8-buffer-fixes Backport 1.8 buffer fixes Compare: https://github.com/numpy/numpy/compare/a89a36e53a87...23f4b1eecd7d From noreply at github.com Wed Feb 26 14:42:31 2014 From: noreply at github.com (GitHub) Date: Wed, 26 Feb 2014 11:42:31 -0800 Subject: [Numpy-svn] [numpy/numpy] 5dbf52: BUG: get_info('openblas') does not read libraries ... Message-ID: <530e43a7b2f6b_196a571d40108572@hookshot-fe2-cp1-prd.iad.github.net.mail> Branch: refs/heads/master Home: https://github.com/numpy/numpy Commit: 5dbf5278f30d1b63388ab0af50e51d10ee54b9e7 https://github.com/numpy/numpy/commit/5dbf5278f30d1b63388ab0af50e51d10ee54b9e7 Author: Julian Taylor Date: 2014-02-21 (Fri, 21 Feb 2014) Changed paths: M numpy/distutils/system_info.py Log Message: ----------- BUG: get_info('openblas') does not read libraries key The documented libraries tag in the site.cfg is not read by the configuration, instead openblas_libs is used, this is inconsistent with atlas configuration. So libraries first and then try openblas_libs for backward compatibility. Also ensure check_libs returns None instead of a dict of empty lists if nothing is found. Commit: 8a4ff790cc5f6b643c71ba94316058546a506ebd https://github.com/numpy/numpy/commit/8a4ff790cc5f6b643c71ba94316058546a506ebd Author: Julian Taylor Date: 2014-02-21 (Fri, 21 Feb 2014) Changed paths: M site.cfg.example Log Message: ----------- DOC: update openblas fork warning with fixed pthread build info Commit: 2943c43d855fc5a047a5fd39330306b873eab670 https://github.com/numpy/numpy/commit/2943c43d855fc5a047a5fd39330306b873eab670 Author: Charles Harris Date: 2014-02-26 (Wed, 26 Feb 2014) Changed paths: M numpy/distutils/system_info.py M site.cfg.example Log Message: ----------- Merge pull request #4191 from juliantaylor/openblas-info BUG: get_info('openblas') does not read libraries key Compare: https://github.com/numpy/numpy/compare/997f65e1b253...2943c43d855f From noreply at github.com Wed Feb 26 19:37:07 2014 From: noreply at github.com (GitHub) Date: Wed, 26 Feb 2014 16:37:07 -0800 Subject: [Numpy-svn] [numpy/numpy] 149359: Fix infinite recursion when initializing sub-class... Message-ID: <530e88b382dfe_23a4937d44121161@hookshot-fe2-cp1-prd.iad.github.net.mail> Branch: refs/heads/master Home: https://github.com/numpy/numpy Commit: 149359fe0d19b9ce6845dca062a7f7d5bb48f0b7 https://github.com/numpy/numpy/commit/149359fe0d19b9ce6845dca062a7f7d5bb48f0b7 Author: Travis E. Oliphant Date: 2014-02-26 (Wed, 26 Feb 2014) Changed paths: M numpy/core/src/multiarray/scalartypes.c.src Log Message: ----------- Fix infinite recursion when initializing sub-class of array scalars. Commit: 3a64972a6220764582b31a6ad3f354e9b1259264 https://github.com/numpy/numpy/commit/3a64972a6220764582b31a6ad3f354e9b1259264 Author: Travis E. Oliphant Date: 2014-02-26 (Wed, 26 Feb 2014) Changed paths: A numpy/core/tests/test_scalarinherit.py Log Message: ----------- Add test-case for multiple-inheritance on an array-scalar. Commit: 3a2f048b830822e8395f0d42c42b8fd395a14204 https://github.com/numpy/numpy/commit/3a2f048b830822e8395f0d42c42b8fd395a14204 Author: Charles Harris Date: 2014-02-26 (Wed, 26 Feb 2014) Changed paths: M numpy/core/src/multiarray/scalartypes.c.src A numpy/core/tests/test_scalarinherit.py Log Message: ----------- Merge pull request #4375 from ContinuumIO/fix_scalar_inherit Fix scalar inherit Compare: https://github.com/numpy/numpy/compare/2943c43d855f...3a2f048b8308 From noreply at github.com Thu Feb 27 12:23:18 2014 From: noreply at github.com (GitHub) Date: Thu, 27 Feb 2014 09:23:18 -0800 Subject: [Numpy-svn] [numpy/numpy] 1f2771: DOC: some versionadded notes Message-ID: <530f7486de464_6aa0f9bd3477126@hookshot-fe2-cp1-prd.iad.github.net.mail> Branch: refs/heads/master Home: https://github.com/numpy/numpy Commit: 1f2771cc7170abee173849da7028ed02cb8e531f https://github.com/numpy/numpy/commit/1f2771cc7170abee173849da7028ed02cb8e531f Author: alex Date: 2014-02-27 (Thu, 27 Feb 2014) Changed paths: M numpy/lib/npyio.py M numpy/testing/utils.py Log Message: ----------- DOC: some versionadded notes Commit: a0470bc303f760ee7f14e2d73d150f94599e5692 https://github.com/numpy/numpy/commit/a0470bc303f760ee7f14e2d73d150f94599e5692 Author: alex Date: 2014-02-27 (Thu, 27 Feb 2014) Changed paths: M numpy/testing/utils.py Log Message: ----------- DOC: assert_no_warnings versionadded 1.8 -> 1.7 Commit: 8c4d9bedd9d85d86c41f956cdb5140e112c2ac08 https://github.com/numpy/numpy/commit/8c4d9bedd9d85d86c41f956cdb5140e112c2ac08 Author: Charles Harris Date: 2014-02-27 (Thu, 27 Feb 2014) Changed paths: M numpy/lib/npyio.py M numpy/testing/utils.py Log Message: ----------- Merge pull request #4383 from argriffing/more-versionadded DOC: some versionadded notes Compare: https://github.com/numpy/numpy/compare/3a2f048b8308...8c4d9bedd9d8 From noreply at github.com Thu Feb 27 15:46:31 2014 From: noreply at github.com (GitHub) Date: Thu, 27 Feb 2014 12:46:31 -0800 Subject: [Numpy-svn] [numpy/numpy] f2ac23: BUG: fix shuffling of flexible dtypes and masked a... Message-ID: <530fa427f3d3d_685e671d449348f@hookshot-fe2-cp1-prd.iad.github.net.mail> Branch: refs/heads/maintenance/1.8.x Home: https://github.com/numpy/numpy Commit: f2ac231dc042083ba1da4f5dbeb69e53cb5c10d5 https://github.com/numpy/numpy/commit/f2ac231dc042083ba1da4f5dbeb69e53cb5c10d5 Author: Julian Taylor Date: 2014-02-27 (Thu, 27 Feb 2014) Changed paths: M numpy/random/mtrand/mtrand.pyx M numpy/random/tests/test_random.py Log Message: ----------- BUG: fix shuffling of flexible dtypes and masked arrays closes gh-4270 and gh-3263 Commit: f3d6ffe1051b55843716f7f5ea1c1e32c556e52c https://github.com/numpy/numpy/commit/f3d6ffe1051b55843716f7f5ea1c1e32c556e52c Author: Julian Taylor Date: 2014-02-27 (Thu, 27 Feb 2014) Changed paths: M numpy/random/mtrand/mtrand.pyx M numpy/random/tests/test_random.py Log Message: ----------- BUG: handle non integer types for multinomial/dirichlet size Closes gh-3173 Commit: a0b907e4072244babd7a94ca2932a2524e4293d6 https://github.com/numpy/numpy/commit/a0b907e4072244babd7a94ca2932a2524e4293d6 Author: Julian Taylor Date: 2014-02-27 (Thu, 27 Feb 2014) Changed paths: M numpy/random/mtrand/mtrand.c Log Message: ----------- Regenerate cython file for latest fixes Commit: 56d17bb6ad7e6757726ce72db58d178cbd2d3498 https://github.com/numpy/numpy/commit/56d17bb6ad7e6757726ce72db58d178cbd2d3498 Author: Charles Harris Date: 2014-02-27 (Thu, 27 Feb 2014) Changed paths: M numpy/random/mtrand/mtrand.c M numpy/random/mtrand/mtrand.pyx M numpy/random/tests/test_random.py Log Message: ----------- Merge pull request #4388 from juliantaylor/mtrand-fix-1.8 mtrand fixes backport for 1.8 Compare: https://github.com/numpy/numpy/compare/23f4b1eecd7d...56d17bb6ad7e From noreply at github.com Thu Feb 27 15:55:23 2014 From: noreply at github.com (GitHub) Date: Thu, 27 Feb 2014 12:55:23 -0800 Subject: [Numpy-svn] [numpy/numpy] 14a0f9: TST: bootstrap chroot in tmpfs Message-ID: <530fa63bba3bd_7091771d3457024@hookshot-fe2-cp1-prd.iad.github.net.mail> Branch: refs/heads/maintenance/1.8.x Home: https://github.com/numpy/numpy Commit: 14a0f9feea718f4af576afdac9a116b7d69363ec https://github.com/numpy/numpy/commit/14a0f9feea718f4af576afdac9a116b7d69363ec Author: Julian Taylor Date: 2014-02-27 (Thu, 27 Feb 2014) Changed paths: M tools/travis-test.sh Log Message: ----------- TST: bootstrap chroot in tmpfs during bootstrap eatmydata is not available in the chroot so it takes a significant time. Avoid this by placing the whole chroot in a tmpfs ramdisk. Commit: 0378adbf6586a9ed39d141f633c740a4d0de3a5d https://github.com/numpy/numpy/commit/0378adbf6586a9ed39d141f633c740a4d0de3a5d Author: Julian Taylor Date: 2014-02-27 (Thu, 27 Feb 2014) Changed paths: M .travis.yml M tools/travis-test.sh Log Message: ----------- TST: switch i386 build to python3.4 defaulting ubuntu 14.04 to do that fix a missing $DIST variable usage in the test script Commit: 5980b022736e45230c5f0107f2d0370c2433a276 https://github.com/numpy/numpy/commit/5980b022736e45230c5f0107f2d0370c2433a276 Author: Charles Harris Date: 2014-02-27 (Thu, 27 Feb 2014) Changed paths: M .travis.yml M tools/travis-test.sh Log Message: ----------- Merge pull request #4389 from juliantaylor/test-backports-1.8 Test backports 1.8 Compare: https://github.com/numpy/numpy/compare/56d17bb6ad7e...5980b022736e From noreply at github.com Thu Feb 27 16:13:14 2014 From: noreply at github.com (GitHub) Date: Thu, 27 Feb 2014 13:13:14 -0800 Subject: [Numpy-svn] [numpy/numpy] 3870d1: ENH: vectorize negative with sse Message-ID: <530faa6ab7db7_638aabfd386608a@hookshot-fe2-cp1-prd.iad.github.net.mail> Branch: refs/heads/master Home: https://github.com/numpy/numpy Commit: 3870d1ae49c0c55907bda7d65b46b0ce40467ca5 https://github.com/numpy/numpy/commit/3870d1ae49c0c55907bda7d65b46b0ce40467ca5 Author: Julian Taylor Date: 2014-02-27 (Thu, 27 Feb 2014) Changed paths: M numpy/core/src/umath/loops.c.src M numpy/core/src/umath/simd.inc.src M numpy/core/tests/test_umath.py Log Message: ----------- ENH: vectorize negative with sse negative on amd64 is the same as absolute except using xor instead of andnot Commit: 0dbbbd48d79dd4b652e82e76c3b6e3815f254fc6 https://github.com/numpy/numpy/commit/0dbbbd48d79dd4b652e82e76c3b6e3815f254fc6 Author: Charles Harris Date: 2014-02-27 (Thu, 27 Feb 2014) Changed paths: M numpy/core/src/umath/loops.c.src M numpy/core/src/umath/simd.inc.src M numpy/core/tests/test_umath.py Log Message: ----------- Merge pull request #4386 from juliantaylor/sse2-negative ENH: vectorize negative with sse Compare: https://github.com/numpy/numpy/compare/8c4d9bedd9d8...0dbbbd48d79d From noreply at github.com Thu Feb 27 16:31:36 2014 From: noreply at github.com (GitHub) Date: Thu, 27 Feb 2014 13:31:36 -0800 Subject: [Numpy-svn] [numpy/numpy] df84ec: BUG: accept non arrays in cor and corrcoeff Message-ID: <530faeb859b7b_32961411d3c42971@hookshot-fe1-cp1-prd.iad.github.net.mail> Branch: refs/heads/master Home: https://github.com/numpy/numpy Commit: df84ecfea50ef33a1259c67c534a09238c0eefc8 https://github.com/numpy/numpy/commit/df84ecfea50ef33a1259c67c534a09238c0eefc8 Author: Julian Taylor Date: 2014-02-27 (Thu, 27 Feb 2014) Changed paths: M numpy/lib/function_base.py M numpy/lib/tests/test_function_base.py Log Message: ----------- BUG: accept non arrays in cor and corrcoeff closes gh-4295 Commit: f1aab14e17a7a92baad4857be6a3bb3c3106e0ec https://github.com/numpy/numpy/commit/f1aab14e17a7a92baad4857be6a3bb3c3106e0ec Author: Charles Harris Date: 2014-02-27 (Thu, 27 Feb 2014) Changed paths: M numpy/lib/function_base.py M numpy/lib/tests/test_function_base.py Log Message: ----------- Merge pull request #4391 from juliantaylor/cov-array BUG: accept non arrays in cor and corrcoeff Compare: https://github.com/numpy/numpy/compare/0dbbbd48d79d...f1aab14e17a7 From noreply at github.com Thu Feb 27 18:27:45 2014 From: noreply at github.com (GitHub) Date: Thu, 27 Feb 2014 15:27:45 -0800 Subject: [Numpy-svn] [numpy/numpy] e459a7: BUG: get_info('openblas') does not read libraries ... Message-ID: <530fc9f1ca954_64dfda7d34130025@hookshot-fe2-cp1-prd.iad.github.net.mail> Branch: refs/heads/maintenance/1.8.x Home: https://github.com/numpy/numpy Commit: e459a7938e0708a365045d4c59096ea1a55c5bc8 https://github.com/numpy/numpy/commit/e459a7938e0708a365045d4c59096ea1a55c5bc8 Author: Julian Taylor Date: 2014-02-27 (Thu, 27 Feb 2014) Changed paths: M numpy/distutils/system_info.py Log Message: ----------- BUG: get_info('openblas') does not read libraries key The documented libraries tag in the site.cfg is not read by the configuration, instead openblas_libs is used, this is inconsistent with atlas configuration. So libraries first and then try openblas_libs for backward compatibility. Also ensure check_libs returns None instead of a dict of empty lists if nothing is found. Commit: 6d554c2e26161c93d9e667d773f06e53f5d9bdbe https://github.com/numpy/numpy/commit/6d554c2e26161c93d9e667d773f06e53f5d9bdbe Author: Julian Taylor Date: 2014-02-27 (Thu, 27 Feb 2014) Changed paths: M site.cfg.example Log Message: ----------- DOC: update openblas fork warning with fixed pthread build info Commit: 2eb1659a905db7b4ec115bc10934768ca67c98c6 https://github.com/numpy/numpy/commit/2eb1659a905db7b4ec115bc10934768ca67c98c6 Author: jaimefrio Date: 2014-02-27 (Thu, 27 Feb 2014) Changed paths: M numpy/lib/arraysetops.py M numpy/lib/tests/test_arraysetops.py Log Message: ----------- BUG: Fixes #2799 Use `np.sort` instead of `sorted` when the input is a list and no indices are requested. Fixes #2799. Commit: 9cc569f257d3b091b339eaf6d161ff36d71d2ee9 https://github.com/numpy/numpy/commit/9cc569f257d3b091b339eaf6d161ff36d71d2ee9 Author: Niklas Hamb?chen Date: 2014-02-27 (Thu, 27 Feb 2014) Changed paths: M numpy/core/numeric.py Log Message: ----------- Fix seterr example for resetting to old settings Commit: ea6b0df65db7d0fd0e4cbf91a6f37948d0bb8de6 https://github.com/numpy/numpy/commit/ea6b0df65db7d0fd0e4cbf91a6f37948d0bb8de6 Author: Sankarshan Mudkavi Date: 2014-02-27 (Thu, 27 Feb 2014) Changed paths: M numpy/core/function_base.py M numpy/core/tests/test_function_base.py Log Message: ----------- BUG: Fixed issue 3504, and added tests for complex support Commit: fcb713b773aacd7b0353a9e38928021d0613a0bc https://github.com/numpy/numpy/commit/fcb713b773aacd7b0353a9e38928021d0613a0bc Author: Julian Taylor Date: 2014-02-27 (Thu, 27 Feb 2014) Changed paths: M numpy/core/src/multiarray/arraytypes.c.src Log Message: ----------- ENH: hint that nelem == 1 branch is more likely improves performance for simple takes by 10%, chunked takes spend more time copying so the less dense code matters less. Commit: ec9b7de2c2612c0f369b2bb55a77bbed96273fd0 https://github.com/numpy/numpy/commit/ec9b7de2c2612c0f369b2bb55a77bbed96273fd0 Author: alex Date: 2014-02-27 (Thu, 27 Feb 2014) Changed paths: M numpy/lib/npyio.py M numpy/testing/utils.py Log Message: ----------- DOC: some versionadded notes Commit: 74c3f40bbed71d3472ca1d9feddbb4291aa8108f https://github.com/numpy/numpy/commit/74c3f40bbed71d3472ca1d9feddbb4291aa8108f Author: alex Date: 2014-02-27 (Thu, 27 Feb 2014) Changed paths: M numpy/testing/utils.py Log Message: ----------- DOC: assert_no_warnings versionadded 1.8 -> 1.7 Commit: 551e8d7526e5943aa4d0a5882443837352ea531a https://github.com/numpy/numpy/commit/551e8d7526e5943aa4d0a5882443837352ea531a Author: Charles Harris Date: 2014-02-27 (Thu, 27 Feb 2014) Changed paths: M numpy/core/function_base.py M numpy/core/numeric.py M numpy/core/src/multiarray/arraytypes.c.src M numpy/core/tests/test_function_base.py M numpy/distutils/system_info.py M numpy/lib/arraysetops.py M numpy/lib/npyio.py M numpy/lib/tests/test_arraysetops.py M numpy/testing/utils.py M site.cfg.example Log Message: ----------- Merge pull request #4390 from juliantaylor/backport-fixes3-1.8 Backport fixes to 1.8 Compare: https://github.com/numpy/numpy/compare/5980b022736e...551e8d7526e5 From noreply at github.com Thu Feb 27 22:26:06 2014 From: noreply at github.com (GitHub) Date: Thu, 27 Feb 2014 19:26:06 -0800 Subject: [Numpy-svn] [numpy/numpy] 615d23: DOC: Fix typo in np.random.choice documentation Message-ID: <531001ce8fd85_6f4c827d3c84968@hookshot-fe2-cp1-prd.iad.github.net.mail> Branch: refs/heads/master Home: https://github.com/numpy/numpy Commit: 615d230aed9af9a5fbeb43fe9a0757831e70bf34 https://github.com/numpy/numpy/commit/615d230aed9af9a5fbeb43fe9a0757831e70bf34 Author: Allen Riddell Date: 2014-02-27 (Thu, 27 Feb 2014) Changed paths: M numpy/random/mtrand/mtrand.pyx Log Message: ----------- DOC: Fix typo in np.random.choice documentation np.random.permutation returns an array, which can be sliced. Commit: 447c72413da15428bef59a78d2ec3aee663fe4c0 https://github.com/numpy/numpy/commit/447c72413da15428bef59a78d2ec3aee663fe4c0 Author: Charles Harris Date: 2014-02-27 (Thu, 27 Feb 2014) Changed paths: M numpy/random/mtrand/mtrand.pyx Log Message: ----------- Merge pull request #4394 from ariddell/patch-1 DOC: Fix typo in np.random.choice documentation Compare: https://github.com/numpy/numpy/compare/f1aab14e17a7...447c72413da1 From noreply at github.com Fri Feb 28 08:25:49 2014 From: noreply at github.com (GitHub) Date: Fri, 28 Feb 2014 05:25:49 -0800 Subject: [Numpy-svn] [numpy/numpy] b3f497: MAINT: add python3.4 to paver file Message-ID: <53108e5deb6f1_7cbcaa7d3c259e8@hookshot-fe2-cp1-prd.iad.github.net.mail> Branch: refs/heads/master Home: https://github.com/numpy/numpy Commit: b3f497571ebb7eb54065c5e801672f667bc185cd https://github.com/numpy/numpy/commit/b3f497571ebb7eb54065c5e801672f667bc185cd Author: Julian Taylor Date: 2014-02-28 (Fri, 28 Feb 2014) Changed paths: M pavement.py Log Message: ----------- MAINT: add python3.4 to paver file Commit: a22130fad3f2a2c20ca535ebdcc84d27237e4438 https://github.com/numpy/numpy/commit/a22130fad3f2a2c20ca535ebdcc84d27237e4438 Author: Julian Taylor Date: 2014-02-28 (Fri, 28 Feb 2014) Changed paths: M pavement.py Log Message: ----------- Merge pull request #4396 from juliantaylor/paver-3.4 MAINT: add python3.4 to paver file Compare: https://github.com/numpy/numpy/compare/447c72413da1...a22130fad3f2