Skip to content

proper polymake preferences, perhaps using Python 'with' #22703

@mkoeppe

Description

@mkoeppe

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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions