-
-
Notifications
You must be signed in to change notification settings - Fork 491
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
Deprecate is_SchemeMorphism
, is_SchemeTopologicalPoint
#38296
Conversation
The lint failures are unrelated and come from the release of ruff 0.5.0 (https://pypi.org/project/ruff/#history) |
is_SchemeTopologicalPoint
Documentation preview for this PR (built with commit de805b1; changes) is ready! 🎉 |
is_SchemeTopologicalPoint
is_SchemeMorphism
, is_SchemeTopologicalPoint
Here is an interesting case of a place where it might be good to leave the |
Well, what could be useful here: a new ABC. But I definitely don't want to wait with the removal of |
... or, alternatively, whether what is intended in the uses of |
94f33e8
to
402e990
Compare
402e990
to
92a768a
Compare
sage: from sage.schemes.elliptic_curves.ell_point import EllipticCurvePoint_field
sage: from sage.schemes.generic.morphism import SchemeMorphism
sage: issubclass(EllipticCurvePoint_field, SchemeMorphism)
True This is also mathematically sound. |
Thanks. So I can actually simplify many |
…d, SchemeMorphism) -> True
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM.
Thank you! |
Merge conflict |
…lPoint` <!-- ^ Please provide a concise and informative title. --> <!-- ^ Don't put issue numbers in the title, do this in the PR description below. --> <!-- ^ For example, instead of "Fixes sagemath#12345" use "Introduce new method to calculate 1 + 2". --> <!-- v Describe your changes below in detail. --> <!-- v Why is this change required? What problem does it solve? --> <!-- v If this PR resolves an open issue, please link to it here. For example, "Fixes sagemath#12345". --> Part of: - sagemath#32414 ### 📝 Checklist <!-- Put an `x` in all the boxes that apply. --> - [x] The title is concise and informative. - [ ] 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 and checked the documentation preview. ### ⌛ Dependencies <!-- List all open PRs that this PR logically depends on. For example, --> <!-- - sagemath#12345: short description why this is a dependency --> <!-- - sagemath#34567: ... --> URL: sagemath#38296 Reported by: Matthias Köppe Reviewer(s): Kwankyu Lee
Part of:
is_Class
functions, create abstract base classes to enable modularization #32414📝 Checklist
⌛ Dependencies