(and there is an exception while assembling the error message)
def test(x: double, y: double) -> double:
return x ** y
File "/usr/lib/python3.8/compiler/visitor.py", line 70, in visit
return meth(node, *args)
File "/usr/lib/python3.8/compiler/static.py", line 5995, in visitBinOp
if ltype.bind_binop(node, self, type_ctx):
File "/usr/lib/python3.8/compiler/static.py", line 4866, in bind_binop
raise visitor.syntax_error(self.binop_error(self, rtype, node.op), node)
File "/usr/lib/python3.8/compiler/static.py", line 4398, in binop_error
return f"cannot {self._op_name[type(op)]} {left.name} and {right.name}"
KeyError: <class '_ast.Pow'>
(and there is an exception while assembling the error message)