summaryrefslogtreecommitdiff
path: root/numpy/core/fromnumeric.py
diff options
context:
space:
mode:
authorNathaniel J. Smith <njs@pobox.com>2012-05-14 23:43:45 +0100
committerNathaniel J. Smith <njs@pobox.com>2012-05-15 15:02:24 +0100
commitcbce4e6565e7a7fbe065502b264622ce7d64740a (patch)
tree62d357798d50da349e8e377ac0449ece2e0c23af /numpy/core/fromnumeric.py
parent3bbbbd416a0ae68d68a11bbbedca1460a560378b (diff)
downloadnumpy-cbce4e6565e7a7fbe065502b264622ce7d64740a.tar.gz
Consolidate all array writeability checking in new PyArray_RequireWriteable
This is mostly a code cleanup, but it does have a user-visible effect in that attempting to write to a unwriteable array now consistently raises ValueError. (It used to randomly raise either ValueError or RuntimeError.) Passes numpy.test("full").
Diffstat (limited to 'numpy/core/fromnumeric.py')
0 files changed, 0 insertions, 0 deletions