[NumPy-Tickets] [NumPy] #1643: [Py3] numpy arrays not recognized by struct module
NumPy Trac
numpy-tickets@scipy....
Wed Oct 20 00:05:55 CDT 2010
#1643: [Py3] numpy arrays not recognized by struct module
------------------------------+---------------------------------------------
Reporter: AndreasKloeckner | Owner: somebody
Type: defect | Status: new
Priority: normal | Milestone: 2.0.0
Component: Other | Version: devel
Keywords: |
------------------------------+---------------------------------------------
This error is new in Py3/Numpy 1.5 and looks spurious:
{{{
>>> import numpy, struct
>>> struct.pack("I", numpy.uint32(0))
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
struct.error: required argument is not an integer
}}}
Version Info:
{{{
Python 3.1.2 (release31-maint, Jul 8 2010, 09:18:08)
>>> numpy.__version__
'1.5.1rc1'
}}}
--
Ticket URL: <http://projects.scipy.org/numpy/ticket/1643>
NumPy <http://projects.scipy.org/numpy>
My example project
More information about the NumPy-Tickets
mailing list