Hi Kirill! On Sat, Sep 10, 2011 at 9:10 AM, Kirill Smelkov <k...@mns.spb.ru> wrote: > 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 for reporting the bug. I verified, that it is present in 0.14.1+, but in the latest git master (upstream) b1adce4, it works again. So I assume it was already fixed upstream. What exactly is "def degree = 1.0" supposed to do? I know what this does: cdef double degree = 1.0 But that is something different (I assume). Ondrej -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org