From: Robert Bradshaw Date: Wed, 8 Oct 2008 06:38:32 +0000 (-0700) Subject: minor fixes X-Git-Tag: 0.9.9.2.beta~59 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=1b1d87698345d5b6f0a976c3acfc16fcc9589d20;p=cython.git minor fixes --- diff --git a/Cython/Compiler/ExprNodes.py b/Cython/Compiler/ExprNodes.py index be4389ee..978d9ef6 100644 --- a/Cython/Compiler/ExprNodes.py +++ b/Cython/Compiler/ExprNodes.py @@ -2914,12 +2914,12 @@ class DictNode(ExprNode): def analyse_types(self, env): hold_errors() + self.type = dict_type for item in self.key_value_pairs: item.analyse_types(env) self.gil_check(env) self.obj_conversion_errors = held_errors() release_errors(ignore=True) - self.type = dict_type self.is_temp = 1 def coerce_to(self, dst_type, env):