projects
/
cython.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c33942d
)
fixed DEF constant integer parsing (bug 220108)
author
Stefan Behnel
<scoder@users.berlios.de>
Mon, 21 Apr 2008 05:59:02 +0000
(07:59 +0200)
committer
Stefan Behnel
<scoder@users.berlios.de>
Mon, 21 Apr 2008 05:59:02 +0000
(07:59 +0200)
Cython/Compiler/ExprNodes.py
patch
|
blob
|
history
diff --git
a/Cython/Compiler/ExprNodes.py
b/Cython/Compiler/ExprNodes.py
index a6d0bd7b606d5c7718e34f185d969389b0da6129..77aa1bd9ffbeb47456bcea3cfff0b9e7807703ab 100644
(file)
--- 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):