diff options
author | Pauli Virtanen <pav@iki.fi> | 2009-12-06 16:20:07 +0000 |
---|---|---|
committer | Pauli Virtanen <pav@iki.fi> | 2009-12-06 16:20:07 +0000 |
commit | 577dbbd844b60958a59e062dae428a34a9c3644f (patch) | |
tree | d16fa96f2191c5a57c48bbc6ad0277bedd3c65f5 /numpy/polynomial/chebyshev.py | |
parent | b860d14381adc72323c0a8f5f47af39259604d09 (diff) | |
download | numpy-577dbbd844b60958a59e062dae428a34a9c3644f.tar.gz |
BUG: add a work-around for #1312 -- don't define bf_releasebuffer at all
The problem is that PyArg_ParseTuple("s#", ...) does not accept objects
with the new buffer interface, if they have bf_releasebuffer defined.
We now work around this by not defining bf_releasebuffer, and releasing
any info associated with the buffer interface when array or its
descriptor is deallocated.
The shape+strides information for arrays stays static due to the
refcounting lock. The format information for dtypes may change
if field names are changed on-the-fly.
XXX: dtype field name changes are not currently handled.
Diffstat (limited to 'numpy/polynomial/chebyshev.py')
0 files changed, 0 insertions, 0 deletions