From 8fbd8049816927ef80b6fdd5aa9d95b135fef38c Mon Sep 17 00:00:00 2001 From: Stefan Behnel Date: Mon, 21 Apr 2008 07:59:02 +0200 Subject: [PATCH] fixed DEF constant integer parsing (bug 220108) --- Cython/Compiler/ExprNodes.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Cython/Compiler/ExprNodes.py b/Cython/Compiler/ExprNodes.py index a6d0bd7b..77aa1bd9 100644 --- a/Cython/Compiler/ExprNodes.py +++ b/Cython/Compiler/ExprNodes.py @@ -669,7 +669,7 @@ class IntNode(ConstNode): return str(self.value) def compile_time_value(self, denv): - return int(self.value) + return int(self.value, 0) class FloatNode(ConstNode): -- 2.26.2