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

Cleanup conditional assert #36543

Merged
merged 1 commit into from
Nov 5, 2023
Merged

Cleanup conditional assert #36543

merged 1 commit into from
Nov 5, 2023

Conversation

tornaria
Copy link
Contributor

The code we remove here is a legacy assert which has no equivalent in python 3.12. The way it's implemented uses compile time IF which is deprecated in cython 3 so it's desirable to remove.

See also: #36524 (comment)

📝 Checklist

  • The title is concise, informative, and self-explanatory.
  • The description explains in detail what this PR is about.
  • I have linked a relevant issue or discussion.

The code we remove here is a legacy assert which has no equivalent in
python 3.12. The way it's implemented uses compile time `IF` which is
deprecated in cython 3 so it's desirable to remove.
@github-actions
Copy link

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

Copy link
Contributor

@tobiasdiez tobiasdiez left a comment

Choose a reason for hiding this comment

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

Thanks! Tests are passing, so it seems to be fine to remove it. But I'll let a cython export have the final say.

@vbraun vbraun merged commit bfdbb63 into sagemath:develop Nov 5, 2023
20 of 23 checks passed
@mkoeppe mkoeppe added this to the sage-10.2 milestone Nov 5, 2023
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.

4 participants