[Numpy-svn] [numpy/numpy] 87a445: BUG: Disallow writing to flat iterators for readon...

GitHub noreply@github....
Fri Jun 8 06:33:13 CDT 2012


  Branch: refs/heads/master
  Home:   https://github.com/numpy/numpy
  Commit: 87a445e461fdc25fc682130e0c058e5dd022695f
      https://github.com/numpy/numpy/commit/87a445e461fdc25fc682130e0c058e5dd022695f
  Author: Travis E. Oliphant <teoliphant@gmail.com>
  Date:   2012-06-08 (Fri, 08 Jun 2012)

  Changed paths:
    M numpy/core/src/multiarray/getset.c
    M numpy/core/src/multiarray/iterators.c
    M numpy/core/tests/test_multiarray.py

  Log Message:
  -----------
  BUG: Disallow writing to flat iterators for readonly arrays. Ensure __array__ does not create UPDATEIFCOPY if underlying array on iterator is readonly.   Plus some tests.


  Commit: 501309341f3cb54c7fbcdeffb342ee217cfa5ade
      https://github.com/numpy/numpy/commit/501309341f3cb54c7fbcdeffb342ee217cfa5ade
  Author: Travis E. Oliphant <teoliphant@gmail.com>
  Date:   2012-06-08 (Fri, 08 Jun 2012)

  Changed paths:
    M numpy/core/src/multiarray/getset.c
    M numpy/core/src/multiarray/iterators.c
    M numpy/core/tests/test_multiarray.py

  Log Message:
  -----------
  Merge pull request #299 from teoliphant/fixup_flat

Fix flat arrays so they cannot be used to write to read-only memory.


Compare: https://github.com/numpy/numpy/compare/ac94777...5013093


More information about the Numpy-svn mailing list