Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 129716 Details for
Bug 176914
dev-python/numeric is not compatible with python-2.5 on 64bit arches
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
python 2.5 fix for numeric-24.2
fix3.patch (text/plain), 638 bytes, created by
Daniel Drake (RETIRED)
on 2007-08-31 20:58:23 UTC
(
hide
)
Description:
python 2.5 fix for numeric-24.2
Filename:
MIME Type:
Creator:
Daniel Drake (RETIRED)
Created:
2007-08-31 20:58:23 UTC
Size:
638 bytes
patch
obsolete
> >From: Daniel Drake <d.drake@mmm.com> > >Fix list slicing on python 2.5 > >Numeric.arange(0,10) was working fine but Numeric.arange(0,10)[:] was >returning nonsense. Using the correct data type fixes the problem. > >Index: Numeric-24.2/Src/arrayobject.c >=================================================================== >--- Numeric-24.2.orig/Src/arrayobject.c >+++ Numeric-24.2/Src/arrayobject.c >@@ -708,7 +708,7 @@ extern PyObject *PyArray_Return(PyArrayO > } > > static PyObject * >-array_slice(PyArrayObject *self, int ilow, int ihigh) >+array_slice(PyArrayObject *self, Py_ssize_t ilow, Py_ssize_t ihigh) > { > PyArrayObject *r; > int l;
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 176914
:
122841
| 129716