From noreply at github.com Tue May 1 14:07:26 2012 From: noreply at github.com (GitHub) Date: Tue, 01 May 2012 11:07:26 -0700 Subject: [Numpy-svn] [numpy/numpy] bb50db: DOC: Add a section documenting 1.6/1.7 datetime64 ... Message-ID: <4fa0265eb6a84_33fd136cae4769e0@sh2.rs.github.com.mail> Branch: refs/heads/master Home: https://github.com/numpy/numpy Commit: bb50db652f93f24bd2b487d001130dbb8a56daea https://github.com/numpy/numpy/commit/bb50db652f93f24bd2b487d001130dbb8a56daea Author: Mark Wiebe Date: 2012-05-01 (Tue, 01 May 2012) Changed paths: M doc/source/reference/arrays.datetime.rst Log Message: ----------- DOC: Add a section documenting 1.6/1.7 datetime64 differences Commit: 0b99c90e3f6004789fa5115e14234a8d6f4a07bd https://github.com/numpy/numpy/commit/0b99c90e3f6004789fa5115e14234a8d6f4a07bd Author: Charles Harris Date: 2012-05-01 (Tue, 01 May 2012) Changed paths: M doc/release/2.0.0-notes.rst Log Message: ----------- DOC: Add datetime to the changed items in the release notes. Compare: https://github.com/numpy/numpy/compare/3cb783e...0b99c90 From noreply at github.com Tue May 1 18:10:41 2012 From: noreply at github.com (GitHub) Date: Tue, 01 May 2012 15:10:41 -0700 Subject: [Numpy-svn] [numpy/numpy] 74b9f5: BUG: ticket #2063, make unique return consistent i... Message-ID: <4fa05f619d607_ce110acae810981f@sh2.rs.github.com.mail> Branch: refs/heads/backport-core Home: https://github.com/numpy/numpy Commit: 74b9f5eef8fac643bf9012dbb2ac6b4b19f46892 https://github.com/numpy/numpy/commit/74b9f5eef8fac643bf9012dbb2ac6b4b19f46892 Author: Bryan Van de Ven Date: 2012-04-26 (Thu, 26 Apr 2012) Changed paths: M numpy/core/tests/test_regression.py M numpy/lib/arraysetops.py Log Message: ----------- BUG: ticket #2063, make unique return consistent index. Make unique use mergesort when return_index is true. This quarantees that the returned indices are of the first occurrence of the unique elements and makes the behavior better defined and consistent. Commit: ff72395969c2c2a6abe39de8d78bfd03c4b0705d https://github.com/numpy/numpy/commit/ff72395969c2c2a6abe39de8d78bfd03c4b0705d Author: Ben Root Date: 2012-04-26 (Thu, 26 Apr 2012) Changed paths: M numpy/core/include/numpy/ndarraytypes.h M numpy/core/src/multiarray/arraytypes.c.src M numpy/core/src/multiarray/calculation.c M numpy/core/src/multiarray/usertypes.c M numpy/core/tests/test_multiarray.py Log Message: ----------- BUG: ticket #1149, make argmin work for datetime. Backport of 6fc0737 'ENH: Explicitly coded argmin for timedelta' Commit: 5dff2f91124a635292f315c4db40fc6365b4a6ba https://github.com/numpy/numpy/commit/5dff2f91124a635292f315c4db40fc6365b4a6ba Author: Charles Harris Date: 2012-04-26 (Thu, 26 Apr 2012) Changed paths: M numpy/core/src/umath/funcs.inc.src M numpy/core/tests/test_multiarray.py M numpy/core/tests/test_umath.py Log Message: ----------- BUG: Fix maximum/minimum for object arrays in Python 3. Use PyObject_RichCompareBool instead of PyObject_Cmp. Commit: 961a1dd3e4ae800cb54aada46df0deb797083c09 https://github.com/numpy/numpy/commit/961a1dd3e4ae800cb54aada46df0deb797083c09 Author: Hrvoje Niksic Date: 2012-04-26 (Thu, 26 Apr 2012) Changed paths: M numpy/core/src/multiarray/ctors.c M numpy/core/tests/test_multiarray.py Log Message: ----------- BUG: ticket #1138 This is a backport of 4daf949 PyArray_FromBuffer: Allow creating arrays from empty buffers or empty slices. That finally closed the ticket. Commit: febfb6ea928b9d95b251cf0720ac77a45263b65b https://github.com/numpy/numpy/commit/febfb6ea928b9d95b251cf0720ac77a45263b65b Author: Ralf Gommers Date: 2012-04-26 (Thu, 26 Apr 2012) Changed paths: M numpy/core/shape_base.py Log Message: ----------- DOC: ticket #1446, correct note about correspondence vstack and concatenate. Commit: a292a7223072e07757542c0dfea32e866f3b5332 https://github.com/numpy/numpy/commit/a292a7223072e07757542c0dfea32e866f3b5332 Author: Ralf Gommers Date: 2012-04-26 (Thu, 26 Apr 2012) Changed paths: M numpy/core/tests/test_numeric.py Log Message: ----------- BUG: Ticket #1672 fix allclose to work for scalar inf. Backport of 7497d60. Also actually runs tests. Tests were not run before because the allclose test class was a subclass of TestCase and used generators. This is not supported by nose, tests will be skipped. Also changes plain asserts to assert_(). Thanks to Justin Peel for the allclose inf fix. Commit: 5fe46bd36296a7d214cf8e7b6cceac3f5c43cc68 https://github.com/numpy/numpy/commit/5fe46bd36296a7d214cf8e7b6cceac3f5c43cc68 Author: Mark Wiebe Date: 2012-04-26 (Thu, 26 Apr 2012) Changed paths: M numpy/core/src/multiarray/scalartypes.c.src M numpy/core/tests/test_print.py Log Message: ----------- ENH: ticket #1675, Add scalar support for the format() function. Backport of 88e8c15. Commit: 5f940ca3d65ec6e568dc97380a2bc3957a1add8e https://github.com/numpy/numpy/commit/5f940ca3d65ec6e568dc97380a2bc3957a1add8e Author: Ralf Gommers Date: 2012-04-26 (Thu, 26 Apr 2012) Changed paths: M numpy/lib/function_base.py M numpy/lib/tests/test_function_base.py Log Message: ----------- BUG: ticket #1747, make np.median() work for 0-D arrays. Commit: 88e7e52de62e54f899348784c607b6173c172efd https://github.com/numpy/numpy/commit/88e7e52de62e54f899348784c607b6173c172efd Author: Pauli Virtanen Date: 2012-04-26 (Thu, 26 Apr 2012) Changed paths: M numpy/core/src/scalarmathmodule.c.src M numpy/core/src/umath/loops.c.src M numpy/core/tests/test_scalarmath.py M numpy/core/tests/test_umath.py Log Message: ----------- BUG: ticket #1776, make complex division by zero to yield inf properly. Commit: b397dde2e8a009fec5e8ec8951e564a20cb70094 https://github.com/numpy/numpy/commit/b397dde2e8a009fec5e8ec8951e564a20cb70094 Author: Ralf Gommers Date: 2012-04-26 (Thu, 26 Apr 2012) Changed paths: M numpy/core/numeric.py Log Message: ----------- BUG: ticket #1905, explicitly check for NaNs in allclose(). Also clean up the logic behind handling infs. Squashed backport of 3503c5f..aea76b8. Commit: 4468440463291f1fd6a4938389380df9316a0185 https://github.com/numpy/numpy/commit/4468440463291f1fd6a4938389380df9316a0185 Author: Ralf Gommers Date: 2012-04-26 (Thu, 26 Apr 2012) Changed paths: M numpy/core/defchararray.py M numpy/core/tests/test_defchararray.py Log Message: ----------- BUG: ticket #1948, fix regression for indexing chararrays with empty list. Commit: 4762f4a349e8d5d7d2d728710f9e11fccac6a50b https://github.com/numpy/numpy/commit/4762f4a349e8d5d7d2d728710f9e11fccac6a50b Author: Charles Harris Date: 2012-04-26 (Thu, 26 Apr 2012) Changed paths: M numpy/core/src/multiarray/number.c Log Message: ----------- BUG: array_divmod did not check for Py_NotImplemented. The consequence of this bug was the __rdivmod__ wasn't called for user classes that defined __array_priority__. Commit: 89d6d411d1bcd22524d55a042c6cc2a64c36f680 https://github.com/numpy/numpy/commit/89d6d411d1bcd22524d55a042c6cc2a64c36f680 Author: David Cournapeau Date: 2012-04-29 (Sun, 29 Apr 2012) Changed paths: M numpy/core/src/multiarray/descriptor.c M numpy/core/src/multiarray/hashdescr.c M numpy/core/tests/test_dtype.py Log Message: ----------- BUG: ticket #2017, fix type hash. This is a squashed backport of 4 commits. STY: cleanup hashdesc.c to follow our C conventions. BUG: fix inconsistencies in dtype flag type at the C level. Conflicts: numpy/core/src/multiarray/descriptor.c numpy/core/src/multiarray/hashdescr.c BUG: fix #2017 by ignoring type_num in the hash input. Since type_num is not considered in PyArray_EquivTypes (for dtype equality comparison), seems reasonable to ignore it for hashing as well. Conflicts: numpy/core/tests/test_dtype.py BUG: fix flags type when exposed to python. Commit: ec753165aadde35abc15d7a3d4641d566cad44b4 https://github.com/numpy/numpy/commit/ec753165aadde35abc15d7a3d4641d566cad44b4 Author: Charles Harris Date: 2012-04-29 (Sun, 29 Apr 2012) Changed paths: M numpy/core/src/multiarray/calculation.c M numpy/core/src/multiarray/calculation.h M numpy/core/src/multiarray/methods.c Log Message: ----------- BUG: ticket #1952, allow floating ddof in std and var. Also return nan for resulting non-positive degrees of freedom. Commit: 666c02d8628eb354e5efb3321f0b568b1fa81feb https://github.com/numpy/numpy/commit/666c02d8628eb354e5efb3321f0b568b1fa81feb Author: Charles Harris Date: 2012-04-29 (Sun, 29 Apr 2012) Changed paths: M numpy/core/src/multiarray/number.c M numpy/core/tests/test_umath.py Log Message: ----------- BUG: ticket #2033, a**2.0 has incorrect type. Backport of PR #207. Commit: 9a34be0d317d96687742a43d0a41b84d2c1bf8d4 https://github.com/numpy/numpy/commit/9a34be0d317d96687742a43d0a41b84d2c1bf8d4 Author: Charles Harris Date: 2012-04-29 (Sun, 29 Apr 2012) Changed paths: M numpy/core/src/multiarray/getset.c M numpy/core/tests/test_multiarray.py Log Message: ----------- BUG: ticket #2046, deleting array attributes causes segfault. Add check for NULL in setter functions and return Attribute error if found. Commit: 7fcf24ce7b5a63c736a421fc00627d8e405e0eee https://github.com/numpy/numpy/commit/7fcf24ce7b5a63c736a421fc00627d8e405e0eee Author: Charles Harris Date: 2012-04-29 (Sun, 29 Apr 2012) Changed paths: M numpy/core/src/multiarray/descriptor.c M numpy/core/src/multiarray/flagsobject.c M numpy/core/src/multiarray/getset.c M numpy/core/src/multiarray/iterators.c M numpy/core/src/multiarray/nditer_pywrap.c Log Message: ----------- BUG: ticket #2045, make attribute/iterator_element deletions not segfault. Attempted attribute deletion raises an Attribute error. Deleting an iterator index or slice raises a TypeError. This is a change for nditer, which used to raise ValueError when deletes were attempted. Commit: fc2d6c8d929d4dd9ef7e0b39a61e234027608fba https://github.com/numpy/numpy/commit/fc2d6c8d929d4dd9ef7e0b39a61e234027608fba Author: Charles Harris Date: 2012-04-29 (Sun, 29 Apr 2012) Changed paths: M numpy/core/tests/test_scalarmath.py M numpy/core/tests/test_umath.py Log Message: ----------- TST: Silence some test warnings. Commit: 6be9dcf443551b8f28ea08a1981f9cb2806f4962 https://github.com/numpy/numpy/commit/6be9dcf443551b8f28ea08a1981f9cb2806f4962 Author: Charles Harris Date: 2012-04-29 (Sun, 29 Apr 2012) Changed paths: M numpy/core/tests/test_multiarray.py M numpy/core/tests/test_numeric.py Log Message: ----------- PY3: Fix for python3.2. Commit: 75086316357286753f9b3dcafd34d2f5fa9b83cd https://github.com/numpy/numpy/commit/75086316357286753f9b3dcafd34d2f5fa9b83cd Author: Charles Harris Date: 2012-04-29 (Sun, 29 Apr 2012) Changed paths: M numpy/core/src/multiarray/convert_datatype.c M numpy/core/src/multiarray/ctors.c M numpy/core/src/multiarray/item_selection.c M numpy/core/tests/test_regression.py Log Message: ----------- BUG: ticket #2021. Fix segfault. The return from PyArray_DescrFromObject PyArray_SearchSorted needed to be checked for NULL. Also added checks in other spots where PyArray_DescrFromObject was called. Added regression test for same. Made a few small code cleanups along the way. All the checks may not be necessary, but 1) No one should have to waste brain cycles figuring that out. 2) Bugs happen. 3) Things change. Commit: 25b021de0247df018566112eec563a73ad7f63f1 https://github.com/numpy/numpy/commit/25b021de0247df018566112eec563a73ad7f63f1 Author: Nicolas Pinto Date: 2012-04-29 (Sun, 29 Apr 2012) Changed paths: M numpy/core/src/multiarray/common.c M numpy/core/tests/test_half.py Log Message: ----------- BUG: ticket #2073, fix float16 __array_interface__ bug. Squashed backport also containing two following commits. TST: Test float16 __array_interface__. STY: Cleanup test_half.py a bit. Commit: 34f27c1e74871419f307591fe89726fa9588174f https://github.com/numpy/numpy/commit/34f27c1e74871419f307591fe89726fa9588174f Author: David Warde-Farley Date: 2012-05-01 (Tue, 01 May 2012) Changed paths: M numpy/core/src/multiarray/mapping.c Log Message: ----------- BUG: PR #188, PyArray_{Get,Set}Map using low-precision counter Should be using npy_intp rather than int. Compare: https://github.com/numpy/numpy/compare/74b9f5e^...34f27c1 From noreply at github.com Tue May 1 18:12:10 2012 From: noreply at github.com (GitHub) Date: Tue, 01 May 2012 15:12:10 -0700 Subject: [Numpy-svn] [numpy/numpy] Message-ID: <4fa05fba2a6c8_1b9e134fae81155bb@sh3.rs.github.com.mail> Branch: refs/heads/backport-core Home: https://github.com/numpy/numpy From noreply at github.com Thu May 3 00:40:44 2012 From: noreply at github.com (GitHub) Date: Wed, 02 May 2012 21:40:44 -0700 Subject: [Numpy-svn] [numpy/numpy] 259fff: BUG: Fix some test bugs. Message-ID: <4fa20c4ccd660_3d15eafaec39634@sh2.rs.github.com.mail> Branch: refs/heads/master Home: https://github.com/numpy/numpy Commit: 259fff8f08dabd8198d2ec0f5abe99a05a5477d5 https://github.com/numpy/numpy/commit/259fff8f08dabd8198d2ec0f5abe99a05a5477d5 Author: Charles Harris Date: 2012-05-02 (Wed, 02 May 2012) Changed paths: M numpy/core/tests/test_print.py M numpy/lib/tests/test_io.py Log Message: ----------- BUG: Fix some test bugs. Fix incorrect python version checks in test_print.py. Fix missing build_err_msg import and wrong variable in test_io.py. From noreply at github.com Fri May 4 15:37:08 2012 From: noreply at github.com (GitHub) Date: Fri, 04 May 2012 12:37:08 -0700 Subject: [Numpy-svn] [numpy/numpy] 74b9f5: BUG: ticket #2063, make unique return consistent i... Message-ID: <4fa42fe445cc2_303b1a26aec2677fd@sh2.rs.github.com.mail> Branch: refs/heads/maintenance/1.6.x Home: https://github.com/numpy/numpy Commit: 74b9f5eef8fac643bf9012dbb2ac6b4b19f46892 https://github.com/numpy/numpy/commit/74b9f5eef8fac643bf9012dbb2ac6b4b19f46892 Author: Bryan Van de Ven Date: 2012-04-26 (Thu, 26 Apr 2012) Changed paths: M numpy/core/tests/test_regression.py M numpy/lib/arraysetops.py Log Message: ----------- BUG: ticket #2063, make unique return consistent index. Make unique use mergesort when return_index is true. This quarantees that the returned indices are of the first occurrence of the unique elements and makes the behavior better defined and consistent. Commit: ff72395969c2c2a6abe39de8d78bfd03c4b0705d https://github.com/numpy/numpy/commit/ff72395969c2c2a6abe39de8d78bfd03c4b0705d Author: Ben Root Date: 2012-04-26 (Thu, 26 Apr 2012) Changed paths: M numpy/core/include/numpy/ndarraytypes.h M numpy/core/src/multiarray/arraytypes.c.src M numpy/core/src/multiarray/calculation.c M numpy/core/src/multiarray/usertypes.c M numpy/core/tests/test_multiarray.py Log Message: ----------- BUG: ticket #1149, make argmin work for datetime. Backport of 6fc0737 'ENH: Explicitly coded argmin for timedelta' Commit: 5dff2f91124a635292f315c4db40fc6365b4a6ba https://github.com/numpy/numpy/commit/5dff2f91124a635292f315c4db40fc6365b4a6ba Author: Charles Harris Date: 2012-04-26 (Thu, 26 Apr 2012) Changed paths: M numpy/core/src/umath/funcs.inc.src M numpy/core/tests/test_multiarray.py M numpy/core/tests/test_umath.py Log Message: ----------- BUG: Fix maximum/minimum for object arrays in Python 3. Use PyObject_RichCompareBool instead of PyObject_Cmp. Commit: 961a1dd3e4ae800cb54aada46df0deb797083c09 https://github.com/numpy/numpy/commit/961a1dd3e4ae800cb54aada46df0deb797083c09 Author: Hrvoje Niksic Date: 2012-04-26 (Thu, 26 Apr 2012) Changed paths: M numpy/core/src/multiarray/ctors.c M numpy/core/tests/test_multiarray.py Log Message: ----------- BUG: ticket #1138 This is a backport of 4daf949 PyArray_FromBuffer: Allow creating arrays from empty buffers or empty slices. That finally closed the ticket. Commit: febfb6ea928b9d95b251cf0720ac77a45263b65b https://github.com/numpy/numpy/commit/febfb6ea928b9d95b251cf0720ac77a45263b65b Author: Ralf Gommers Date: 2012-04-26 (Thu, 26 Apr 2012) Changed paths: M numpy/core/shape_base.py Log Message: ----------- DOC: ticket #1446, correct note about correspondence vstack and concatenate. Commit: a292a7223072e07757542c0dfea32e866f3b5332 https://github.com/numpy/numpy/commit/a292a7223072e07757542c0dfea32e866f3b5332 Author: Ralf Gommers Date: 2012-04-26 (Thu, 26 Apr 2012) Changed paths: M numpy/core/tests/test_numeric.py Log Message: ----------- BUG: Ticket #1672 fix allclose to work for scalar inf. Backport of 7497d60. Also actually runs tests. Tests were not run before because the allclose test class was a subclass of TestCase and used generators. This is not supported by nose, tests will be skipped. Also changes plain asserts to assert_(). Thanks to Justin Peel for the allclose inf fix. Commit: 5fe46bd36296a7d214cf8e7b6cceac3f5c43cc68 https://github.com/numpy/numpy/commit/5fe46bd36296a7d214cf8e7b6cceac3f5c43cc68 Author: Mark Wiebe Date: 2012-04-26 (Thu, 26 Apr 2012) Changed paths: M numpy/core/src/multiarray/scalartypes.c.src M numpy/core/tests/test_print.py Log Message: ----------- ENH: ticket #1675, Add scalar support for the format() function. Backport of 88e8c15. Commit: 5f940ca3d65ec6e568dc97380a2bc3957a1add8e https://github.com/numpy/numpy/commit/5f940ca3d65ec6e568dc97380a2bc3957a1add8e Author: Ralf Gommers Date: 2012-04-26 (Thu, 26 Apr 2012) Changed paths: M numpy/lib/function_base.py M numpy/lib/tests/test_function_base.py Log Message: ----------- BUG: ticket #1747, make np.median() work for 0-D arrays. Commit: 88e7e52de62e54f899348784c607b6173c172efd https://github.com/numpy/numpy/commit/88e7e52de62e54f899348784c607b6173c172efd Author: Pauli Virtanen Date: 2012-04-26 (Thu, 26 Apr 2012) Changed paths: M numpy/core/src/scalarmathmodule.c.src M numpy/core/src/umath/loops.c.src M numpy/core/tests/test_scalarmath.py M numpy/core/tests/test_umath.py Log Message: ----------- BUG: ticket #1776, make complex division by zero to yield inf properly. Commit: b397dde2e8a009fec5e8ec8951e564a20cb70094 https://github.com/numpy/numpy/commit/b397dde2e8a009fec5e8ec8951e564a20cb70094 Author: Ralf Gommers Date: 2012-04-26 (Thu, 26 Apr 2012) Changed paths: M numpy/core/numeric.py Log Message: ----------- BUG: ticket #1905, explicitly check for NaNs in allclose(). Also clean up the logic behind handling infs. Squashed backport of 3503c5f..aea76b8. Commit: 4468440463291f1fd6a4938389380df9316a0185 https://github.com/numpy/numpy/commit/4468440463291f1fd6a4938389380df9316a0185 Author: Ralf Gommers Date: 2012-04-26 (Thu, 26 Apr 2012) Changed paths: M numpy/core/defchararray.py M numpy/core/tests/test_defchararray.py Log Message: ----------- BUG: ticket #1948, fix regression for indexing chararrays with empty list. Commit: 4762f4a349e8d5d7d2d728710f9e11fccac6a50b https://github.com/numpy/numpy/commit/4762f4a349e8d5d7d2d728710f9e11fccac6a50b Author: Charles Harris Date: 2012-04-26 (Thu, 26 Apr 2012) Changed paths: M numpy/core/src/multiarray/number.c Log Message: ----------- BUG: array_divmod did not check for Py_NotImplemented. The consequence of this bug was the __rdivmod__ wasn't called for user classes that defined __array_priority__. Commit: 89d6d411d1bcd22524d55a042c6cc2a64c36f680 https://github.com/numpy/numpy/commit/89d6d411d1bcd22524d55a042c6cc2a64c36f680 Author: David Cournapeau Date: 2012-04-29 (Sun, 29 Apr 2012) Changed paths: M numpy/core/src/multiarray/descriptor.c M numpy/core/src/multiarray/hashdescr.c M numpy/core/tests/test_dtype.py Log Message: ----------- BUG: ticket #2017, fix type hash. This is a squashed backport of 4 commits. STY: cleanup hashdesc.c to follow our C conventions. BUG: fix inconsistencies in dtype flag type at the C level. Conflicts: numpy/core/src/multiarray/descriptor.c numpy/core/src/multiarray/hashdescr.c BUG: fix #2017 by ignoring type_num in the hash input. Since type_num is not considered in PyArray_EquivTypes (for dtype equality comparison), seems reasonable to ignore it for hashing as well. Conflicts: numpy/core/tests/test_dtype.py BUG: fix flags type when exposed to python. Commit: ec753165aadde35abc15d7a3d4641d566cad44b4 https://github.com/numpy/numpy/commit/ec753165aadde35abc15d7a3d4641d566cad44b4 Author: Charles Harris Date: 2012-04-29 (Sun, 29 Apr 2012) Changed paths: M numpy/core/src/multiarray/calculation.c M numpy/core/src/multiarray/calculation.h M numpy/core/src/multiarray/methods.c Log Message: ----------- BUG: ticket #1952, allow floating ddof in std and var. Also return nan for resulting non-positive degrees of freedom. Commit: 666c02d8628eb354e5efb3321f0b568b1fa81feb https://github.com/numpy/numpy/commit/666c02d8628eb354e5efb3321f0b568b1fa81feb Author: Charles Harris Date: 2012-04-29 (Sun, 29 Apr 2012) Changed paths: M numpy/core/src/multiarray/number.c M numpy/core/tests/test_umath.py Log Message: ----------- BUG: ticket #2033, a**2.0 has incorrect type. Backport of PR #207. Commit: 9a34be0d317d96687742a43d0a41b84d2c1bf8d4 https://github.com/numpy/numpy/commit/9a34be0d317d96687742a43d0a41b84d2c1bf8d4 Author: Charles Harris Date: 2012-04-29 (Sun, 29 Apr 2012) Changed paths: M numpy/core/src/multiarray/getset.c M numpy/core/tests/test_multiarray.py Log Message: ----------- BUG: ticket #2046, deleting array attributes causes segfault. Add check for NULL in setter functions and return Attribute error if found. Commit: 7fcf24ce7b5a63c736a421fc00627d8e405e0eee https://github.com/numpy/numpy/commit/7fcf24ce7b5a63c736a421fc00627d8e405e0eee Author: Charles Harris Date: 2012-04-29 (Sun, 29 Apr 2012) Changed paths: M numpy/core/src/multiarray/descriptor.c M numpy/core/src/multiarray/flagsobject.c M numpy/core/src/multiarray/getset.c M numpy/core/src/multiarray/iterators.c M numpy/core/src/multiarray/nditer_pywrap.c Log Message: ----------- BUG: ticket #2045, make attribute/iterator_element deletions not segfault. Attempted attribute deletion raises an Attribute error. Deleting an iterator index or slice raises a TypeError. This is a change for nditer, which used to raise ValueError when deletes were attempted. Commit: fc2d6c8d929d4dd9ef7e0b39a61e234027608fba https://github.com/numpy/numpy/commit/fc2d6c8d929d4dd9ef7e0b39a61e234027608fba Author: Charles Harris Date: 2012-04-29 (Sun, 29 Apr 2012) Changed paths: M numpy/core/tests/test_scalarmath.py M numpy/core/tests/test_umath.py Log Message: ----------- TST: Silence some test warnings. Commit: 6be9dcf443551b8f28ea08a1981f9cb2806f4962 https://github.com/numpy/numpy/commit/6be9dcf443551b8f28ea08a1981f9cb2806f4962 Author: Charles Harris Date: 2012-04-29 (Sun, 29 Apr 2012) Changed paths: M numpy/core/tests/test_multiarray.py M numpy/core/tests/test_numeric.py Log Message: ----------- PY3: Fix for python3.2. Commit: 75086316357286753f9b3dcafd34d2f5fa9b83cd https://github.com/numpy/numpy/commit/75086316357286753f9b3dcafd34d2f5fa9b83cd Author: Charles Harris Date: 2012-04-29 (Sun, 29 Apr 2012) Changed paths: M numpy/core/src/multiarray/convert_datatype.c M numpy/core/src/multiarray/ctors.c M numpy/core/src/multiarray/item_selection.c M numpy/core/tests/test_regression.py Log Message: ----------- BUG: ticket #2021. Fix segfault. The return from PyArray_DescrFromObject PyArray_SearchSorted needed to be checked for NULL. Also added checks in other spots where PyArray_DescrFromObject was called. Added regression test for same. Made a few small code cleanups along the way. All the checks may not be necessary, but 1) No one should have to waste brain cycles figuring that out. 2) Bugs happen. 3) Things change. Commit: 25b021de0247df018566112eec563a73ad7f63f1 https://github.com/numpy/numpy/commit/25b021de0247df018566112eec563a73ad7f63f1 Author: Nicolas Pinto Date: 2012-04-29 (Sun, 29 Apr 2012) Changed paths: M numpy/core/src/multiarray/common.c M numpy/core/tests/test_half.py Log Message: ----------- BUG: ticket #2073, fix float16 __array_interface__ bug. Squashed backport also containing two following commits. TST: Test float16 __array_interface__. STY: Cleanup test_half.py a bit. Commit: 34f27c1e74871419f307591fe89726fa9588174f https://github.com/numpy/numpy/commit/34f27c1e74871419f307591fe89726fa9588174f Author: David Warde-Farley Date: 2012-05-01 (Tue, 01 May 2012) Changed paths: M numpy/core/src/multiarray/mapping.c Log Message: ----------- BUG: PR #188, PyArray_{Get,Set}Map using low-precision counter Should be using npy_intp rather than int. Commit: 0e16a292f33b36e3df16e4ec2616420a7cb6fcd6 https://github.com/numpy/numpy/commit/0e16a292f33b36e3df16e4ec2616420a7cb6fcd6 Author: Thouis (Ray) Jones Date: 2012-05-02 (Wed, 02 May 2012) Changed paths: M numpy/core/src/multiarray/arraytypes.c.src M numpy/core/tests/test_multiarray.py Log Message: ----------- Fix unicode string length computation in UNICODE_compare and add test. Commit: eff738e4440aa6d8c293df70223fefb7a85826fe https://github.com/numpy/numpy/commit/eff738e4440aa6d8c293df70223fefb7a85826fe Author: Charles Harris Date: 2012-05-02 (Wed, 02 May 2012) Changed paths: M numpy/core/tests/test_print.py Log Message: ----------- TST: Remove tests of complex __format__. Commit: 1a9e14f7ba0692bd791fc640850e0342748d2aef https://github.com/numpy/numpy/commit/1a9e14f7ba0692bd791fc640850e0342748d2aef Author: Ralf Gommers Date: 2012-05-04 (Fri, 04 May 2012) Changed paths: M numpy/core/defchararray.py M numpy/core/include/numpy/ndarraytypes.h M numpy/core/numeric.py M numpy/core/shape_base.py M numpy/core/src/multiarray/arraytypes.c.src M numpy/core/src/multiarray/calculation.c M numpy/core/src/multiarray/calculation.h M numpy/core/src/multiarray/common.c M numpy/core/src/multiarray/convert_datatype.c M numpy/core/src/multiarray/ctors.c M numpy/core/src/multiarray/descriptor.c M numpy/core/src/multiarray/flagsobject.c M numpy/core/src/multiarray/getset.c M numpy/core/src/multiarray/hashdescr.c M numpy/core/src/multiarray/item_selection.c M numpy/core/src/multiarray/iterators.c M numpy/core/src/multiarray/mapping.c M numpy/core/src/multiarray/methods.c M numpy/core/src/multiarray/nditer_pywrap.c M numpy/core/src/multiarray/number.c M numpy/core/src/multiarray/scalartypes.c.src M numpy/core/src/multiarray/usertypes.c M numpy/core/src/scalarmathmodule.c.src M numpy/core/src/umath/funcs.inc.src M numpy/core/src/umath/loops.c.src M numpy/core/tests/test_defchararray.py M numpy/core/tests/test_dtype.py M numpy/core/tests/test_half.py M numpy/core/tests/test_multiarray.py M numpy/core/tests/test_numeric.py M numpy/core/tests/test_print.py M numpy/core/tests/test_regression.py M numpy/core/tests/test_scalarmath.py M numpy/core/tests/test_umath.py M numpy/lib/arraysetops.py M numpy/lib/function_base.py M numpy/lib/tests/test_function_base.py Log Message: ----------- Merge pull request #260 from charris/backport-core Backport numpy.core bug fixes. All tested on MSVC, OS X and with a full release build on Windows. Compare: https://github.com/numpy/numpy/compare/addaf3e...1a9e14f From noreply at github.com Fri May 4 15:40:14 2012 From: noreply at github.com (GitHub) Date: Fri, 04 May 2012 12:40:14 -0700 Subject: [Numpy-svn] [numpy/numpy] cb1d76: ENH: ticket #2048, lib: break reference cycle in N... Message-ID: <4fa4309e7d6d6_9ba1866af42786fb@sh2.rs.github.com.mail> Branch: refs/heads/maintenance/1.6.x Home: https://github.com/numpy/numpy Commit: cb1d76ff08caf4b4f57f8f1bd854e0773f1761f9 https://github.com/numpy/numpy/commit/cb1d76ff08caf4b4f57f8f1bd854e0773f1761f9 Author: Pauli Virtanen Date: 2012-04-29 (Sun, 29 Apr 2012) Changed paths: M numpy/lib/npyio.py M numpy/lib/tests/test_io.py Log Message: ----------- ENH: ticket #2048, lib: break reference cycle in NpzFile (#2048) This allows these objects to be freed by refcount, rather than requiring the gc, which can be useful in some situations. Commit: 58eb8808fbc17a4fca9201ab3de81f79fbe84319 https://github.com/numpy/numpy/commit/58eb8808fbc17a4fca9201ab3de81f79fbe84319 Author: Paul Anton Letnes Date: 2012-04-29 (Sun, 29 Apr 2012) Changed paths: M numpy/lib/npyio.py M numpy/lib/tests/test_io.py Log Message: ----------- BUG: ticket #1573, savetxt now handles complex arrays. Commit: b33e8b9724af621b7f7308650a29a00c1be79579 https://github.com/numpy/numpy/commit/b33e8b9724af621b7f7308650a29a00c1be79579 Author: Skipper Seabold Date: 2012-04-29 (Sun, 29 Apr 2012) Changed paths: M numpy/lib/src/_compiled_base.c M numpy/lib/tests/test_function_base.py M numpy/lib/tests/test_regression.py Log Message: ----------- BUG: ticket #1387, allow bincount to accept empty arrays. Commit: 6bb57ccac190182694c64987d80b7ca53d8f5c4d https://github.com/numpy/numpy/commit/6bb57ccac190182694c64987d80b7ca53d8f5c4d Author: David Huard Date: 2012-04-29 (Sun, 29 Apr 2012) Changed paths: M numpy/lib/function_base.py M numpy/lib/tests/test_function_base.py M numpy/lib/tests/test_twodim_base.py Log Message: ----------- BUG: ticket #1899, fixed histogramdd bug with empty inputs. Commit: 9a495e79f78c7c944aeb38ec629b8118819a648e https://github.com/numpy/numpy/commit/9a495e79f78c7c944aeb38ec629b8118819a648e Author: Fabian Pedregosa Date: 2012-04-29 (Sun, 29 Apr 2012) Changed paths: M numpy/lib/tests/test_twodim_base.py M numpy/lib/twodim_base.py Log Message: ----------- BUG: ticket #1848, make tril/triu return the same dtype as the original array. This should fix: * http://projects.scipy.org/numpy/ticket/1848 * http://projects.scipy.org/scipy/ticket/1449 Commit: 2f337237dc8eda1fb17b2a0f1cabb74f11208a3e https://github.com/numpy/numpy/commit/2f337237dc8eda1fb17b2a0f1cabb74f11208a3e Author: Ralf Gommers Date: 2012-04-29 (Sun, 29 Apr 2012) Changed paths: M numpy/lib/npyio.py M numpy/lib/tests/test_io.py Log Message: ----------- BUG: ticket #1793, fix failing npyio test under py3k. Thanks to Derek Homeier. Commit: d3bc41620e3c7be12feb3c9388f5a5595c838102 https://github.com/numpy/numpy/commit/d3bc41620e3c7be12feb3c9388f5a5595c838102 Author: Pauli Virtanen Date: 2012-04-29 (Sun, 29 Apr 2012) Changed paths: M numpy/lib/src/_compiled_base.c Log Message: ----------- BUG: ticket #1918, use Py_TYPE to access ob_type, so it works also on Py3 Commit: 03c65cf6142ff35b637e34c8143abe7477d17ac8 https://github.com/numpy/numpy/commit/03c65cf6142ff35b637e34c8143abe7477d17ac8 Author: Mark Wiebe Date: 2012-04-29 (Sun, 29 Apr 2012) Changed paths: M numpy/lib/npyio.py M numpy/lib/tests/test_regression.py Log Message: ----------- BUG: ticket #1936, loadtxt: fix extra nesting for subarray dtypes. Commit: 3b0aeb2063ff043dee15d95d5103648862a54982 https://github.com/numpy/numpy/commit/3b0aeb2063ff043dee15d95d5103648862a54982 Author: Ralf Gommers Date: 2012-05-02 (Wed, 02 May 2012) Changed paths: M numpy/lib/tests/test_io.py Log Message: ----------- TST: fix string comparison test failures on Windows for Python 2.5. This is caused by the inconsistent floating point handling of Python itself. On Windows with 2.5: >>> "%s" % 1e-6 '1e-006' With 2.6: >>> "%s" % 1e-6 '1e-06' Reviewed as PR-225. Commit: 10a65ff403c86ab7064af8b75fe30e8994e32d60 https://github.com/numpy/numpy/commit/10a65ff403c86ab7064af8b75fe30e8994e32d60 Author: Ralf Gommers Date: 2012-05-04 (Fri, 04 May 2012) Changed paths: M numpy/lib/function_base.py M numpy/lib/npyio.py M numpy/lib/src/_compiled_base.c M numpy/lib/tests/test_function_base.py M numpy/lib/tests/test_io.py M numpy/lib/tests/test_regression.py M numpy/lib/tests/test_twodim_base.py M numpy/lib/twodim_base.py Log Message: ----------- Merge pull request #261 from charris/backport-lib Backport numpy.lib bug fixes. Compare: https://github.com/numpy/numpy/compare/1a9e14f...10a65ff From noreply at github.com Fri May 4 15:41:22 2012 From: noreply at github.com (GitHub) Date: Fri, 04 May 2012 12:41:22 -0700 Subject: [Numpy-svn] [numpy/numpy] 6f703d: ENH: Introduce new options extra_f77_compiler_args... Message-ID: <4fa430e225154_52311829af01424b4@sh3.rs.github.com.mail> Branch: refs/heads/maintenance/1.6.x Home: https://github.com/numpy/numpy Commit: 6f703d57b572732e3a5a4f845172404ab683cf02 https://github.com/numpy/numpy/commit/6f703d57b572732e3a5a4f845172404ab683cf02 Author: Pearu Peterson Date: 2012-04-29 (Sun, 29 Apr 2012) Changed paths: M doc/DISTUTILS.rst.txt M numpy/distutils/command/build_clib.py M numpy/distutils/command/build_ext.py M numpy/distutils/extension.py M numpy/distutils/fcompiler/__init__.py M numpy/distutils/misc_util.py Log Message: ----------- ENH: Introduce new options extra_f77_compiler_args and extra_f90_compiler_args. Introduce new options extra_f77_compiler_args and extra_f90_compiler_args to Configuration.add_extension. Configuration.add_library, and Extension. These options allow specifying extra compile options for compiling Fortran sources within a setup.py file. Commit: 56b3e0c9effb03f82fc4b8d67e3563248c136b09 https://github.com/numpy/numpy/commit/56b3e0c9effb03f82fc4b8d67e3563248c136b09 Author: Pearu Peterson Date: 2012-04-29 (Sun, 29 Apr 2012) Changed paths: M numpy/distutils/command/build_clib.py Log Message: ----------- BLD: Improve reporting of fcompiler value. follow build_ext coding convention in build_clib to catch strange fcompiler value reported in ml. Commit: 3e9aaeda5f914a34124f1ae4c617a9b40e396294 https://github.com/numpy/numpy/commit/3e9aaeda5f914a34124f1ae4c617a9b40e396294 Author: Pearu Peterson Date: 2012-04-29 (Sun, 29 Apr 2012) Changed paths: M numpy/distutils/fcompiler/__init__.py Log Message: ----------- ENH: Add new options extra_f77_compile_args and extra_f90_compile_args. Add new options extra_f77_compile_args and extra_f90_compile_args to Configuration.add_extension. Configuration.add_library, and Extension. These options allow specifying extra compile options for compiling Fortran sources within a setup.py file. Commit: e7f2210e10126e9d11074ccd75addb6506216540 https://github.com/numpy/numpy/commit/e7f2210e10126e9d11074ccd75addb6506216540 Author: Charles Harris Date: 2012-04-29 (Sun, 29 Apr 2012) Changed paths: M numpy/f2py/crackfortran.py Log Message: ----------- BUG: Fix f2py test_kind.py test. Newer Fortran compilers for Intel may support quad precision, so _selected_real_kind_func needs to report that for precisions >= 19. Commit: a16a4305313939ffc644bf7201233708ba4e5a9a https://github.com/numpy/numpy/commit/a16a4305313939ffc644bf7201233708ba4e5a9a Author: Ralf Gommers Date: 2012-05-04 (Fri, 04 May 2012) Changed paths: M doc/DISTUTILS.rst.txt M numpy/distutils/command/build_clib.py M numpy/distutils/command/build_ext.py M numpy/distutils/extension.py M numpy/distutils/fcompiler/__init__.py M numpy/distutils/misc_util.py M numpy/f2py/crackfortran.py Log Message: ----------- Merge pull request #262 from charris/backport-f2py Backport f2py fixes and improvements. Compare: https://github.com/numpy/numpy/compare/10a65ff...a16a430 From noreply at github.com Fri May 4 15:42:12 2012 From: noreply at github.com (GitHub) Date: Fri, 04 May 2012 12:42:12 -0700 Subject: [Numpy-svn] [numpy/numpy] 503779: ENH: Add some tests for polynomial printing. Message-ID: <4fa43114bfb9e_25f0f8daf4258984@sh3.rs.github.com.mail> Branch: refs/heads/maintenance/1.6.x Home: https://github.com/numpy/numpy Commit: 503779318966d10bd8caf8d37beb4d39d549acdc https://github.com/numpy/numpy/commit/503779318966d10bd8caf8d37beb4d39d549acdc Author: Charles Harris Date: 2012-04-29 (Sun, 29 Apr 2012) Changed paths: A numpy/polynomial/tests/test_printing.py Log Message: ----------- ENH: Add some tests for polynomial printing. Commit: 5bc40dcd6d9b05753d7802ac8adbf364039461bc https://github.com/numpy/numpy/commit/5bc40dcd6d9b05753d7802ac8adbf364039461bc Author: Charles Harris Date: 2012-04-29 (Sun, 29 Apr 2012) Changed paths: M numpy/polynomial/chebyshev.py M numpy/polynomial/hermite.py M numpy/polynomial/hermite_e.py M numpy/polynomial/laguerre.py M numpy/polynomial/legendre.py M numpy/polynomial/polynomial.py M numpy/polynomial/tests/test_hermite_e.py Log Message: ----------- ENH: Add companion matrix functions. The new companion matrices are related to the old by a similarity transformation that makes them better conditioned for root finding. In particular, the companion matrices for the orthogonal polynomials are symmetric when the zeros of a single polynomial term is wanted. This produces better zeros for use in Gauss quadrature. Commit: b47abd6367c20f1ca1d52601db0187207bedd61f https://github.com/numpy/numpy/commit/b47abd6367c20f1ca1d52601db0187207bedd61f Author: Charles Harris Date: 2012-04-29 (Sun, 29 Apr 2012) Changed paths: A doc/source/reference/routines.polynomials.chebyshev.rst A doc/source/reference/routines.polynomials.classes.rst A doc/source/reference/routines.polynomials.hermite.rst A doc/source/reference/routines.polynomials.hermite_e.rst A doc/source/reference/routines.polynomials.laguerre.rst A doc/source/reference/routines.polynomials.legendre.rst A doc/source/reference/routines.polynomials.package.rst M doc/source/reference/routines.polynomials.polynomial.rst M doc/source/reference/routines.polynomials.rst M numpy/polynomial/legendre.py Log Message: ----------- DOC: Rearrange the polynomial documents. This is the first step in cleaning up the polynomial documentation and writing an instructional section on the convenience classes. Commit: 8b5eb677e13480ab6d455885d6b55896e2c74efc https://github.com/numpy/numpy/commit/8b5eb677e13480ab6d455885d6b55896e2c74efc Author: Charles Harris Date: 2012-04-29 (Sun, 29 Apr 2012) Changed paths: M doc/source/reference/routines.polynomials.chebyshev.rst M doc/source/reference/routines.polynomials.hermite.rst M doc/source/reference/routines.polynomials.hermite_e.rst M doc/source/reference/routines.polynomials.laguerre.rst M doc/source/reference/routines.polynomials.legendre.rst M doc/source/reference/routines.polynomials.polynomial.rst Log Message: ----------- BUG: Fix up links to classes. The Sphinx markup was incorrect the documentation to the polynomial convenience classes wasn't being generated. Commit: 45a42d2016030df621b2c17e2a82ba459158945e https://github.com/numpy/numpy/commit/45a42d2016030df621b2c17e2a82ba459158945e Author: Charles Harris Date: 2012-04-29 (Sun, 29 Apr 2012) Changed paths: M doc/source/reference/routines.polynomials.chebyshev.rst M doc/source/reference/routines.polynomials.hermite.rst M doc/source/reference/routines.polynomials.hermite_e.rst M doc/source/reference/routines.polynomials.laguerre.rst M doc/source/reference/routines.polynomials.legendre.rst M doc/source/reference/routines.polynomials.package.rst M doc/source/reference/routines.polynomials.polynomial.rst Log Message: ----------- DOC: Add version added to some of the polynomial package modules. Commit: b4a3beb6a89d8a52d138b40b783fd87ee14084fd https://github.com/numpy/numpy/commit/b4a3beb6a89d8a52d138b40b783fd87ee14084fd Author: Charles Harris Date: 2012-04-29 (Sun, 29 Apr 2012) Changed paths: M numpy/polynomial/chebyshev.py M numpy/polynomial/hermite.py M numpy/polynomial/hermite_e.py M numpy/polynomial/laguerre.py M numpy/polynomial/legendre.py M numpy/polynomial/polynomial.py Log Message: ----------- DOC: Document xxxfit functions in the polynomial package modules. Commit: 75519d5f2e733d0975621b81ef8cd50fd254b116 https://github.com/numpy/numpy/commit/75519d5f2e733d0975621b81ef8cd50fd254b116 Author: Charles Harris Date: 2012-04-29 (Sun, 29 Apr 2012) Changed paths: M numpy/polynomial/polytemplate.py Log Message: ----------- BUG: The polynomial convenience classes let different types interact. In particular for arithmetic where one could end up with a Polynomial type with Chebyshev coefficients after an addition. It is unlikely that that would be done on purpose. The PolyDomain error message was also replaced by a TypeError with an appropriate message. That seems like a better choice. Commit: e1cec071ced44508ad9040319d79ca1caced5837 https://github.com/numpy/numpy/commit/e1cec071ced44508ad9040319d79ca1caced5837 Author: Charles Harris Date: 2012-04-29 (Sun, 29 Apr 2012) Changed paths: M doc/source/reference/routines.polynomials.classes.rst Log Message: ----------- DOC: Document the use of the polynomial convenience classes. Commit: 51f898919a97a7b5900e5a1b26b540a4d5664e9e https://github.com/numpy/numpy/commit/51f898919a97a7b5900e5a1b26b540a4d5664e9e Author: Charles Harris Date: 2012-04-29 (Sun, 29 Apr 2012) Changed paths: M doc/source/reference/routines.polynomials.classes.rst M doc/source/reference/routines.polynomials.hermite.rst M doc/source/reference/routines.polynomials.hermite_e.rst Log Message: ----------- DOC: Improve numpy reference documentation of polynomial classes. Add more explanation of what happens in polynomial substitution and also of its use in casting between types. Clean up some rst glitches. Commit: 628c7865726ed6fbbb17946922d5775f5f9cbdb0 https://github.com/numpy/numpy/commit/628c7865726ed6fbbb17946922d5775f5f9cbdb0 Author: Charles Harris Date: 2012-04-29 (Sun, 29 Apr 2012) Changed paths: M numpy/polynomial/chebyshev.py M numpy/polynomial/hermite.py M numpy/polynomial/hermite_e.py M numpy/polynomial/laguerre.py M numpy/polynomial/legendre.py M numpy/polynomial/polynomial.py Log Message: ----------- ENH: Improve the computation of polynomials from roots. The original method was overly sensitive to roundoff. Of the two approaches considered, gauss integration or binary subdivision of the roots, the latter is more compatible with using other number representations such as mpmath. No method is going to be suitable for large numbers of arbitrary zeros but the current method is a significant improvement. Commit: a70a5994cb2f30bae3f16fc50f4cd98205d9fb68 https://github.com/numpy/numpy/commit/a70a5994cb2f30bae3f16fc50f4cd98205d9fb68 Author: Charles Harris Date: 2012-04-29 (Sun, 29 Apr 2012) Changed paths: M numpy/polynomial/chebyshev.py M numpy/polynomial/hermite.py M numpy/polynomial/hermite_e.py M numpy/polynomial/laguerre.py M numpy/polynomial/legendre.py M numpy/polynomial/polynomial.py Log Message: ----------- STY: Code cleanup in polynomial [*]fromroots functions. Use divmod instead of // and % separately. Commit: d031a9875ca31ad6eec5d5f3a9dc36ef6d303887 https://github.com/numpy/numpy/commit/d031a9875ca31ad6eec5d5f3a9dc36ef6d303887 Author: Charles Harris Date: 2012-04-29 (Sun, 29 Apr 2012) Changed paths: M doc/source/reference/routines.polynomials.classes.rst Log Message: ----------- DOC: Remove references to cast and NA, which were added in 1.7. Commit: 8cc4a7d21a7b4bef7c6468c526019b1603995c1b https://github.com/numpy/numpy/commit/8cc4a7d21a7b4bef7c6468c526019b1603995c1b Author: Ralf Gommers Date: 2012-05-04 (Fri, 04 May 2012) Changed paths: A doc/source/reference/routines.polynomials.chebyshev.rst A doc/source/reference/routines.polynomials.classes.rst A doc/source/reference/routines.polynomials.hermite.rst A doc/source/reference/routines.polynomials.hermite_e.rst A doc/source/reference/routines.polynomials.laguerre.rst A doc/source/reference/routines.polynomials.legendre.rst A doc/source/reference/routines.polynomials.package.rst M doc/source/reference/routines.polynomials.polynomial.rst M doc/source/reference/routines.polynomials.rst M numpy/polynomial/chebyshev.py M numpy/polynomial/hermite.py M numpy/polynomial/hermite_e.py M numpy/polynomial/laguerre.py M numpy/polynomial/legendre.py M numpy/polynomial/polynomial.py M numpy/polynomial/polytemplate.py M numpy/polynomial/tests/test_hermite_e.py A numpy/polynomial/tests/test_printing.py Log Message: ----------- Merge pull request #263 from charris/backport-poly Backport numpy.poly bug fixes and documentation improvements. Compare: https://github.com/numpy/numpy/compare/a16a430...8cc4a7d From noreply at github.com Fri May 4 15:43:12 2012 From: noreply at github.com (GitHub) Date: Fri, 04 May 2012 12:43:12 -0700 Subject: [Numpy-svn] [numpy/numpy] 862cc3: BUG: PR #227, Use npy_intp instead of long in mtra... Message-ID: <4fa4315047a1e_7c481015ae41175fa@sh3.rs.github.com.mail> Branch: refs/heads/maintenance/1.6.x Home: https://github.com/numpy/numpy Commit: 862cc3b128e252294d7714cc89f638d2c5ed0c87 https://github.com/numpy/numpy/commit/862cc3b128e252294d7714cc89f638d2c5ed0c87 Author: cgohlke Date: 2012-05-01 (Tue, 01 May 2012) Changed paths: M numpy/random/mtrand/initarray.c M numpy/random/mtrand/initarray.h M numpy/random/mtrand/mtrand.c M numpy/random/mtrand/mtrand.pyx M numpy/random/mtrand/mtrand_py_helper.h Log Message: ----------- BUG: PR #227, Use npy_intp instead of long in mtrand. This fixes a problem on 64 bit Windows where a 64 bit index is needed but long is only 32 bits. Regenerate mtrand.c Commit: 7b907a8c3168ccc59c0a8458ae06e074a8f71908 https://github.com/numpy/numpy/commit/7b907a8c3168ccc59c0a8458ae06e074a8f71908 Author: Ralf Gommers Date: 2012-05-04 (Fri, 04 May 2012) Changed paths: M numpy/random/mtrand/initarray.c M numpy/random/mtrand/initarray.h M numpy/random/mtrand/mtrand.c M numpy/random/mtrand/mtrand.pyx M numpy/random/mtrand/mtrand_py_helper.h Log Message: ----------- Merge pull request #265 from charris/backport-random Backport numpy.random fix for MSVC. Compare: https://github.com/numpy/numpy/compare/8cc4a7d...7b907a8 From noreply at github.com Fri May 4 15:51:42 2012 From: noreply at github.com (GitHub) Date: Fri, 04 May 2012 12:51:42 -0700 Subject: [Numpy-svn] [numpy/numpy] d609df: REL: change Sphinx version in release script to 1.... Message-ID: <4fa4334e65b07_9ba1866af42813ca@sh2.rs.github.com.mail> Branch: refs/heads/master Home: https://github.com/numpy/numpy Commit: d609dffc97c024eb1c827a7da3e4f5098cf48b1e https://github.com/numpy/numpy/commit/d609dffc97c024eb1c827a7da3e4f5098cf48b1e Author: Ralf Gommers Date: 2012-05-04 (Fri, 04 May 2012) Changed paths: M doc/HOWTO_RELEASE.rst.txt M pavement.py Log Message: ----------- REL: change Sphinx version in release script to 1.1.3. Version 1.0.4 was used till now, but has become too old. New version gives far fewer warnings and thereby increases the reference guide with O(100) pages that previously got lost. Also update current Cython version number. From noreply at github.com Fri May 4 15:53:30 2012 From: noreply at github.com (GitHub) Date: Fri, 04 May 2012 12:53:30 -0700 Subject: [Numpy-svn] [numpy/numpy] 6c2aa7: REL: change Sphinx version in release script to 1.... Message-ID: <4fa433bab813d_4d6ae28aec2262a5@sh3.rs.github.com.mail> Branch: refs/heads/maintenance/1.6.x Home: https://github.com/numpy/numpy Commit: 6c2aa71eeb0690326c58b23d7b5fa79d53cd2377 https://github.com/numpy/numpy/commit/6c2aa71eeb0690326c58b23d7b5fa79d53cd2377 Author: Ralf Gommers Date: 2012-05-04 (Fri, 04 May 2012) Changed paths: M doc/HOWTO_RELEASE.rst.txt M pavement.py Log Message: ----------- REL: change Sphinx version in release script to 1.1.3. Version 1.0.4 was used till now, but has become too old. New version gives far fewer warnings and thereby increases the reference guide with O(100) pages that previously got lost. Also update current Cython version number. (backport of d609dff) From noreply at github.com Sat May 5 13:39:54 2012 From: noreply at github.com (GitHub) Date: Sat, 05 May 2012 10:39:54 -0700 Subject: [Numpy-svn] [numpy/numpy] eef428: REL: add release notes for 1.6.1 and 1.6.2 release... Message-ID: <4fa565ea2e523_574bf72aec706e7@sh2.rs.github.com.mail> Branch: refs/heads/maintenance/1.6.x Home: https://github.com/numpy/numpy Commit: eef4280871e90b9330415e30a83250e559a9333f https://github.com/numpy/numpy/commit/eef4280871e90b9330415e30a83250e559a9333f Author: Ralf Gommers Date: 2012-05-04 (Fri, 04 May 2012) Changed paths: A doc/release/1.6.1-notes.rst A doc/release/1.6.2-notes.rst M pavement.py Log Message: ----------- REL: add release notes for 1.6.1 and 1.6.2 releases. From noreply at github.com Sat May 5 14:10:16 2012 From: noreply at github.com (GitHub) Date: Sat, 05 May 2012 11:10:16 -0700 Subject: [Numpy-svn] [numpy/numpy] 09bb26: REL: set version to 1.6.2rc1 Message-ID: <4fa56d08dfaaa_5b961754ae41104d4@sh3.rs.github.com.mail> Branch: refs/heads/maintenance/1.6.x Home: https://github.com/numpy/numpy Commit: 09bb26867d73173d74b4f9d4d481064e6044fa71 https://github.com/numpy/numpy/commit/09bb26867d73173d74b4f9d4d481064e6044fa71 Author: Ralf Gommers Date: 2012-05-04 (Fri, 04 May 2012) Changed paths: M pavement.py M setup.py Log Message: ----------- REL: set version to 1.6.2rc1 Commit: a52e5ae96f9364b50f45bf2ea2d6af995f4eac51 https://github.com/numpy/numpy/commit/a52e5ae96f9364b50f45bf2ea2d6af995f4eac51 Author: Ralf Gommers Date: 2012-05-05 (Sat, 05 May 2012) Changed paths: M setup.py M tools/numpy-macosx-installer/new-create-dmg Log Message: ----------- REL: increase allowed size of DMG installer by 1 Mb. Caused by the docs becoming much larger (~100 pages) due to numpy.poly enhancements. Compare: https://github.com/numpy/numpy/compare/eef4280...a52e5ae From noreply at github.com Sat May 5 14:10:33 2012 From: noreply at github.com (GitHub) Date: Sat, 05 May 2012 11:10:33 -0700 Subject: [Numpy-svn] [numpy/numpy] Message-ID: <4fa56d1985583_52311829af02705c6@sh3.rs.github.com.mail> Branch: refs/tags/v1.6.2rc1 Home: https://github.com/numpy/numpy From noreply at github.com Sat May 5 14:22:57 2012 From: noreply at github.com (GitHub) Date: Sat, 05 May 2012 11:22:57 -0700 Subject: [Numpy-svn] [numpy/numpy] 14b760: STY: fix typo in 1.6.2 release notes. Message-ID: <4fa570014b409_e62fa7ae43425d2@sh3.rs.github.com.mail> Branch: refs/heads/maintenance/1.6.x Home: https://github.com/numpy/numpy Commit: 14b760fe744642e2c4c201d7dc5237d5526e95ce https://github.com/numpy/numpy/commit/14b760fe744642e2c4c201d7dc5237d5526e95ce Author: Ralf Gommers Date: 2012-05-05 (Sat, 05 May 2012) Changed paths: M doc/release/1.6.2-notes.rst Log Message: ----------- STY: fix typo in 1.6.2 release notes. From noreply at github.com Mon May 7 19:19:50 2012 From: noreply at github.com (GitHub) Date: Mon, 07 May 2012 16:19:50 -0700 Subject: [Numpy-svn] [numpy/numpy] 6c95a0: BUG: umath: greater_equal ufunc was using the wron... Message-ID: <4fa858964ee1c_8361610ae8187178@sh2.rs.github.com.mail> Branch: refs/heads/master Home: https://github.com/numpy/numpy Commit: 6c95a007ad8f661e6ab0185a16e6782c7ba158d5 https://github.com/numpy/numpy/commit/6c95a007ad8f661e6ab0185a16e6782c7ba158d5 Author: Mark Wiebe Date: 2012-05-07 (Mon, 07 May 2012) Changed paths: M numpy/core/code_generators/generate_umath.py M numpy/core/tests/test_datetime.py Log Message: ----------- BUG: umath: greater_equal ufunc was using the wrong type resolver, failed with datetime64 This bug was found by running the pandas master against numpy master. Commit: 084eed79b7064d6e351281a75d0f0baecc6d851a https://github.com/numpy/numpy/commit/084eed79b7064d6e351281a75d0f0baecc6d851a Author: Stefan van der Walt Date: 2012-05-07 (Mon, 07 May 2012) Changed paths: M numpy/core/code_generators/generate_umath.py M numpy/core/tests/test_datetime.py Log Message: ----------- Merge pull request #272 from mwiebe/datetime64_compare BUG: umath: greater_equal ufunc was using the wrong type resolver Compare: https://github.com/numpy/numpy/compare/d609dff...084eed7 From noreply at github.com Tue May 8 11:57:04 2012 From: noreply at github.com (GitHub) Date: Tue, 08 May 2012 08:57:04 -0700 Subject: [Numpy-svn] [numpy/numpy] c869d1: BUG: ufunc: The refactored reduction code didn't w... Message-ID: <4fa942508a6f5_743d192eaf411465d@sh3.rs.github.com.mail> Branch: refs/heads/master Home: https://github.com/numpy/numpy Commit: c869d124d08665b703539c9b2f14ec6ffbae0be0 https://github.com/numpy/numpy/commit/c869d124d08665b703539c9b2f14ec6ffbae0be0 Author: Mark Wiebe Date: 2012-05-08 (Tue, 08 May 2012) Changed paths: M numpy/core/src/umath/ufunc_object.c M numpy/core/tests/test_ufunc.py Log Message: ----------- BUG: ufunc: The refactored reduction code didn't work with object arrays From noreply at github.com Thu May 10 03:45:16 2012 From: noreply at github.com (GitHub) Date: Thu, 10 May 2012 00:45:16 -0700 Subject: [Numpy-svn] [numpy/numpy] eb4010: ENH: Add a NpyAuxData c_metadata to PyArray_Descr Message-ID: <4fab720ce9dbc_547b13c0af429604@sh3.rs.github.com.mail> Branch: refs/heads/master Home: https://github.com/numpy/numpy Commit: eb40102ef70ca9a3e2d8953b54db9df90a0a10ee https://github.com/numpy/numpy/commit/eb40102ef70ca9a3e2d8953b54db9df90a0a10ee Author: Mark Wiebe Date: 2012-05-09 (Wed, 09 May 2012) Changed paths: M numpy/core/include/numpy/ndarraytypes.h M numpy/core/src/multiarray/arraytypes.c.src M numpy/core/src/multiarray/descriptor.c Log Message: ----------- ENH: Add a NpyAuxData c_metadata to PyArray_Descr The purpose of this is to allow dtypes with metadata to have faster C-level performance. With this, datetime64 metadata lookup can become a single C pointer dereference, compared to a C-string to Python-string conversion + a Python dict lookup as it is presently. Commit: e686b367db354189b1154c2a47cc4b1adcfca1fd https://github.com/numpy/numpy/commit/e686b367db354189b1154c2a47cc4b1adcfca1fd Author: Mark Wiebe Date: 2012-05-09 (Wed, 09 May 2012) Changed paths: M numpy/core/_internal.py M numpy/core/include/numpy/ndarraytypes.h M numpy/core/include/numpy/npy_deprecated_api.h M numpy/core/src/multiarray/_datetime.h M numpy/core/src/multiarray/arraytypes.c.src M numpy/core/src/multiarray/datetime.c M numpy/core/src/multiarray/datetime_strings.c M numpy/core/src/multiarray/datetime_strings.h M numpy/core/src/multiarray/descriptor.c M numpy/core/src/multiarray/multiarraymodule.c M numpy/core/src/multiarray/scalarapi.c M numpy/core/src/umath/ufunc_type_resolution.c M numpy/core/tests/test_datetime.py M numpy/lib/type_check.py Log Message: ----------- ENH: Change datetime64 to use c_metadata instead of metadata Commit: b7cb21ac6f0d23d8c330afbf8bb900e85d27f668 https://github.com/numpy/numpy/commit/b7cb21ac6f0d23d8c330afbf8bb900e85d27f668 Author: Mark Wiebe Date: 2012-05-09 (Wed, 09 May 2012) Changed paths: M numpy/core/src/multiarray/descriptor.c Log Message: ----------- BUG: Output the datetime64 dtype to the pickle format from 1.6 Commit: 9d63daee9d7bc050aef46f3a22efed06d9baed4b https://github.com/numpy/numpy/commit/9d63daee9d7bc050aef46f3a22efed06d9baed4b Author: Mark Wiebe Date: 2012-05-09 (Wed, 09 May 2012) Changed paths: M numpy/core/include/numpy/ndarraytypes.h Log Message: ----------- ENH: Change NPY_AUXDATA_FREE macro based on PR feedback Commit: 2c4f794b9ed9618cb8187af98eb59b73bb380e2e https://github.com/numpy/numpy/commit/2c4f794b9ed9618cb8187af98eb59b73bb380e2e Author: Mark Wiebe Date: 2012-05-09 (Wed, 09 May 2012) Changed paths: M numpy/core/src/multiarray/descriptor.c Log Message: ----------- DOC: Improve documentation comment from PR 274 comment Commit: dc468d1e2cebf350a38e719741f691db2c2f1bdc https://github.com/numpy/numpy/commit/dc468d1e2cebf350a38e719741f691db2c2f1bdc Author: Mark Wiebe Date: 2012-05-09 (Wed, 09 May 2012) Changed paths: M numpy/core/src/multiarray/descriptor.c Log Message: ----------- STY: Elaborate comment about cloning dtype's c_metadata Commit: ddc944eb6ae67de5c0e184505651ca1f50517bbd https://github.com/numpy/numpy/commit/ddc944eb6ae67de5c0e184505651ca1f50517bbd Author: Charles Harris Date: 2012-05-10 (Thu, 10 May 2012) Changed paths: M numpy/core/tests/test_datetime.py Log Message: ----------- BUG: Fix datetime 1.6 pickle compatibility test for Python 3. In Python 3 the pickle.loads function expects a bytes argument, so convert the test strings. Commit: bb162a291b765a34a2e6fab845c36f34c01357af https://github.com/numpy/numpy/commit/bb162a291b765a34a2e6fab845c36f34c01357af Author: Charles Harris Date: 2012-05-10 (Thu, 10 May 2012) Changed paths: M numpy/core/_internal.py M numpy/core/include/numpy/ndarraytypes.h M numpy/core/include/numpy/npy_deprecated_api.h M numpy/core/src/multiarray/_datetime.h M numpy/core/src/multiarray/arraytypes.c.src M numpy/core/src/multiarray/datetime.c M numpy/core/src/multiarray/datetime_strings.c M numpy/core/src/multiarray/datetime_strings.h M numpy/core/src/multiarray/descriptor.c M numpy/core/src/multiarray/multiarraymodule.c M numpy/core/src/multiarray/scalarapi.c M numpy/core/src/umath/ufunc_type_resolution.c M numpy/core/tests/test_datetime.py M numpy/lib/type_check.py Log Message: ----------- Merge branch 'pull-274' * pull-274: BUG: Fix datetime 1.6 pickle compatibility test for Python 3. STY: Elaborate comment about cloning dtype's c_metadata DOC: Improve documentation comment from PR 274 comment ENH: Change NPY_AUXDATA_FREE macro based on PR feedback BUG: Output the datetime64 dtype to the pickle format from 1.6 ENH: Change datetime64 to use c_metadata instead of metadata ENH: Add a NpyAuxData c_metadata to PyArray_Descr Compare: https://github.com/numpy/numpy/compare/c869d12...bb162a2 From noreply at github.com Thu May 10 15:35:33 2012 From: noreply at github.com (GitHub) Date: Thu, 10 May 2012 12:35:33 -0700 Subject: [Numpy-svn] [numpy/numpy] 8669d3: DOC: verbosity -> verbose in testing guidelines Message-ID: <4fac1885233e7_6181b57aec3139@sh3.rs.github.com.mail> Branch: refs/heads/master Home: https://github.com/numpy/numpy Commit: 8669d3f7f6aa463ff8b2fb787e06063259b8fa0f https://github.com/numpy/numpy/commit/8669d3f7f6aa463ff8b2fb787e06063259b8fa0f Author: Denis Laxalde Date: 2012-05-10 (Thu, 10 May 2012) Changed paths: M doc/TESTS.rst.txt Log Message: ----------- DOC: verbosity -> verbose in testing guidelines Commit: 5a64b000f9df6eea36a5fe0f5ef0cfc62a4e63d6 https://github.com/numpy/numpy/commit/5a64b000f9df6eea36a5fe0f5ef0cfc62a4e63d6 Author: Ralf Gommers Date: 2012-05-10 (Thu, 10 May 2012) Changed paths: M doc/TESTS.rst.txt Log Message: ----------- Merge pull request #277 from dlaxalde/doc/test-verbose DOC: verbosity -> verbose in testing guidelines Compare: https://github.com/numpy/numpy/compare/bb162a2...5a64b00 From noreply at github.com Thu May 10 15:56:57 2012 From: noreply at github.com (GitHub) Date: Thu, 10 May 2012 12:56:57 -0700 Subject: [Numpy-svn] [numpy/numpy] bfaaef: BUG: fix running tests with coverage=True. Message-ID: <4fac1d899099e_108712feae41116ea@sh3.rs.github.com.mail> Branch: refs/heads/master Home: https://github.com/numpy/numpy Commit: bfaaefe52fd5ad3cb5d0a1c75061d9866716babe https://github.com/numpy/numpy/commit/bfaaefe52fd5ad3cb5d0a1c75061d9866716babe Author: Ralf Gommers Date: 2012-05-10 (Thu, 10 May 2012) Changed paths: M numpy/testing/nosetester.py Log Message: ----------- BUG: fix running tests with coverage=True. The --cover-inclusive argument means that coverage.py tries to include every single .py file in the source tree in the coverage report. This leads to test errors, because it tries to import files like setupscons.py (which will of course directly fail for anyone not having numscons installed). From noreply at github.com Thu May 10 17:33:58 2012 From: noreply at github.com (GitHub) Date: Thu, 10 May 2012 14:33:58 -0700 Subject: [Numpy-svn] [numpy/numpy] 7939c2: BUG: Fix format/variable incompatibility. Message-ID: <4fac3446ccc85_374c1baeaf427621c@sh2.rs.github.com.mail> Branch: refs/heads/master Home: https://github.com/numpy/numpy Commit: 7939c20c9c3fd2129de12d77400ae6bae2a50d20 https://github.com/numpy/numpy/commit/7939c20c9c3fd2129de12d77400ae6bae2a50d20 Author: Charles Harris Date: 2012-05-10 (Thu, 10 May 2012) Changed paths: M numpy/core/src/multiarray/descriptor.c Log Message: ----------- BUG: Fix format/variable incompatibility. This shows up in python 2.4 where Py_ssize_t is an int. Also remove unused variable. Commit: 65fdf09a6a6a6c85439e1f6333ce9354be8da730 https://github.com/numpy/numpy/commit/65fdf09a6a6a6c85439e1f6333ce9354be8da730 Author: Stefan van der Walt Date: 2012-05-10 (Thu, 10 May 2012) Changed paths: M numpy/core/src/multiarray/descriptor.c Log Message: ----------- Merge pull request #276 from charris/fix-format-variable-mismatch BUG: Fix format/variable incompatibility. Compare: https://github.com/numpy/numpy/compare/bfaaefe...65fdf09 From noreply at github.com Thu May 10 18:13:14 2012 From: noreply at github.com (GitHub) Date: Thu, 10 May 2012 15:13:14 -0700 Subject: [Numpy-svn] [numpy/numpy] 3bbbbd: NEP: Add some details about how existing C-API acc... Message-ID: <4fac3d7a24cdf_23391a5eaf0838f7@sh3.rs.github.com.mail> Branch: refs/heads/master Home: https://github.com/numpy/numpy Commit: 3bbbbd416a0ae68d68a11bbbedca1460a560378b https://github.com/numpy/numpy/commit/3bbbbd416a0ae68d68a11bbbedca1460a560378b Author: Mark Wiebe Date: 2012-05-10 (Thu, 10 May 2012) Changed paths: M doc/neps/missing-data.rst Log Message: ----------- NEP: Add some details about how existing C-API access interacts with NA From noreply at github.com Sat May 12 12:21:35 2012 From: noreply at github.com (GitHub) Date: Sat, 12 May 2012 09:21:35 -0700 Subject: [Numpy-svn] [numpy/numpy] 73fc5a: DOC: mention random module fix in 1.6.2 release no... Message-ID: <4fae8e0fdd7a0_33141b42ae833889a@sh2.rs.github.com.mail> Branch: refs/heads/maintenance/1.6.x Home: https://github.com/numpy/numpy Commit: 73fc5a2844fbbdd4b9ee0d5bf82404eb2f71c8fb https://github.com/numpy/numpy/commit/73fc5a2844fbbdd4b9ee0d5bf82404eb2f71c8fb Author: Ralf Gommers Date: 2012-05-12 (Sat, 12 May 2012) Changed paths: M doc/release/1.6.2-notes.rst Log Message: ----------- DOC: mention random module fix in 1.6.2 release notes. Commit: b6fac09cc1e9dd52198c1dbc7c7dbbef814316fc https://github.com/numpy/numpy/commit/b6fac09cc1e9dd52198c1dbc7c7dbbef814316fc Author: Ralf Gommers Date: 2012-05-12 (Sat, 12 May 2012) Changed paths: M release.sh Log Message: ----------- REL: change release script to generate tarballs before building docs. This avoids shipping generated .rst files and some .pyc files in the doc/ dir. Compare: https://github.com/numpy/numpy/compare/14b760f...b6fac09 From noreply at github.com Fri May 18 09:05:39 2012 From: noreply at github.com (GitHub) Date: Fri, 18 May 2012 06:05:39 -0700 Subject: [Numpy-svn] [numpy/numpy] 35f735: BUG: fix typo in bscript. Message-ID: <4fb649235848c_6fe1835ae47888@sh3.rs.github.com.mail> Branch: refs/heads/master Home: https://github.com/numpy/numpy Commit: 35f735d8e001cda6f28f98b31ced5190ff06ef77 https://github.com/numpy/numpy/commit/35f735d8e001cda6f28f98b31ced5190ff06ef77 Author: David Cournapeau Date: 2012-05-18 (Fri, 18 May 2012) Changed paths: M numpy/core/bscript Log Message: ----------- BUG: fix typo in bscript. Commit: 4fce387ddca6f2e68ae3fa5c21778fceeb636426 https://github.com/numpy/numpy/commit/4fce387ddca6f2e68ae3fa5c21778fceeb636426 Author: David Cournapeau Date: 2012-05-18 (Fri, 18 May 2012) Changed paths: M bscript Log Message: ----------- ENH: use custom_python instead of built-in waf tool. Compare: https://github.com/numpy/numpy/compare/3bbbbd4...4fce387 From noreply at github.com Fri May 18 16:29:19 2012 From: noreply at github.com (GitHub) Date: Fri, 18 May 2012 13:29:19 -0700 Subject: [Numpy-svn] [numpy/numpy] 5a86e2: BUG: nditer: Memory leak from setting 'base' attri... Message-ID: <4fb6b11f6f65d_92a12b3ae4153781@sh2.rs.github.com.mail> Branch: refs/heads/master Home: https://github.com/numpy/numpy Commit: 5a86e25b5680595b066615ac97ae97bec63a56fc https://github.com/numpy/numpy/commit/5a86e25b5680595b066615ac97ae97bec63a56fc Author: Mark Wiebe Date: 2012-05-18 (Fri, 18 May 2012) Changed paths: M numpy/core/src/multiarray/nditer_constr.c M numpy/core/tests/test_nditer.py Log Message: ----------- BUG: nditer: Memory leak from setting 'base' attribute two ways Numpy uses its 'base' attribute in two different ways, both to manage the memory of an external data buffer, and to track an array for 'UPDATEIFCOPY' purposes. The nditer was creating a temporary view with negative strides to match the strides of input arrays, but then also wanted to use UPDATEIFCOPY. Unfortunately this choice to overload 'base' for both purposes prevents that from working, and the result was a memory leak. This bug has been fixed by choosing instead to retain positive strides and not fully match the order of input memory when doing the UPDATEIFCOPY. From noreply at github.com Fri May 18 16:56:32 2012 From: noreply at github.com (GitHub) Date: Fri, 18 May 2012 13:56:32 -0700 Subject: [Numpy-svn] [numpy/numpy] bfa66d: BUG: maskna: PEP3118 code wasn't raising an error ... Message-ID: <4fb6b780c2654_36621a9cae4421b3@sh2.rs.github.com.mail> Branch: refs/heads/master Home: https://github.com/numpy/numpy Commit: bfa66da9bddf4bd50a0c098d8d2dc79b17e8b4a2 https://github.com/numpy/numpy/commit/bfa66da9bddf4bd50a0c098d8d2dc79b17e8b4a2 Author: Mark Wiebe Date: 2012-05-10 (Thu, 10 May 2012) Changed paths: M numpy/core/src/multiarray/buffer.c M numpy/core/tests/test_maskna.py Log Message: ----------- BUG: maskna: PEP3118 code wasn't raising an error on NA-masked arrays Commit: 6594f47b0119950fbf5f247601a26e8bb9516d92 https://github.com/numpy/numpy/commit/6594f47b0119950fbf5f247601a26e8bb9516d92 Author: Mark Date: 2012-05-18 (Fri, 18 May 2012) Changed paths: M numpy/core/src/multiarray/buffer.c M numpy/core/tests/test_maskna.py Log Message: ----------- Merge pull request #278 from mwiebe/NA_buffer_errorcheck BUG: maskna: PEP3118 code wasn't raising an error on NA-masked arrays Compare: https://github.com/numpy/numpy/compare/5a86e25...6594f47 From noreply at github.com Fri May 18 17:00:05 2012 From: noreply at github.com (GitHub) Date: Fri, 18 May 2012 14:00:05 -0700 Subject: [Numpy-svn] [numpy/numpy] d7d6b6: Stress that all array creation C functions steals ... Message-ID: <4fb6b8556910d_2af211d3ae81361cf@sh3.rs.github.com.mail> Branch: refs/heads/master Home: https://github.com/numpy/numpy Commit: d7d6b6c8d067c5af02ca57f0646df77233021ea3 https://github.com/numpy/numpy/commit/d7d6b6c8d067c5af02ca57f0646df77233021ea3 Author: Francesc Alted Date: 2012-05-03 (Thu, 03 May 2012) Changed paths: M doc/source/reference/c-api.array.rst Log Message: ----------- Stress that all array creation C functions steals a reference to descr. Commit: 5c96ec6b92605f67b7c7dd7d7af986c57e7c2a6b https://github.com/numpy/numpy/commit/5c96ec6b92605f67b7c7dd7d7af986c57e7c2a6b Author: Mark Date: 2012-05-18 (Fri, 18 May 2012) Changed paths: M doc/source/reference/c-api.array.rst Log Message: ----------- Merge pull request #268 from FrancescAlted/master The docs should stress that functions that create arrays actually steals a reference to dtype descriptor Compare: https://github.com/numpy/numpy/compare/6594f47...5c96ec6 From noreply at github.com Fri May 18 17:21:15 2012 From: noreply at github.com (GitHub) Date: Fri, 18 May 2012 14:21:15 -0700 Subject: [Numpy-svn] [numpy/numpy] a169c9: TST: ticket #1878, test argmin with minimum signed... Message-ID: <4fb6bd4b883ee_155fd5baec14294@sh3.rs.github.com.mail> Branch: refs/heads/master Home: https://github.com/numpy/numpy Commit: a169c98909e8b120f0ab37a7238ba60db8eaebf8 https://github.com/numpy/numpy/commit/a169c98909e8b120f0ab37a7238ba60db8eaebf8 Author: Charles Harris Date: 2012-05-18 (Fri, 18 May 2012) Changed paths: M numpy/core/tests/test_multiarray.py Log Message: ----------- TST: ticket #1878, test argmin with minimum signed integers. The bug in ticket #1878 has been fixed in 1.7 but it still needs a test. Thanks to tlatorre. Commit: 6c883959588b29c5ac92ef2723d24a93db63d716 https://github.com/numpy/numpy/commit/6c883959588b29c5ac92ef2723d24a93db63d716 Author: Mark Wiebe Date: 2012-05-18 (Fri, 18 May 2012) Changed paths: M numpy/core/tests/test_maskna.py Log Message: ----------- TST: Fix memoryview 2.6/2.7 compatibiliy in maskna pep3118 test Compare: https://github.com/numpy/numpy/compare/5c96ec6...6c88395 From noreply at github.com Sat May 19 09:40:07 2012 From: noreply at github.com (GitHub) Date: Sat, 19 May 2012 06:40:07 -0700 Subject: [Numpy-svn] [numpy/numpy] c43a8f: TST: mark floating point error tests as unconditio... Message-ID: <4fb7a2b7a5e94_1f4616baae8195648@sh2.rs.github.com.mail> Branch: refs/heads/maintenance/1.6.x Home: https://github.com/numpy/numpy Commit: c43a8f282f66cf86cf30e56ef8efc61264fd6e86 https://github.com/numpy/numpy/commit/c43a8f282f66cf86cf30e56ef8efc61264fd6e86 Author: Ralf Gommers Date: 2012-05-19 (Sat, 19 May 2012) Changed paths: M numpy/core/tests/test_numeric.py Log Message: ----------- TST: mark floating point error tests as unconditional knownfail. See #1755. Commit: 3e1280678e5175794410f4bff30f771ad866b144 https://github.com/numpy/numpy/commit/3e1280678e5175794410f4bff30f771ad866b144 Author: Ralf Gommers Date: 2012-05-19 (Sat, 19 May 2012) Changed paths: M numpy/testing/nosetester.py Log Message: ----------- BUG: fix running tests with coverage=True. The --cover-inclusive argument means that coverage.py tries to include every single .py file in the source tree in the coverage report. This leads to test errors, because it tries to import files like setupscons.py (which will of course directly fail for anyone not having numscons installed). (backport of bfaaefe5) Commit: 5982e1b33d25e029429f52f181a868b70067b3b0 https://github.com/numpy/numpy/commit/5982e1b33d25e029429f52f181a868b70067b3b0 Author: Ralf Gommers Date: 2012-05-19 (Sat, 19 May 2012) Changed paths: M numpy/random/tests/test_random.py Log Message: ----------- TST: for numpy.random test, back off test precision a little. This test was reported to be failing once for 1.6.2rc1, test precision may be set slightly too agressive. Compare: https://github.com/numpy/numpy/compare/b6fac09...5982e1b From noreply at github.com Sat May 19 22:08:45 2012 From: noreply at github.com (GitHub) Date: Sat, 19 May 2012 19:08:45 -0700 Subject: [Numpy-svn] [numpy/numpy] 977878: TST: mark test for floating point exceptions as kn... Message-ID: <4fb8522d2301a_1edf1a73af41057e5@sh3.rs.github.com.mail> Branch: refs/heads/master Home: https://github.com/numpy/numpy Commit: 977878adf0ac08ee44ab45204c0c3d90acf1ac13 https://github.com/numpy/numpy/commit/977878adf0ac08ee44ab45204c0c3d90acf1ac13 Author: Ralf Gommers Date: 2012-05-19 (Sat, 19 May 2012) Changed paths: M numpy/core/tests/test_numeric.py Log Message: ----------- TST: mark test for floating point exceptions as knownfail. See #1755. Note that this test was marked as knownfail in 1.5.x and 1.6.x; it is reported as failing on many different platforms. Commit: e41267b424a1781b9b53a7a2fd05158435fab604 https://github.com/numpy/numpy/commit/e41267b424a1781b9b53a7a2fd05158435fab604 Author: Travis E. Oliphant Date: 2012-05-19 (Sat, 19 May 2012) Changed paths: M numpy/core/tests/test_numeric.py Log Message: ----------- Merge pull request #283 from rgommers/ticket-1755-knownfail TST: mark test for floating point exceptions as knownfail. See #1755. Compare: https://github.com/numpy/numpy/compare/6c88395...e41267b From noreply at github.com Sun May 20 04:27:06 2012 From: noreply at github.com (GitHub) Date: Sun, 20 May 2012 01:27:06 -0700 Subject: [Numpy-svn] [numpy/numpy] ca07bc: REL: set version to 1.6.2. Message-ID: <4fb8aadaac91b_36d4171dae49204f@sh2.rs.github.com.mail> Branch: refs/heads/maintenance/1.6.x Home: https://github.com/numpy/numpy Commit: ca07bce202ae26b6f0a73870eb2ef0b88e0210c5 https://github.com/numpy/numpy/commit/ca07bce202ae26b6f0a73870eb2ef0b88e0210c5 Author: Ralf Gommers Date: 2012-05-19 (Sat, 19 May 2012) Changed paths: M pavement.py M setup.py Log Message: ----------- REL: set version to 1.6.2. From noreply at github.com Sun May 20 04:27:47 2012 From: noreply at github.com (GitHub) Date: Sun, 20 May 2012 01:27:47 -0700 Subject: [Numpy-svn] [numpy/numpy] Message-ID: <4fb8ab037eceb_52761717af430755c@sh3.rs.github.com.mail> Branch: refs/tags/v1.6.2 Home: https://github.com/numpy/numpy From noreply at github.com Sun May 20 04:29:38 2012 From: noreply at github.com (GitHub) Date: Sun, 20 May 2012 01:29:38 -0700 Subject: [Numpy-svn] [numpy/numpy] 903d9b: MAINT: set version to 1.6.3-dev Message-ID: <4fb8ab72ce7db_7d74180caf4105338@sh2.rs.github.com.mail> Branch: refs/heads/maintenance/1.6.x Home: https://github.com/numpy/numpy Commit: 903d9b7d2a5f899f3ef17841ec3ee12ba657d78a https://github.com/numpy/numpy/commit/903d9b7d2a5f899f3ef17841ec3ee12ba657d78a Author: Ralf Gommers Date: 2012-05-20 (Sun, 20 May 2012) Changed paths: M setup.py Log Message: ----------- MAINT: set version to 1.6.3-dev From noreply at github.com Sun May 20 06:13:13 2012 From: noreply at github.com (GitHub) Date: Sun, 20 May 2012 03:13:13 -0700 Subject: [Numpy-svn] [numpy/numpy] b08185: MAINT: port release notes and release script chang... Message-ID: <4fb8c3b96d3a8_155be1baf4395a3@sh2.rs.github.com.mail> Branch: refs/heads/master Home: https://github.com/numpy/numpy Commit: b081857c29ce946c503e07c7d53597f443d1a646 https://github.com/numpy/numpy/commit/b081857c29ce946c503e07c7d53597f443d1a646 Author: Ralf Gommers Date: 2012-05-20 (Sun, 20 May 2012) Changed paths: A doc/release/1.6.1-notes.rst A doc/release/1.6.2-notes.rst M doc/source/release.rst M release.sh Log Message: ----------- MAINT: port release notes and release script changes from 1.6.x. From noreply at github.com Sun May 20 19:46:46 2012 From: noreply at github.com (GitHub) Date: Sun, 20 May 2012 16:46:46 -0700 Subject: [Numpy-svn] [numpy/numpy] ebffab: BUG: Changed ipmt to accept array_like arguments. Message-ID: <4fb982664d962_58011b5fae4816cd@sh3.rs.github.com.mail> Branch: refs/heads/master Home: https://github.com/numpy/numpy Commit: ebffab2feca24dbd7b503d9b2519f60d6810091b https://github.com/numpy/numpy/commit/ebffab2feca24dbd7b503d9b2519f60d6810091b Author: Tim Cera Date: 2012-05-20 (Sun, 20 May 2012) Changed paths: M numpy/lib/financial.py M numpy/lib/tests/test_financial.py Log Message: ----------- BUG: Changed ipmt to accept array_like arguments. The ipmt function was also fixed to handle broadcasting. The tests were improved and extended to cover the broadcasting capability. From noreply at github.com Sun May 20 19:56:45 2012 From: noreply at github.com (GitHub) Date: Sun, 20 May 2012 16:56:45 -0700 Subject: [Numpy-svn] [numpy/numpy] 3f45ea: Fix numpy.distutils to find atlas BLAS on Ubuntu Message-ID: <4fb984bd18208_477612e9af41304b7@sh2.rs.github.com.mail> Branch: refs/heads/master Home: https://github.com/numpy/numpy Commit: 3f45eaa310b0ead7270d56697018173dc4b7daad https://github.com/numpy/numpy/commit/3f45eaa310b0ead7270d56697018173dc4b7daad Author: Nathaniel J. Smith Date: 2012-05-20 (Sun, 20 May 2012) Changed paths: M numpy/distutils/system_info.py Log Message: ----------- Fix numpy.distutils to find atlas BLAS on Ubuntu As per discussion here: http://mail.scipy.org/pipermail/numpy-discussion/2012-May/062363.html numpy.distutils was failing to find BLAS on my Ubuntu 11.04 system. The problem is that _check_libs looks for libraries in several directories, and it turns out that the "atlas" library was found in both /usr/lib64/atlas-base *and* in /usr/lib64, which confused _check_libs into thinking that it couldn't be found at all. With this fix, scipy now builds against numpy master for me. From noreply at github.com Mon May 28 12:39:22 2012 From: noreply at github.com (GitHub) Date: Mon, 28 May 2012 09:39:22 -0700 Subject: [Numpy-svn] [numpy/numpy] b7e76c: ENH: Explicit import of modules into the space in ... Message-ID: <4fc3aa3a6f12b_34641c16af028521e@sh3.rs.github.com.mail> Branch: refs/heads/master Home: https://github.com/numpy/numpy Commit: b7e76c15da2d20d194dc56355e0dbabfdaa45636 https://github.com/numpy/numpy/commit/b7e76c15da2d20d194dc56355e0dbabfdaa45636 Author: Yaroslav Halchenko Date: 2012-05-21 (Mon, 21 May 2012) Changed paths: M numpy/core/__init__.py Log Message: ----------- ENH: Explicit import of modules into the space in core/__init__.py Otherwise there is no strict guarantee that they would be available later on during population of __all__. This issue was ran into while opening a python file in emacs with python-mode and ropemacs: Loading pymacs...done Pymacs loading ropemacs... File mode specification error: (error "Python: Traceback (most recent call last): File \"/usr/lib/python2.7/dist-packages/Pymacs/pymacs.py\", line 146, in loop value = eval(text) File \"\", line 1, in File \"/usr/lib/python2.7/dist-packages/Pymacs/pymacs.py\", line 246, in pymacs_load_helper object = __import__(module_name) File \"/usr/lib/python2.7/dist-packages/ropemacs/__init__.py\", line 4, in import ropemode.interface File \"/usr/lib/python2.7/dist-packages/ropemode/interface.py\", line 3, in import rope.base.change File \"/usr/lib/python2.7/dist-packages/rope/base/change.py\", line 2, in import difflib File \"/usr/lib/python2.7/difflib.py\", line 36, in from collections import namedtuple as _namedtuple File \"collections.py\", line 16, in import numpy as np File \"/usr/lib/pymodules/python2.7/numpy/__init__.py\", line 137, in import add_newdocs File \"/usr/lib/pymodules/python2.7/numpy/add_newdocs.py\", line 9, in from numpy.lib import add_newdoc File \"/usr/lib/pymodules/python2.7/numpy/lib/__init__.py\", line 4, in from type_check import * File \"/usr/lib/pymodules/python2.7/numpy/lib/type_check.py\", line 8, in import numpy.core.numeric as _nx File \"/usr/lib/pymodules/python2.7/numpy/core/__init__.py\", line 30, in __all__ += numeric.__all__ NameError: name numeric is not defined ") Commit: fce322d5605793f6a5baecfd7f620c79936b768c https://github.com/numpy/numpy/commit/fce322d5605793f6a5baecfd7f620c79936b768c Author: Travis E. Oliphant Date: 2012-05-28 (Mon, 28 May 2012) Changed paths: M numpy/core/__init__.py Log Message: ----------- Merge pull request #286 from yarikoptic/master Explicit import of modules into the space in core/__init__.py Compare: https://github.com/numpy/numpy/compare/3f45eaa...fce322d From noreply at github.com Mon May 28 12:42:29 2012 From: noreply at github.com (GitHub) Date: Mon, 28 May 2012 09:42:29 -0700 Subject: [Numpy-svn] [numpy/numpy] e3e502: Add a little command-line tool for running tests, ... Message-ID: <4fc3aaf5a16d2_2738192eaf41669a8@sh3.rs.github.com.mail> Branch: refs/heads/master Home: https://github.com/numpy/numpy Commit: e3e5028e2e5c1e55b63dac6624df1c6713a6d274 https://github.com/numpy/numpy/commit/e3e5028e2e5c1e55b63dac6624df1c6713a6d274 Author: Nathaniel J. Smith Date: 2012-05-21 (Mon, 21 May 2012) Changed paths: M .gitignore A tools/test-installed-numpy.py A tox.ini Log Message: ----------- Add a little command-line tool for running tests, plus tox support Tox is a handy little tool to make it easier than not to run proper tests that exercise the build system and are run against multiple Python versions: http://pypi.python.org/pypi/tox See comment at the top of tox.ini for hints. Commit: 470c8572022ad2cecb21224bfeb8108524fd510a https://github.com/numpy/numpy/commit/470c8572022ad2cecb21224bfeb8108524fd510a Author: Travis E. Oliphant Date: 2012-05-28 (Mon, 28 May 2012) Changed paths: M .gitignore A tools/test-installed-numpy.py A tox.ini Log Message: ----------- Merge pull request #285 from njsmith/add-tox Add a little command-line tool for running tests, plus tox support Compare: https://github.com/numpy/numpy/compare/fce322d...470c857 From noreply at github.com Wed May 30 03:34:29 2012 From: noreply at github.com (GitHub) Date: Wed, 30 May 2012 00:34:29 -0700 Subject: [Numpy-svn] [numpy/numpy] c6b67f: DOC: Remove duplicate unique links in HOWTO_DOCUME... Message-ID: <4fc5cd85a161d_12bc10b5ae41131b@sh2.rs.github.com.mail> Branch: refs/heads/master Home: https://github.com/numpy/numpy Commit: c6b67ff101291aaa99d49893f4bb3e653f43b3c9 https://github.com/numpy/numpy/commit/c6b67ff101291aaa99d49893f4bb3e653f43b3c9 Author: Stefan van der Walt Date: 2012-05-30 (Wed, 30 May 2012) Changed paths: M doc/HOWTO_DOCUMENT.rst.txt Log Message: ----------- DOC: Remove duplicate unique links in HOWTO_DOCUMENT. From noreply at github.com Thu May 31 12:54:12 2012 From: noreply at github.com (GitHub) Date: Thu, 31 May 2012 09:54:12 -0700 Subject: [Numpy-svn] [numpy/numpy] 1fa15b: BUG: '-framework Python' is not needed and can int... Message-ID: <4fc7a234563ad_6f14f87af016718e@sh3.rs.github.com.mail> Branch: refs/heads/master Home: https://github.com/numpy/numpy Commit: 1fa15b0708f62096f0301d3c2fe4442db1ec145d https://github.com/numpy/numpy/commit/1fa15b0708f62096f0301d3c2fe4442db1ec145d Author: Robert Kern Date: 2012-05-31 (Thu, 31 May 2012) Changed paths: M numpy/distutils/fcompiler/intel.py Log Message: ----------- BUG: '-framework Python' is not needed and can interfere. From noreply at github.com Thu May 31 14:13:07 2012 From: noreply at github.com (GitHub) Date: Thu, 31 May 2012 11:13:07 -0700 Subject: [Numpy-svn] [numpy/numpy] 689026: BUG: add missing test data in bento build. Message-ID: <4fc7b4b386592_5e2d119cae81162e1@sh3.rs.github.com.mail> Branch: refs/heads/master Home: https://github.com/numpy/numpy Commit: 689026311449adc87114998d6d8a1c977278960e https://github.com/numpy/numpy/commit/689026311449adc87114998d6d8a1c977278960e Author: David Cournapeau Date: 2012-05-31 (Thu, 31 May 2012) Changed paths: M bento.info Log Message: ----------- BUG: add missing test data in bento build. Commit: 42cb7911f4183ae4fee331a207012a006f28d778 https://github.com/numpy/numpy/commit/42cb7911f4183ae4fee331a207012a006f28d778 Author: David Cournapeau Date: 2012-05-31 (Thu, 31 May 2012) Changed paths: M bento.info Log Message: ----------- BUG: add missing f2py files in bento build. Commit: d2589285674934ae544e1f4f5d9e4df93c297903 https://github.com/numpy/numpy/commit/d2589285674934ae544e1f4f5d9e4df93c297903 Author: David Cournapeau Date: 2012-05-31 (Thu, 31 May 2012) Changed paths: M bento.info M numpy/core/bscript Log Message: ----------- BUG: install required generated headers. Commit: fc466d4410ac05d2a80d29541579e8d1145d40f8 https://github.com/numpy/numpy/commit/fc466d4410ac05d2a80d29541579e8d1145d40f8 Author: David Cournapeau Date: 2012-05-31 (Thu, 31 May 2012) Changed paths: M numpy/core/bento.info M numpy/core/bscript Log Message: ----------- BUG: add missing umath_tests extension to bento build. Commit: 87295b3e2202da7a9bfe44062c0c715b5bc08d6f https://github.com/numpy/numpy/commit/87295b3e2202da7a9bfe44062c0c715b5bc08d6f Author: David Cournapeau Date: 2012-05-31 (Thu, 31 May 2012) Changed paths: M bscript M numpy/core/bscript M numpy/random/bscript Log Message: ----------- REF: use simpler API in top bscript. We use the new register_outputs_simple + remove some redundant code. Commit: 7ec6cf4216abbe3539ce0cca3d53a436c1e6deb5 https://github.com/numpy/numpy/commit/7ec6cf4216abbe3539ce0cca3d53a436c1e6deb5 Author: David Cournapeau Date: 2012-05-31 (Thu, 31 May 2012) Changed paths: M numpy/core/bscript M numpy/fft/bscript M numpy/lib/bscript Log Message: ----------- REF: simplify extension customization. We are using the new tweak_* bento API wherever possible. Commit: fd78546183651fc47c2d3429d03bed0a4299d475 https://github.com/numpy/numpy/commit/fd78546183651fc47c2d3429d03bed0a4299d475 Author: David Cournapeau Date: 2012-05-31 (Thu, 31 May 2012) Changed paths: M bscript Log Message: ----------- BUG: fix CBLAS/LAPACK detection logic. Compare: https://github.com/numpy/numpy/compare/1fa15b0...fd78546