Commit 997ac5b6 authored by Robert Bradshaw's avatar Robert Bradshaw

New version

parent 9c1bf4c5
...@@ -596,13 +596,11 @@ class CharNode(ConstNode): ...@@ -596,13 +596,11 @@ class CharNode(ConstNode):
class IntNode(ConstNode): class IntNode(ConstNode):
type = PyrexTypes.c_long_type 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): def coerce_to(self, dst_type, env):
# Arrange for a Python version of the string to be pre-allocated # Arrange for a Python version of the string to be pre-allocated
# when coercing to a Python type. # when coercing to a Python type.
if dst_type.is_pyobject: if dst_type.is_pyobject:
self.entry = env.get_py_num(self.value)
self.type = PyrexTypes.py_object_type self.type = PyrexTypes.py_object_type
# We still need to perform normal coerce_to processing on the # We still need to perform normal coerce_to processing on the
# result, because we might be coercing to an extension type, # result, because we might be coercing to an extension type,
......
version = '0.9.6.6' version = '0.9.6.7'
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment