[Numpy-svn] [numpy/numpy] 93100c: Fix returned copy

GitHub noreply@github....
Fri Aug 31 16:45:41 CDT 2012


  Branch: refs/heads/master
  Home:   https://github.com/numpy/numpy
  Commit: 93100c92b57dd9663b688fdd94efc7d05ef7ff38
      https://github.com/numpy/numpy/commit/93100c92b57dd9663b688fdd94efc7d05ef7ff38
  Author: Jay Bourque <jay.bourque@continuum.io>
  Date:   2012-08-31 (Fri, 31 Aug 2012)

  Changed paths:
    M numpy/core/_internal.py
    M numpy/core/tests/test_multiarray.py

  Log Message:
  -----------
  Fix returned copy

Fix returned copy so that copy of view with offsets copies only fields in view, not all the fields from original array. Also add unit tests to make sure this doesn't break when copy is fully deprecated in favor of returning a view.


  Commit: c6d8734eddc133d2fe6babc7bde53d5e981945a1
      https://github.com/numpy/numpy/commit/c6d8734eddc133d2fe6babc7bde53d5e981945a1
  Author: Ondřej Čertík <ondrej.certik@gmail.com>
  Date:   2012-08-31 (Fri, 31 Aug 2012)

  Changed paths:
    M numpy/core/_internal.py
    M numpy/core/tests/test_multiarray.py

  Log Message:
  -----------
  Merge pull request #401 from jayvius/get-view-fix

BUG: Fix Ticket #2187


Compare: https://github.com/numpy/numpy/compare/68320a10f2e2...c6d8734eddc1


More information about the Numpy-svn mailing list