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

Simplify attribute handling using new @attr features #4476

Draft
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

lgoettgens
Copy link
Member

@lgoettgens lgoettgens commented Jan 16, 2025

See Nemocas/AbstractAlgebra.jl#1958 for the changes to @attr. This PR needs to wait for Nemocas/AbstractAlgebra.jl#1958 to get released (x-ref Nemocas/AbstractAlgebra.jl#1963).

Furthermore, this includes #4475. Depending on the result there, this PR may need to get adapted.

This is a draft, since I want to look through all uses of other attribute-related functions like get_attribute and set_attribute! as well and do analogous changes for these as well.

The diff view may be a bit overwhelming and doesn't make much sense for this kind of change; instead you could look at the diff view with whitespace changes ignored: https://github.com/oscar-system/Oscar.jl/pull/4476/files?w=1

pinging some people that may benefit from this PR: @HereAround @simonbrandhorst @HechtiDerLachs

@lgoettgens lgoettgens added WIP NOT ready for merging needs aa update release notes: not needed PRs introducing changes that are wholly irrelevant to the release notes labels Jan 16, 2025
@lgoettgens lgoettgens marked this pull request as draft January 16, 2025 16:53
@HechtiDerLachs
Copy link
Collaborator

Looks reasonable to me. Let's see how the tests go, when they run. Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
needs aa update release notes: not needed PRs introducing changes that are wholly irrelevant to the release notes WIP NOT ready for merging
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants