Opened 2 years ago

Last modified 22 months ago

#23854 new defect

some methods appear on gap but not on libgap

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

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 (5)

comment:1 Changed 2 years ago by vdelecroix

  • Description modified (diff)

comment:2 Changed 2 years ago by vdelecroix

  • Description modified (diff)

comment:3 Changed 2 years ago by vdelecroix

  • Description modified (diff)

comment:4 follow-up: Changed 22 months ago by vklein

  • Milestone changed from sage-8.1 to sage-8.2

@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).

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).

Last edited 22 months ago by vklein (previous) (diff)

comment:5 in reply to: ↑ 4 Changed 22 months 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).

Note: See TracTickets for help on using tickets.