Skip to content

get rid of old cruft half in class_function.py#41579

Merged
vbraun merged 2 commits intosagemath:developfrom
fchapoton:remove_gap_class_function
Feb 11, 2026
Merged

get rid of old cruft half in class_function.py#41579
vbraun merged 2 commits intosagemath:developfrom
fchapoton:remove_gap_class_function

Conversation

@fchapoton
Copy link
Copy Markdown
Contributor

@fchapoton fchapoton commented Feb 2, 2026

keeping only the libgap interface

This is removing half of the modified file. Every method of the old class was checked to exist in the kept class.

As another small step towards getting rid of pexpect interface to gap.

📝 Checklist

  • The title is concise and informative.
  • The description explains in detail what this PR is about.

@github-actions
Copy link
Copy Markdown

github-actions bot commented Feb 2, 2026

Documentation preview for this PR (built with commit 6dd472b; changes) is ready! 🎉
This preview will update shortly after each push to this PR.

@tscrim
Copy link
Copy Markdown
Collaborator

tscrim commented Feb 6, 2026

Should we also rename ClassFunction_libgap to ClassFunction (and hence, get rid of the pointless function)? Seems like basically no more work (other than deprecating ClassFunction_libgap and running a sed command.

@fchapoton
Copy link
Copy Markdown
Contributor Author

ok, done.

@fchapoton
Copy link
Copy Markdown
Contributor Author

and the CI seems to be green

Copy link
Copy Markdown
Collaborator

@tscrim tscrim left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you. LGTM.

vbraun pushed a commit to vbraun/sage that referenced this pull request Feb 7, 2026
sagemathgh-41579: get rid of old cruft half in class_function.py
    
keeping only the libgap interface

This is removing half of the modified file. Every method of the old
class was checked to exist in the kept class.

As another small step towards getting rid of pexpect interface to gap.

### 📝 Checklist

- [x] The title is concise and informative.
- [x] The description explains in detail what this PR is about.
    
URL: sagemath#41579
Reported by: Frédéric Chapoton
Reviewer(s): Travis Scrimshaw
@vbraun vbraun merged commit fb46958 into sagemath:develop Feb 11, 2026
21 of 22 checks passed
@fchapoton fchapoton deleted the remove_gap_class_function branch February 13, 2026 15:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants