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

Add missing noexcept clauses #167

Merged
merged 2 commits into from
Dec 5, 2024
Merged

Add missing noexcept clauses #167

merged 2 commits into from
Dec 5, 2024

Conversation

tornaria
Copy link
Contributor

@tornaria tornaria commented Oct 30, 2024

These functions clearly don't raise any python exception.

They were introduced in #130 which wasn't merged when I prepared #160.

@tornaria tornaria changed the title fix implicit noexcept warnings Add missing noexcept clauses Oct 30, 2024
@tornaria tornaria requested a review from dimpase October 30, 2024 21:16
@dimpase
Copy link
Member

dimpase commented Oct 30, 2024

@orlitzky - can you have a look? We're moving across the pond tomorrow, and I'll be very busy for a week or so...

@tornaria
Copy link
Contributor Author

There is no hurry with this. It doesn't cause any trouble besides a few warnings. This will become important once we switch off legacy_implicit_noexcept.

@orlitzky
Copy link

It looks fine to me, the changed functions are trivial so it's easy to see that they won't raise an exception.

@dimpase dimpase merged commit 7408a05 into sagemath:master Dec 5, 2024
91 of 119 checks passed
Copy link
Member

@dimpase dimpase left a comment

Choose a reason for hiding this comment

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

lgtm

@tornaria tornaria deleted the noexcept branch December 24, 2024 22:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants