diff options
author | Travis Oliphant <oliphant@enthought.com> | 2006-10-12 06:18:04 +0000 |
---|---|---|
committer | Travis Oliphant <oliphant@enthought.com> | 2006-10-12 06:18:04 +0000 |
commit | e5bb060c98b5ad52c98c24e45fe81ce3737ba5f4 (patch) | |
tree | c3f6ebcd1d5a7607642c9f0f5b2006c140a577c0 /numpy/core/numeric.py | |
parent | cf3eb93b05da716e16b87c30d7b5e08c22115330 (diff) | |
download | numpy-e5bb060c98b5ad52c98c24e45fe81ce3737ba5f4.tar.gz |
Fix
asbuffer -> int_asbuffer so that it checks for read (and write) ability to the memory to be used as a buffer by catching SIG_SEGV
Diffstat (limited to 'numpy/core/numeric.py')
-rw-r--r-- | numpy/core/numeric.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/numpy/core/numeric.py b/numpy/core/numeric.py index 8a5797e8b..0a211ff61 100644 --- a/numpy/core/numeric.py +++ b/numpy/core/numeric.py @@ -1,7 +1,7 @@ __all__ = ['newaxis', 'ndarray', 'flatiter', 'ufunc', 'arange', 'array', 'zeros', 'empty', 'broadcast', 'dtype', 'fromstring', 'fromfile', 'frombuffer','newbuffer', - 'getbuffer', 'where', 'argwhere', + 'getbuffer', 'int_asbuffer', 'where', 'argwhere', 'concatenate', 'fastCopyAndTranspose', 'lexsort', 'set_numeric_ops', 'can_cast', 'asarray', 'asanyarray', 'ascontiguousarray', 'asfortranarray', @@ -113,6 +113,7 @@ fromfile = multiarray.fromfile frombuffer = multiarray.frombuffer newbuffer = multiarray.newbuffer getbuffer = multiarray.getbuffer +int_asbuffer = multiarray.int_asbuffer where = multiarray.where concatenate = multiarray.concatenate fastCopyAndTranspose = multiarray._fastCopyAndTranspose |