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

Kirill Smelkov kirr at mns.spb.ru
Fri Sep 16 07:54:24 UTC 2011


On Thu, Sep 15, 2011 at 12:10:28PM -0400, Yaroslav Halchenko wrote:
> wow -- thanks Kirill for the details!  I think within few days we will
> get 0.15  (or post 0.15 snapshot unless 0.15.1 gets released) into
> Debian which should close this issue

Thanks. It's good that 0.15.* will hopefully make it into Sid soon, but
I'd like to clarify that my point here is that we should apply the fix
for the regression to Squeeze as well.

Thanks again,
Kirill


> On Tue, 13 Sep 2011, Kirill Smelkov wrote:
> 
> 
> > and fixed in 0.14.1-111-g78e134e (unfortunately without tests):
> 
> > commit 78e134ede7646bacfaaafb71172fd4f86b890d0f
> > Author: Robert Bradshaw <robertwb at math.washington.edu>
> > Date:   Thu Mar 3 11:07:23 2011 -0800
> 
> >     Fix compile time division.
> 
> > diff --git a/Cython/Compiler/ExprNodes.py b/Cython/Compiler/ExprNodes.py
> > index c965251..1fe8538 100755
> > --- a/Cython/Compiler/ExprNodes.py
> > +++ b/Cython/Compiler/ExprNodes.py
> > @@ -5992,7 +5992,7 @@ class DivNode(NumBinopNode):
> >          operand2 = self.operand2.compile_time_value(denv)
> >          try:
> >              func = self.find_compile_time_binary_operator(
> > -                self, operand1, operand2)
> > +                operand1, operand2)
> >              return func(operand1, operand2)
> >          except Exception, e:
> >              self.compile_time_value_error(e)
> 
> 
> > which I think should be backported to Debian Cython packages.





More information about the Python-apps-team mailing list