Commit 0f1c1cbd authored by Stefan Behnel's avatar Stefan Behnel

Avoid distracting GIL error after failed function lookups.

parent 3ee06628
...@@ -5555,7 +5555,7 @@ class CallNode(ExprNode): ...@@ -5555,7 +5555,7 @@ class CallNode(ExprNode):
func_type = self.function_type() func_type = self.function_type()
if func_type.is_pyobject: if func_type.is_pyobject:
self.gil_error() self.gil_error()
elif not getattr(func_type, 'nogil', False): elif not func_type.is_error and not getattr(func_type, 'nogil', False):
self.gil_error() self.gil_error()
gil_message = "Calling gil-requiring function" gil_message = "Calling gil-requiring function"
......
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