[Python-apps-team] Bug#641128: Bug#641128: cython: Compiler crash on 'DEF degree = 3.14/180' (squeeze regression)
Yaroslav Halchenko
debian at onerussian.com
Thu Sep 15 16:10:28 UTC 2011
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
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.
--
=------------------------------------------------------------------=
Keep in touch www.onerussian.com
Yaroslav Halchenko www.ohloh.net/accounts/yarikoptic
More information about the Python-apps-team
mailing list