[Python-modules-commits] r24248 - in packages/scipy/trunk/debian (3 files)
jtaylor-guest at users.alioth.debian.org
jtaylor-guest at users.alioth.debian.org
Thu May 9 10:43:13 UTC 2013
Date: Thursday, May 9, 2013 @ 10:43:11
Author: jtaylor-guest
Revision: 24248
cython-wraparound.patch: fix issue in ckdtree.pyx
Added:
packages/scipy/trunk/debian/patches/cython-wraparound.patch
Modified:
packages/scipy/trunk/debian/changelog
packages/scipy/trunk/debian/patches/series
Modified: packages/scipy/trunk/debian/changelog
===================================================================
--- packages/scipy/trunk/debian/changelog 2013-05-09 10:43:06 UTC (rev 24247)
+++ packages/scipy/trunk/debian/changelog 2013-05-09 10:43:11 UTC (rev 24248)
@@ -9,6 +9,7 @@
* print skipped tests and unused skips in autopkgtest scripts
* add-swig-filetypes.patch, reswig.patch:
reswigging from setup.py, dropped from debian/rules
+ * cython-wraparound.patch: fix issue in ckdtree.pyx
* refresh patches and remove upstream applied:
- BUG-fix-dependency-on-dict-ordering-in-test.patch
- BUG-remove-inline-statement-rejected-by-cython.patch
Added: packages/scipy/trunk/debian/patches/cython-wraparound.patch
===================================================================
--- packages/scipy/trunk/debian/patches/cython-wraparound.patch (rev 0)
+++ packages/scipy/trunk/debian/patches/cython-wraparound.patch 2013-05-09 10:43:11 UTC (rev 24248)
@@ -0,0 +1,22 @@
+Description: drop wrong cython.wraparound(False)
+Bug: https://github.com/scipy/scipy/issues/2427
+Origin: https://github.com/scipy/scipy/pull/2435
+
+--- a/scipy/spatial/ckdtree.pyx
++++ b/scipy/spatial/ckdtree.pyx
+@@ -1164,7 +1164,6 @@ cdef class cKDTree:
+
+
+ @cython.boundscheck(False)
+- @cython.wraparound(False)
+ def query(cKDTree self, object x, np.intp_t k=1, np.float64_t eps=0,
+ np.float64_t p=2, np.float64_t distance_upper_bound=infinity):
+ """query(self, x, k=1, eps=0, p=2, distance_upper_bound=np.inf)
+@@ -1864,7 +1863,6 @@ cdef class cKDTree:
+ return 0
+
+ @cython.boundscheck(False)
+- @cython.wraparound(False)
+ def count_neighbors(cKDTree self, cKDTree other, object r, np.float64_t p=2.):
+ """count_neighbors(self, other, r, p)
+
Modified: packages/scipy/trunk/debian/patches/series
===================================================================
--- packages/scipy/trunk/debian/patches/series 2013-05-09 10:43:06 UTC (rev 24247)
+++ packages/scipy/trunk/debian/patches/series 2013-05-09 10:43:11 UTC (rev 24248)
@@ -2,3 +2,4 @@
blitz++.patch
add-swig-filetypes.patch
reswig.patch
+cython-wraparound.patch
More information about the Python-modules-commits
mailing list