Commit 7b3d2bb6 authored by Stefan Behnel's avatar Stefan Behnel

disable GIL check in BoolBinopResultNode - should be enough to handle it in BoolBinopNode

parent 5cc4ff09
...@@ -9794,6 +9794,10 @@ class BoolBinopResultNode(ExprNode): ...@@ -9794,6 +9794,10 @@ class BoolBinopResultNode(ExprNode):
# TODO: unwrap more coercion nodes? # TODO: unwrap more coercion nodes?
return BoolBinopResultNode(arg, dst_type, env) return BoolBinopResultNode(arg, dst_type, env)
def nogil_check(self, env):
# let's leave all errors to BoolBinopNode
pass
def generate_operand_test(self, code): def generate_operand_test(self, code):
# Generate code to test the truth of the first operand. # Generate code to test the truth of the first operand.
if self.arg.type.is_pyobject: if self.arg.type.is_pyobject:
......
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