New version
authorRobert Bradshaw <robertwb@math.washington.edu>
Thu, 11 Oct 2007 08:43:09 +0000 (01:43 -0700)
committerRobert Bradshaw <robertwb@math.washington.edu>
Thu, 11 Oct 2007 08:43:09 +0000 (01:43 -0700)
Cython/Compiler/ExprNodes.py
Cython/Compiler/Version.py

index 4a234c8cacd5489507b39ed0498bebaeff88b996..74e2efc798dc941c7a861551ea48eb7f844c97e4 100644 (file)
@@ -596,13 +596,11 @@ class CharNode(ConstNode):
 class IntNode(ConstNode):
     type = PyrexTypes.c_long_type
 
-    def analyse_types(self, env):
-        self.entry = env.get_py_num(self.value)
-    
     def coerce_to(self, dst_type, env):
         # Arrange for a Python version of the string to be pre-allocated
         # when coercing to a Python type.
         if dst_type.is_pyobject:
+            self.entry = env.get_py_num(self.value)
             self.type = PyrexTypes.py_object_type
         # We still need to perform normal coerce_to processing on the
         # result, because we might be coercing to an extension type,
index a167c422f4f63131cbed21786a3691c6a24d14b0..2375f04ffbc083bfa41a30f860637c58effb0c8d 100644 (file)
@@ -1 +1 @@
-version = '0.9.6.6'
+version = '0.9.6.7'