Skip to content

Do not restrict libgap.xxx to a predefined list #27911

@nthiery

Description

@nthiery

Currently libgap.xxx fails if xxx is not in one of the two hard coded lists common_gap_functions or common_gap_globals. This has the following consequences:

  • Additional maintenance burden: Sage needs to be updated whenever GAP introduces a new useful global function/object.
  • This is arbitrarily preventing expert users from accessing functions they may deem interesting
  • More important: if a user installs additional packages, he can't access its functions via libgap.xxx.

Proposal: resort to libgap.eval("xxx") if xxx is not in the predefined lists. In fact, it seems that we could always resort to libgap.eval("xxx"): tests seems to be passing as well with the attached branch, and the code is simpler.

CC: @vbraun @tscrim @dimpase @embray

Component: interfaces

Author: Nicolas M. Thiéry

Branch: d624b29

Reviewer: Volker Braun

Issue created by migration from https://trac.sagemath.org/ticket/27911

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions