[Numpy-svn] [numpy/numpy] 1d3bcb: ENH: Make swapaxes always return a view
GitHub
noreply at github.com
Tue Jan 20 22:44:46 EST 2015
Branch: refs/heads/master
Home: https://github.com/numpy/numpy
Commit: 1d3bcb446771ff16e9cf06e3a5d9cac20e68c4ac
https://github.com/numpy/numpy/commit/1d3bcb446771ff16e9cf06e3a5d9cac20e68c4ac
Author: jaimefrio <jaime.frio at gmail.com>
Date: 2015-01-20 (Tue, 20 Jan 2015)
Changed paths:
M doc/release/1.10.0-notes.rst
M numpy/core/fromnumeric.py
M numpy/core/src/multiarray/shape.c
Log Message:
-----------
ENH: Make swapaxes always return a view
swapaxes now returns a view of the input array when the axes to swap
are both the same, not the input array as it used to do. Fixes #5260
Commit: a7fdf04f2a527055afe53dfaffaca09931b12a2d
https://github.com/numpy/numpy/commit/a7fdf04f2a527055afe53dfaffaca09931b12a2d
Author: jaimefrio <jaime.frio at gmail.com>
Date: 2015-01-20 (Tue, 20 Jan 2015)
Changed paths:
M numpy/core/tests/test_multiarray.py
Log Message:
-----------
TST: swapaxes tests
Commit: 960433e8f5f39587d10c60ed1d3f50591434a82b
https://github.com/numpy/numpy/commit/960433e8f5f39587d10c60ed1d3f50591434a82b
Author: Charles Harris <charlesr.harris at gmail.com>
Date: 2015-01-20 (Tue, 20 Jan 2015)
Changed paths:
M doc/release/1.10.0-notes.rst
M numpy/core/fromnumeric.py
M numpy/core/src/multiarray/shape.c
M numpy/core/tests/test_multiarray.py
Log Message:
-----------
Merge pull request #5468 from jaimefrio/swapaxes_view
ENH: Make swapaxes always return a view. Fixes #5260
Compare: https://github.com/numpy/numpy/compare/e73d4fcb2a00...960433e8f5f3
More information about the Numpy-svn
mailing list