-
-
Notifications
You must be signed in to change notification settings - Fork 686
Open
Description
Following up on #22452 (Create a Polymake pexpect interface):
Polymake's prefer is bad because it is too persistent, writing to a preference file.
We cannot use prefer_now directly because it is local to the current line.
We should have a way to set preferences local to a code block.
Perhaps a Python context manager (using the with keyword) would be the right solution.
See also: #22710: Meta-ticket: polymake
Depends on #22452
CC: @simon-king-jena
Component: interfaces
Keywords: days84
Issue created by migration from https://trac.sagemath.org/ticket/22703