[Python-apps-team] Bug#641128: cython: Compiler crash on 'DEF degree = 3.14/180' (squeeze regression)

Kirill Smelkov kirr at mns.spb.ru
Sat Sep 10 16:10:09 UTC 2011


Package: cython
Version: 0.12.1-1.1
Severity: normal

Hello,

for simple example provided below

---- 8< ---- (defbug.pyx)
DEF degree = 3.14/180
---- 8< ----

Cython from Debian Squeeze 0.12.1-1.1 is crashing:

    $ cython defbug.pyx

    Error converting Pyrex file to C:
    ------------------------------------------------------------
    ...
    DEF degree = 3.14/180
                    ^
    ------------------------------------------------------------

    /home/kirr/tmp/trashme/cyt/defbug.pyx:1:17: Error in compile-time expression: TypeError: find_compile_time_binary_operator() takes exactly 3 arguments (4 given)

    Error converting Pyrex file to C:


    $

It used to work with Cython 0.9.8-1 from Debian Lenny.


Thanks beforehand,
Kirill

P.S. I'm reporting this bug from Lenny based system with Cython
cherry-picked from Squeeze. I've also verified that Cython has the same
problem in Squeeze based system too.


-- System Information:
Debian Release: 5.0.8
  APT prefers oldstable
  APT policy: (500, 'oldstable')
Architecture: i386 (i686)

Kernel: Linux 3.0.4-tugrik (SMP w/4 CPU cores; PREEMPT)
Locale: LANG=ru_RU.UTF-8, LC_CTYPE=ru_RU.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages cython depends on:
ii  libc6                       2.7-18lenny7 GNU C Library: Shared libraries
ii  python                      2.5.2-3      An interactive high-level object-o
ii  python-support              1.0.10       automated rebuilding support for P
ii  python2.6                   2.6.6-8+b1   An interactive high-level object-o

cython recommends no packages.

Versions of packages cython suggests:
ii  gcc                           4:4.3.2-2  The GNU C compiler

-- debconf-show failed





More information about the Python-apps-team mailing list