Opened 5 years ago

Closed 17 months ago

#23854 closed defect (worksforme)

some methods appear on gap but not on libgap

Reported by: vdelecroix Owned by:
Priority: major Milestone: sage-duplicate/invalid/wontfix
Component: interfaces Keywords: thursdaysbdx
Cc: Merged in:
Authors: Reviewers:
Report Upstream: N/A Work issues:
Branch: Commit:
Dependencies: Stopgaps:

Status badges

Description (last modified by vdelecroix)

sage: gap.StrongGeneratorsStabChain
StrongGeneratorsStabChain
sage: libgap.StrongGeneratorsStabChain
Traceback (most recent call last):
...
AttributeError: No such attribute: StrongGeneratorsStabChain.

As a workaround, this is available through

sage: S = libgap.SymmetricGroup(5)
sage: T = libgap.eval('StabChain')(S)
sage: libgap.eval('StrongGeneratorsStabChain')(T)
[ (4,5), (3,5), (2,5), (1,5) ]

The list is long

sage: len(set(dir(gap)).difference(dir(libgap)))
11254

Change History (7)

comment:1 Changed 5 years ago by vdelecroix

  • Description modified (diff)

comment:2 Changed 5 years ago by vdelecroix

  • Description modified (diff)

comment:3 Changed 5 years ago by vdelecroix

  • Description modified (diff)

comment:4 follow-up: Changed 4 years ago by vklein

  • Milestone changed from sage-8.1 to sage-8.2

@vdelecroix Do you know where to find or generate a clean list of builtin functions (for gap 4.8.3 or later) ?
dir(gap) alone seems to return more stuff than needed (constants and the like).

There is a list from gap's jupyter syntax highliting (here). Should we include function names from gap packages or rather do like gap's jupyter syntax highliting ? (Only 1823 new function names in the later case).

Version 0, edited 4 years ago by vklein (next)

comment:5 in reply to: ↑ 4 Changed 4 years ago by vdelecroix

Replying to vklein:

@vdelecroix Do you know where to find or how to generate a clean list of builtin functions (for gap 4.8.3 or later) ?
dir(gap) alone seems to return more stuff than needed (constants and the like).

I did not investigate anything. This is just empirical constatation.

There is a list from gap's jupyter syntax highliting (here). Should we include function names from gap packages or rather do like gap's jupyter syntax highliting ? (Only 1823 new function names in the later case).

I think that this list could be obtained directly from GAP/libGAP (at execution time).

comment:6 Changed 17 months ago by embray

  • Milestone changed from sage-8.2 to sage-pending

comment:7 Changed 17 months ago by embray

  • Milestone changed from sage-pending to sage-duplicate/invalid/wontfix
  • Resolution set to worksforme
  • Status changed from new to closed

This is also fixed since #27911.

Note: See TracTickets for help on using tickets.