diff options
author | Mark Wiebe <mwwiebe@gmail.com> | 2011-01-17 14:54:02 -0800 |
---|---|---|
committer | Mark Wiebe <mwwiebe@gmail.com> | 2011-01-17 14:57:57 -0800 |
commit | 22d96096bf7d5fb199ca80f2fcd04e8d27815476 (patch) | |
tree | ba1304d57403375b20a7837c9d6909a4799b0d45 /numpy/add_newdocs.py | |
parent | e39a70cffdd40ed2868a574803bd9535289d528d (diff) | |
download | numpy-22d96096bf7d5fb199ca80f2fcd04e8d27815476.tar.gz |
ENH: core: Replace PyArray_CastTo with a call to PyArray_CopyInto
Since CopyInto uses the dtype transfer mechanism to do the copying,
this also fully handles casting. This also exposed a byte order issue
in the dtype transfer code of converting to object arrays.
The switch from position-based structure copying to name-based copying
required a small change to a masked array test as well.
Diffstat (limited to 'numpy/add_newdocs.py')
0 files changed, 0 insertions, 0 deletions