Commit 205e5041 authored by Stefan Behnel's avatar Stefan Behnel

disable GIL check on NoneCheckNode to avoid unnecessary output cluttering - if...

disable GIL check on NoneCheckNode to avoid unnecessary output cluttering - if it fails, the operation it guards will (normally) also fail
parent 3f478afa
...@@ -9047,6 +9047,8 @@ class NoneCheckNode(CoercionNode): ...@@ -9047,6 +9047,8 @@ class NoneCheckNode(CoercionNode):
self.exception_message = exception_message self.exception_message = exception_message
self.exception_format_args = tuple(exception_format_args or ()) self.exception_format_args = tuple(exception_format_args or ())
nogil_check = None # this node only guards an operation that would fail already
def analyse_types(self, env): def analyse_types(self, env):
pass pass
......
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