-
-
Notifications
You must be signed in to change notification settings - Fork 567
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
Modularization fixes for imports of number fields #35283
Conversation
… keyword arg to all constructors
…ation' to super __init__
…plementation_repr
…eld_generic) outside of sage.rings.number_field
…ort is_NumberField' | xargs sed -E -i.bak 's/is_NumberField\(([A-Za-z_]*(\(\))?)\)/isinstance(\1, NumberField)/;s/base import is_NumberField/base import NumberField/'
…te is_NumberField
Codecov ReportPatch coverage:
Additional details and impacted files@@ Coverage Diff @@
## develop #35283 +/- ##
===========================================
- Coverage 88.62% 88.61% -0.01%
===========================================
Files 2148 2148
Lines 398855 398860 +5
===========================================
- Hits 353480 353445 -35
- Misses 45375 45415 +40
... and 24 files with indirect coverage changes Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here. ☔ View full report in Codecov by Sentry. |
Thanks for reviewing! |
…nitefield' into numberfield_abc_imports
Documentation preview for this PR is ready! 🎉 |
Thanks! |
Merge conflict |
SageMath version 10.0.beta6, Release Date: 2023-03-26
wait for the next beta |
Merged #35277 to resolve the merge conflict |
gh-35389: `sage.rings.finite_rings.residue_field`: Modularization fixes <!-- Please provide a concise, informative and self-explanatory title. --> <!-- Don't put issue numbers in the title. Put it in the Description below. --> <!-- For example, instead of "Fixes #12345", use "Add a new method to multiply two integers" --> ### 📚 Description Splitting out the implementations that depend on libraries NTL, PARI, Givaro to separate libraries. Marking doctests `# optional`. <!-- Describe your changes here in detail. --> This is part of: - #29705 <!-- Why is this change required? What problem does it solve? --> <!-- If this PR resolves an open issue, please link to it here. For example "Fixes #12345". --> <!-- If your change requires a documentation PR, please link it appropriately. --> ### 📝 Checklist <!-- Put an `x` in all the boxes that apply. It should be `[x]` not `[x ]`. --> - [x] The title is concise, informative, and self-explanatory. - [x] The description explains in detail what this PR is about. - [x] I have linked a relevant issue or discussion. - [ ] I have created tests covering the changes. - [ ] I have updated the documentation accordingly. ### ⌛ Dependencies <!-- List all open PRs that this PR logically depends on - #12345: short description why this is a dependency - #34567: ... --> - Depends on #35283 <!-- If you're unsure about any of these, don't hesitate to ask. We're here to help! --> URL: #35389 Reported by: Matthias Köppe Reviewer(s): Kwankyu Lee
📚 Description
Using the ABC
sage.rings.number_field.number_field_base.NumberField
Deprecating
is_NumberField
.Part of:
📝 Checklist
⌛ Dependencies
sage.rings.polynomial.polynomial_ring[_constructor]
: Handle missing implementation modules #35277