[Numpy-discussion] Is __array_interface__ supposed to work on numpy scalars?

Andrew Straw strawman@astraw....
Mon Jan 7 13:25:31 CST 2008


Hi,

I'm forwarding a bug from PyOpenGL. The developer, Mike Fletcher, is
having troubles accessing a numpy scalar with the __array_interface__.
Is this supposed to work? Or should __array_interface__ trigger an
AttributeError on a numpy scalar? Note that I haven't done any digging
on this myself...

-Andrew
-------------- next part --------------
An embedded message was scrubbed...
From: "SourceForge.net" <noreply@sourceforge.net>
Subject: [PyOpenGL-Devel] [ pyopengl-Bugs-1827190 ] Default (Numpy) array
	return values not accepted
Date: Mon, 07 Jan 2008 10:32:51 -0800
Size: 6481
Url: http://projects.scipy.org/pipermail/numpy-discussion/attachments/20080107/cb226ead/attachment-0001.eml 


More information about the Numpy-discussion mailing list