Commit 12d2b845 authored by gsamain's avatar gsamain

Fix DictNode nogil attribute lookup

parent b044a595
...@@ -8833,7 +8833,7 @@ class DictNode(ExprNode): ...@@ -8833,7 +8833,7 @@ class DictNode(ExprNode):
code.putln('}') code.putln('}')
if self.exclude_null_values: if self.exclude_null_values:
code.putln('}') code.putln('}')
elif self.type.nogil: elif hasattr(self.type, 'nogil') and self.type.nogil:
code.putln("%s->%s = %s;" % ( code.putln("%s->%s = %s;" % (
self.result(), self.result(),
item.key.value, item.key.value,
......
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