[Biopython-dev] [Bug 2251] [PATCH] NumPy support for BioPython

bugzilla-daemon at portal.open-bio.org bugzilla-daemon at portal.open-bio.org
Sun Apr 29 10:57:44 UTC 2007


------- Comment #11 from mdehoon at ims.u-tokyo.ac.jp  2007-04-29 06:57 EST -------
Looking at this patch again, it seems that it is still broken for 64-bits

In NumPy, the struct PyArrayObject has a member npy_intp *dimensions. In
parse_array, we set nrows and ncols equal to dimensions[0] and dimensions[1],
respectively. The variables nrows and ncols are both int. What if npy_intp* is
not equal to int*?

By the way, I don't quite understand why the dimensions member is declared
npy_intp* in NumPy. In Numeric, the same member is int*, so in NumPy I would
expect to find npy_intp without the *.

Configure bugmail: http://bugzilla.open-bio.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

More information about the Biopython-dev mailing list