Open
Description
To reproduce:
session = WolframLanguageSession()
expr = "Pause[10]"
session.evaluate(f"{expr}", timeout=1)
session.stop()
The culprit might be:
WolframClientForPython/wolframclient/evaluation/kernel/localsession.py
Lines 258 to 259 in 53b03c8
A potential fix:
return self.evaluate_wrap_future(expr, **kwargs).result(timeout=kwargs.get('timeout'))
Which, however, introduces another issue where the session cannot be terminated, as the lock is not released, requiring a manual interruption (CTRL-C).
Metadata
Metadata
Assignees
Labels
No labels