Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

unify alias substitute for subs #37210

Merged
merged 8 commits into from
Feb 13, 2024

Conversation

mantepse
Copy link
Collaborator

@mantepse mantepse commented Jan 31, 2024

We unify the definitions as follows:

  • substitute is a method in Element which calls self.subs and passes all arguments along, and not defined anywhere else.
  • subs is the method that should be overwritten in the various element classes.

Dependencies:

#37143

@fchapoton
Copy link
Contributor

I guess this "needs review", right ?

@mantepse
Copy link
Collaborator Author

mantepse commented Feb 3, 2024

Yes !

Copy link

github-actions bot commented Feb 5, 2024

Documentation preview for this PR (built with commit da048df; changes) is ready! 🎉

Copy link
Contributor

@fchapoton fchapoton left a comment

Choose a reason for hiding this comment

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

good enough, thanks a lot, danke sehr

vbraun pushed a commit to vbraun/sage that referenced this pull request Feb 7, 2024
    
We unify the definitions as follows:

* `substitute` is a method in `Element` which calls `self.subs` and
passes all arguments along, and not defined anywhere else.
* `subs` is the method that should be overwritten in the various element
classes.

Dependencies:

sagemath#37143
    
URL: sagemath#37210
Reported by: Martin Rubey
Reviewer(s): Frédéric Chapoton
@vbraun vbraun merged commit 15abc09 into sagemath:develop Feb 13, 2024
17 of 18 checks passed
@mantepse mantepse deleted the element/substitute_alias branch February 14, 2024 10:52
@mkoeppe mkoeppe added this to the sage-10.3 milestone Mar 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants