Package: cython
Version: 0.19+git51-g3078752-1
Severity: important
Control: block 708981 with -1

Apparently DEF silently converts byte strings to unicode strings:

$ cat testcase.pyx
DEF ABYTE = b'a'
print type(ABYTE)

$ python -c 'import pyximport as p; p.install(); import testcase'
<type 'unicode'>


This didn't happen with wheezy's cython.


-- System Information:
Debian Release: jessie/sid
  APT prefers unstable
  APT policy: (990, 'unstable'), (500, 'experimental')
Architecture: i386 (x86_64)
Foreign Architectures: amd64

Kernel: Linux 3.8-1-amd64 (SMP w/2 CPU cores)
Locale: LANG=C, LC_CTYPE=pl_PL.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages cython depends on:
ii  libc6   2.17-3
ii  python  2.7.3-5

Versions of packages cython recommends:
ii  gcc         4:4.8-0exp2
ii  python-dev  2.7.3-5

--
Jakub Wilk


--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to