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

sage.rings.polynomial: Modularization fixes, # needs #36045

Merged
merged 58 commits into from
Aug 13, 2023

Conversation

mkoeppe
Copy link
Contributor

@mkoeppe mkoeppe commented Aug 7, 2023

📝 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.
  • I have created tests covering the changes.
  • I have updated the documentation accordingly.

⌛ Dependencies

Copy link
Contributor

@dcoudert dcoudert left a comment

Choose a reason for hiding this comment

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

This is a giant ticket. Can't it be split per sub directories ?

There are several files in which you used # optional and not # needs. Also, block scope could be employed in many places. I noted only a few of these places (too many).

src/sage/rings/lazy_series.py Outdated Show resolved Hide resolved
src/sage/rings/lazy_series.py Outdated Show resolved Hide resolved
src/sage/rings/abc.pyx Outdated Show resolved Hide resolved
src/sage/rings/polynomial/laurent_polynomial_ring.py Outdated Show resolved Hide resolved
src/sage/rings/polynomial/multi_polynomial_element.py Outdated Show resolved Hide resolved
src/sage/rings/polynomial/polynomial_quotient_ring.py Outdated Show resolved Hide resolved
src/sage/rings/polynomial/polynomial_quotient_ring.py Outdated Show resolved Hide resolved
src/sage/rings/rational_field.py Outdated Show resolved Hide resolved
@mkoeppe mkoeppe force-pushed the sage_rings_polynomial_modularization branch 2 times, most recently from 557986c to 2b21016 Compare August 8, 2023 22:18
@mkoeppe mkoeppe force-pushed the sage_rings_polynomial_modularization branch from 2b21016 to ae81a48 Compare August 8, 2023 22:22
@mkoeppe
Copy link
Contributor Author

mkoeppe commented Aug 9, 2023

This is a giant ticket. Can't it be split per sub directories ?

There were a few commits with incidental changes in other directories. I have trimmed them away now.

There are several files in which you used # optional and not # needs. Also, block scope could be employed in many places. I noted only a few of these places (too many).

Thanks for your patient review of this megaticket. I've made the indicated changes and many more.

Copy link
Contributor

@dcoudert dcoudert left a comment

Choose a reason for hiding this comment

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

This is much better, but I noted a few more issues.

src/sage/rings/polynomial/ore_polynomial_element.pyx Outdated Show resolved Hide resolved
src/sage/rings/polynomial/ore_polynomial_element.pyx Outdated Show resolved Hide resolved
src/sage/rings/polynomial/polynomial_element.pyx Outdated Show resolved Hide resolved
src/sage/rings/polynomial/polynomial_element.pyx Outdated Show resolved Hide resolved
src/sage/rings/polynomial/polynomial_quotient_ring.py Outdated Show resolved Hide resolved
src/sage/rings/polynomial/polynomial_quotient_ring.py Outdated Show resolved Hide resolved
src/sage/rings/polynomial/term_order.py Outdated Show resolved Hide resolved
src/sage/rings/polynomial/laurent_polynomial_ring_base.py Outdated Show resolved Hide resolved
src/sage/rings/polynomial/multi_polynomial.pyx Outdated Show resolved Hide resolved
src/sage/rings/polynomial/multi_polynomial.pyx Outdated Show resolved Hide resolved
@github-actions
Copy link

github-actions bot commented Aug 9, 2023

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

Copy link
Contributor

@dcoudert dcoudert left a comment

Choose a reason for hiding this comment

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

LGTM.

@mkoeppe
Copy link
Contributor Author

mkoeppe commented Aug 10, 2023

Thank you!

vbraun pushed a commit to vbraun/sage that referenced this pull request Aug 11, 2023
…eeds`

    
<!-- ^^^^^
Please provide a concise, informative and self-explanatory title.
Don't put issue numbers in there, do this in the PR body below.
For example, instead of "Fixes sagemath#1234" use "Introduce new method to
calculate 1+1"
-->
<!-- Describe your changes here in detail -->

<!-- Why is this change required? What problem does it solve? -->
- Part of: sagemath#29705
- Cherry-picked from: sagemath#35095
<!-- If this PR resolves an open issue, please link to it here. For
example "Fixes sagemath#12345". -->
<!-- If your change requires a documentation PR, please link it
appropriately. -->

### 📝 Checklist

<!-- Put an `x` in all the boxes that apply. -->
<!-- If your change requires a documentation PR, please link it
appropriately -->
<!-- If you're unsure about any of these, don't hesitate to ask. We're
here to help! -->
<!-- Feel free to remove irrelevant items. -->

- [x] The title is concise, informative, and self-explanatory.
- [ ] 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
- sagemath#12345: short description why this is a dependency
- sagemath#34567: ...
-->

<!-- If you're unsure about any of these, don't hesitate to ask. We're
here to help! -->
    
URL: sagemath#36045
Reported by: Matthias Köppe
Reviewer(s): David Coudert
@vbraun vbraun merged commit ba7d118 into sagemath:develop Aug 13, 2023
9 of 12 checks passed
@mkoeppe mkoeppe added this to the sage-10.1 milestone Aug 13, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants