[Python-apps-commits] r10391 - in packages/cython/trunk/debian (3 files)
jtaylor-guest at users.alioth.debian.org
jtaylor-guest at users.alioth.debian.org
Wed Jan 22 19:35:55 UTC 2014
Date: Wednesday, January 22, 2014 @ 19:35:54
Author: jtaylor-guest
Revision: 10391
signed-char.patch: Fix broken test when char type is unsigned
Added:
packages/cython/trunk/debian/patches/signed-char.patch
Modified:
packages/cython/trunk/debian/changelog
packages/cython/trunk/debian/patches/series
Modified: packages/cython/trunk/debian/changelog
===================================================================
--- packages/cython/trunk/debian/changelog 2014-01-22 18:00:32 UTC (rev 10390)
+++ packages/cython/trunk/debian/changelog 2014-01-22 19:35:54 UTC (rev 10391)
@@ -1,3 +1,9 @@
+cython (0.20-2) unstable; urgency=low
+
+ * signed-char.patch: Fix broken test when char type is unsigned
+
+ -- Julian Taylor <jtaylor.debian at googlemail.com> Wed, 22 Jan 2014 18:58:54 +0100
+
cython (0.20-1) unstable; urgency=low
* Fresh upstream release
Modified: packages/cython/trunk/debian/patches/series
===================================================================
--- packages/cython/trunk/debian/patches/series 2014-01-22 18:00:32 UTC (rev 10390)
+++ packages/cython/trunk/debian/patches/series 2014-01-22 19:35:54 UTC (rev 10391)
@@ -0,0 +1,2 @@
+signed-char.patch
+
Added: packages/cython/trunk/debian/patches/signed-char.patch
===================================================================
--- packages/cython/trunk/debian/patches/signed-char.patch (rev 0)
+++ packages/cython/trunk/debian/patches/signed-char.patch 2014-01-22 19:35:54 UTC (rev 10391)
@@ -0,0 +1,15 @@
+Description: fix char signess
+ the tests pass negative values so it must be signed for -funsigned-char arches
+Bug: https://mail.python.org/pipermail/cython-devel/2014-January/003945.html
+--- cython-0.20.orig/tests/run/bytearraymethods.pyx 2014-01-22 01:15:03.664974383 +0000
++++ cython-0.20/tests/run/bytearraymethods.pyx 2014-01-22 01:15:26.305012661 +0000
+@@ -199,7 +199,7 @@
+ return bytearray.decode(s[start:stop], 'utf8')
+
+
+-def bytearray_append(bytearray b, char c, int i, object o):
++def bytearray_append(bytearray b, signed char c, int i, object o):
+ """
+ >>> b = bytearray(b'abc')
+ >>> b = bytearray_append(b, ord('x'), ord('y'), ord('z'))
+
More information about the Python-apps-commits
mailing list