[Numpy-svn] [numpy/numpy] 8b58d9: BUG: io: genfromtxt did not handle filling_values=...
GitHub
noreply at github.com
Sun Oct 26 10:15:08 EDT 2014
Branch: refs/heads/maintenance/1.9.x
Home: https://github.com/numpy/numpy
Commit: 8b58d982d481fc362c8dbe81daf47bd7719095e3
https://github.com/numpy/numpy/commit/8b58d982d481fc362c8dbe81daf47bd7719095e3
Author: Warren Weckesser <warren.weckesser at gmail.com>
Date: 2014-10-26 (Sun, 26 Oct 2014)
Changed paths:
M numpy/lib/npyio.py
M numpy/lib/tests/test_io.py
Log Message:
-----------
BUG: io: genfromtxt did not handle filling_values=0 correctly. Closes gh-2317.
Commit: 079fcfc7b3f997a88d1f36f37adb4ccfc61f9526
https://github.com/numpy/numpy/commit/079fcfc7b3f997a88d1f36f37adb4ccfc61f9526
Author: David M Fobes <pseudocubic at gmail.com>
Date: 2014-10-26 (Sun, 26 Oct 2014)
Changed paths:
M numpy/lib/function_base.py
M numpy/lib/tests/test_function_base.py
Log Message:
-----------
BUG: Fixes #5184 gradient calculation behavior at boundaries
* Previous expected behavior was that the gradient is computed using central
differences in the interior and first differences at the boundaries.
* gradient was updated in v1.9.0 so that second-order accurate calculations are
done at the boundaries, but this breaks expected behavior with old code, so
`edge_order` keyword (Default: 1) is added to specify whether first or second
order calculations at the boundaries should be used.
* Since the second argument is *varargs, in order to maintain compatibility
with old code and compatibility with python 2.6 & 2.7, **kwargs is used, and
all kwargs that are not `edge_order` raise an error, listing the offending
kwargs.
* Tests and documentation updated to reflect this change.
* Added `.. versionadded:: 1.9.1` to the new optional kwarg `edge_order`
documentation, and specified supported `edge_order` kwarg values.
* Clarified documentation for `varargs`.
* Made indentation in docstring consistent with other docstring styles.
* Examples corrected
Commit: c6900b2a0dec4b50f35eed95d969bcd4cc2eb0bc
https://github.com/numpy/numpy/commit/c6900b2a0dec4b50f35eed95d969bcd4cc2eb0bc
Author: Julian Taylor <juliantaylor108 at gmail.com>
Date: 2014-10-26 (Sun, 26 Oct 2014)
Changed paths:
M numpy/lib/function_base.py
M numpy/lib/npyio.py
M numpy/lib/tests/test_function_base.py
M numpy/lib/tests/test_io.py
Log Message:
-----------
Merge pull request #5234 from juliantaylor/backports-1.9.1
Backports for 1.9.1
Compare: https://github.com/numpy/numpy/compare/9b4b7b37efc7...c6900b2a0dec
More information about the Numpy-svn
mailing list