-
-
Couldn't load subscription status.
- Fork 683
Description
Following up on #22452 (Create a Polymake pexpect interface):
As suggested by Gawrilow in https://forum.polymake.org/viewtopic.php?f=8&t=544, we could create a variant of the polymake pexpect interface that does not go through pty's but rather replaces the relevant send/receive methods of pexpect by calls to simulate_shell_input (linking to libpolymake).
Recent polymake versions have developed this further and now provide a class polymake::Main with convenient access to the polymake interpreter. We use the (partial) Python bindings for this, https://github.com/polymake/JuPyMake which are used for Polymake's jupyter.
Upstream package:
wget -P upstream https://files.pythonhosted.org/packages/32/dd/0a48546daa2461e57207d31eeb64a3ad77fd9fb339d90e1e067ea25991a5/JuPyMake-0.9.tar.gz
We do want to keep the current pty-based pexpect interface, though, because it may be handy for running polymake on a remote server; or for guarding against a crashing polymake (sigh).
Remaining issue: #27807
See also: #22710: Meta-ticket: polymake
Depends on #24905
Upstream: Reported upstream. No feedback yet.
CC: @simon-king-jena @jplab @sophiasage @LaisRast @kliem @sebasguts @videlec @tscrim
Component: interfaces
Keywords: days84
Author: Matthias Koeppe
Branch: 8d9e2c2
Reviewer: Dima Pasechnik
Issue created by migration from https://trac.sagemath.org/ticket/22704