[Python-apps-team] Bug#464751: cython: cannot use the 'unicode' built-in function

Jakub Wilk ubanus at users.sf.net
Fri Feb 8 19:42:14 UTC 2008


Package: cython
Version: 0.9.6.11.ds-1
Severity: normal


$ cat buggy.pyx
x = basestring # OK
x = str # OK
x = unicode # fails


$ cython buggy.pyx

Error converting Pyrex file to C:
------------------------------------------------------------
...
x = basestring # OK
x = str # OK
x = unicode # fails
                   ^
------------------------------------------------------------

/tmp/buggy.pyx:3:19: Cannot convert 'object (object)' to Python object


-- System Information:
Debian Release: lenny/sid
   APT prefers testing
   APT policy: (900, 'testing'), (600, 'unstable'), (500, 'experimental')
Architecture: i386 (i686)

Kernel: Linux 2.6.22-3-686 (SMP w/1 CPU core)
Locale: LANG=C, LC_CTYPE=pl_PL (charmap=ISO-8859-2)
Shell: /bin/sh linked to /bin/dash

Versions of packages cython depends on:
ii  python                        2.4.4-6    An interactive high-level object-o
ii  python-support                0.7.6      automated rebuilding support for p

cython recommends no packages.

-- no debconf information

-- 
Jakub Wilk





More information about the Python-apps-team mailing list