From: Stefan Behnel Date: Mon, 21 Apr 2008 05:59:02 +0000 (+0200) Subject: fixed DEF constant integer parsing (bug 220108) X-Git-Tag: 0.9.6.14~20^2~29 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=8fbd8049816927ef80b6fdd5aa9d95b135fef38c;p=cython.git fixed DEF constant integer parsing (bug 220108) --- 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):