-
-
Notifications
You must be signed in to change notification settings - Fork 508
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_[Callable]SymbolicExpressionRing, remove use of is_Symbolic{Equation,Variable}, is_CallableSymbolicExpression #32665
Comments
Dependencies: #32638 |
This comment has been minimized.
This comment has been minimized.
comment:7
Setting to "needs_review" so that the patchbot runs Last 10 new commits:
|
Author: Matthias Koeppe |
Commit: |
Branch pushed to git repo; I updated commit sha1. New commits:
|
Branch pushed to git repo; I updated commit sha1. New commits:
|
This comment has been minimized.
This comment has been minimized.
comment:13
If this is fully ready for review (just checking relative to comment:7), then you can set a positive review. |
Reviewer: Travis Scrimshaw |
comment:14
Thank you! Yes, I was finished here. |
comment:16
Follow up in #34215 |
Changed commit from |
…h#18036, sagemath#29738, sagemath#32386, sagemath#32638, sagemath#32665, sagemath#34215 <!-- ^^^^^ 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? --> <!-- 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#36304 Reported by: Matthias Köppe Reviewer(s): David Coudert
…h#18036, sagemath#29738, sagemath#32386, sagemath#32638, sagemath#32665, sagemath#34215 <!-- ^^^^^ 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? --> <!-- 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#36304 Reported by: Matthias Köppe Reviewer(s): David Coudert
We deprecate the functions
is_SymbolicExpressionRing
andis_CallableSymbolicExpressionRing
and replace all uses byisinstance
with new ABCssage.rings.abc.SymbolicRing
,sage.rings.abc.CallableSymbolicExpressionRing
.As a follow-up on #32638, which deprecated
is_Expression
, we remove uses ofis_SymbolicEquation
,is_CallableSymbolicExpression
,is_SymbolicVariable
outside ofsage.symbolic
,sage.calculus
,sage.interfaces.maxima_lib
.We replace these uses by
isinstance(x, Expression)
and a method call. We add a new methodExpression.is_callable
.This is part of meta-ticket #32414.
Depends on #32638
Depends on #32593
Depends on #32606
Depends on #32612
CC: @tscrim @orlitzky @kliem
Component: symbolics
Author: Matthias Koeppe
Branch:
341337a
Reviewer: Travis Scrimshaw
Issue created by migration from https://trac.sagemath.org/ticket/32665
The text was updated successfully, but these errors were encountered: