[Numpy-svn] [numpy/numpy] 6363bb: Add ability to get view when selecting subset of f...

GitHub noreply@github....
Tue Jul 17 21:37:11 CDT 2012


  Branch: refs/heads/master
  Home:   https://github.com/numpy/numpy
  Commit: 6363bb7cbb1d0e292e8af87f92a28faf781d3d95
      https://github.com/numpy/numpy/commit/6363bb7cbb1d0e292e8af87f92a28faf781d3d95
  Author: jayvius <jay.bourque@continuum.io>
  Date:   2012-07-17 (Tue, 17 Jul 2012)

  Changed paths:
    M numpy/core/_internal.py
    M numpy/core/src/multiarray/mapping.c

  Log Message:
  -----------
  Add ability to get view when selecting subset of fields.

Add ability to get view when selecting subset of fields in a struct array,
for numpy 1.8.0. Currently a copy is still returned - set WARN_ON_WRITE flag
which will be removed in a future version of numpy.


  Commit: 0c09e1f184fde335f3533b0b9ef6ea46379309db
      https://github.com/numpy/numpy/commit/0c09e1f184fde335f3533b0b9ef6ea46379309db
  Author: jayvius <jay.bourque@continuum.io>
  Date:   2012-07-17 (Tue, 17 Jul 2012)

  Changed paths:
    M numpy/core/_internal.py
    M numpy/core/src/multiarray/mapping.c

  Log Message:
  -----------
  fix previous commit to return copy of view instead of view


  Commit: 91cb088047bd357a1b266fa8cb9d0deefea5820c
      https://github.com/numpy/numpy/commit/91cb088047bd357a1b266fa8cb9d0deefea5820c
  Author: jayvius <jay.bourque@continuum.io>
  Date:   2012-07-17 (Tue, 17 Jul 2012)

  Changed paths:
    M numpy/core/src/multiarray/arrayobject.c

  Log Message:
  -----------
  Change WARN_ON_WRITE Deprecation Warning

Change WARN_ON_WRITE Deprecation Warning to include returning a copy
when selecting muultiple fields of a structured array.


  Commit: a32325d1d5fc5e23622db5027a6dd35d42193e95
      https://github.com/numpy/numpy/commit/a32325d1d5fc5e23622db5027a6dd35d42193e95
  Author: jayvius <jay.bourque@continuum.io>
  Date:   2012-07-17 (Tue, 17 Jul 2012)

  Changed paths:
    M numpy/core/_internal.py

  Log Message:
  -----------
  Call view object's copy method


  Commit: 781468b5938ce1a79804613b222063d81e99963d
      https://github.com/numpy/numpy/commit/781468b5938ce1a79804613b222063d81e99963d
  Author: Jay Bourque <jay.bourque@continuum.io>
  Date:   2012-07-17 (Tue, 17 Jul 2012)

  Changed paths:
    M doc/source/reference/arrays.indexing.rst
    M numpy/core/src/multiarray/arrayobject.c

  Log Message:
  -----------
  Updated reference docs for DeprecationWarning


  Commit: bf58296eae309e92d8632bad4f52d602cb8c0f22
      https://github.com/numpy/numpy/commit/bf58296eae309e92d8632bad4f52d602cb8c0f22
  Author: Jay Bourque <jay.bourque@continuum.io>
  Date:   2012-07-17 (Tue, 17 Jul 2012)

  Changed paths:
    M doc/release/1.7.0-notes.rst

  Log Message:
  -----------
  update 1.7 release notes


  Commit: 2eb9610acab872538742ce7db5cbbae6cb23360e
      https://github.com/numpy/numpy/commit/2eb9610acab872538742ce7db5cbbae6cb23360e
  Author: Jay Bourque <jay.bourque@continuum.io>
  Date:   2012-07-17 (Tue, 17 Jul 2012)

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

  Log Message:
  -----------
  Add tests for record array indexing

- add tests for record array indexing with multiple field names
- add tests for DeprecationWarning when writing to array returned
  by record array indexing with multiple field names


  Commit: a03e8b4d286e91ef5823c059dcfb7a52ce420725
      https://github.com/numpy/numpy/commit/a03e8b4d286e91ef5823c059dcfb7a52ce420725
  Author: Jay Bourque <jay.bourque@continuum.io>
  Date:   2012-07-17 (Tue, 17 Jul 2012)

  Changed paths:
    M doc/release/1.7.0-notes.rst
    M doc/source/reference/arrays.indexing.rst
    M numpy/core/tests/test_multiarray.py

  Log Message:
  -----------
  change DeprecationWarning to FutureWarning


  Commit: bc1005324566269d016ad9c17a25b43c6b9fc1de
      https://github.com/numpy/numpy/commit/bc1005324566269d016ad9c17a25b43c6b9fc1de
  Author: Travis E. Oliphant <teoliphant@gmail.com>
  Date:   2012-07-17 (Tue, 17 Jul 2012)

  Changed paths:
    M doc/release/1.7.0-notes.rst
    M doc/source/reference/arrays.indexing.rst
    M numpy/core/_internal.py
    M numpy/core/src/multiarray/arrayobject.c
    M numpy/core/src/multiarray/mapping.c
    M numpy/core/tests/test_multiarray.py

  Log Message:
  -----------
  Merge pull request #350 from jayvius/get-view2

Add transition code for returning view when selecting subset of fields


Compare: https://github.com/numpy/numpy/compare/578a4199a81e...bc1005324566


More information about the Numpy-svn mailing list