diff options
author | Nathaniel J. Smith <njs@pobox.com> | 2012-05-14 23:43:45 +0100 |
---|---|---|
committer | Nathaniel J. Smith <njs@pobox.com> | 2012-05-15 15:02:24 +0100 |
commit | cbce4e6565e7a7fbe065502b264622ce7d64740a (patch) | |
tree | 62d357798d50da349e8e377ac0449ece2e0c23af /numpy/core/numeric.py | |
parent | 3bbbbd416a0ae68d68a11bbbedca1460a560378b (diff) | |
download | numpy-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/numeric.py')
0 files changed, 0 insertions, 0 deletions