[Numpy-discussion] copy4bytes: access beyond buffer
Simon Burton
simon at arrowtheory.com
Sun Feb 22 15:48:40 CST 2004
On Mon, 23 Feb 2004 10:27:53 +1100
Simon Burton <simon at arrowtheory.com> wrote:
> I posted this bug to the sf bugs page, but it seems to have disappeared.
> The bug remains. I've been using the CVS version. Is there anything I'm doing wrong?
>
OK, i think i see it now. shape=(2048,0) should be shape=(2048,). I have been using the C-API
aswell, and got confused.
Maybe there is a better exception to raise? Is it ever useful to have a shape=(2048,0) ?
Simon.
--
Simon Burton, B.Sc.
Licensed PO Box 8066
ANU Canberra 2601
Australia
Ph. 61 02 6249 6940
http://arrowtheory.com
More information about the Numpy-discussion
mailing list