-
-
Notifications
You must be signed in to change notification settings - Fork 489
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
sympy patch for abstract function #23496
Comments
Changed branch from public/22496_patch_sympy_abstact_function to public/23496_patch_sympy_abstact_function |
Commit: |
Branch pushed to git repo; I updated commit sha1. New commits:
|
Changed dependencies from 22802 to none |
Changed reviewer from tscrim to Travis Scrimshaw |
comment:6
Is this ready for review? |
comment:7
Yes, pleiade |
comment:8
Yes, please |
comment:9
Is the setting this to needs_work a double-post-type error or is there an actual issue? Also, could you ping upstream again? It would be good to know that they accepted the patch as-is. |
comment:10
Double error, sorry |
Upstream: Reported upstream. No feedback yet. |
comment:11
You need to also bump the patch level in Did you send another message to upstream asking about the status of the patch? |
Branch pushed to git repo; I updated commit sha1. New commits:
|
Branch pushed to git repo; I updated commit sha1. New commits:
|
Branch pushed to git repo; I updated commit sha1. New commits:
|
comment:15
Replying to @tscrim:
The referee said me that tests are still falling on travis. I asked to see the report (I have not access to travis). |
comment:62
Replying to @tscrim:
Indeed, the test, as it is, is quite unnatural from a Sage's user point of view: the import of specific Sympy objects (in the line |
comment:63
Replying to @tscrim:
+1 for a later ticket. |
comment:64
Replying to @egourgoulhon:
I don't think it is that unnatural as someone who wants to use sympy, something that we do suggest to people, would construct something in that fashion. One of the benefits of Sage are those implicit conversions so that users should not have to worry about them. However, that discussion aside, I think that we should keep as close to the original doctest because it is in Calcul Mathématique avec Sage (even if it is out of date). So I believe we should just change the order of multiplication of the coefficients as in comment:56 and add a warning about it. |
comment:65
hi, thank you all for the help debugging. with this sympy patch (at sympy/core/function.py and on top of #20204), it works for me:
do you already have the same |
comment:66
Replying to @tscrim:
Well, there is some degree of arbitrariness in these implicit conversions: if |
comment:67
it seems that game was played before:
this is a commit by Ralph. |
comment:68
@mforets comment:67 - All the more reason to just do the minimal change. IIRC, we needed to do that in order for the construction of @egourgoulhon comment:66 - Yes, there is currently some ambiguity because of things are done, but ultimately it shouldn't matter. Although if I really had to decide, I would say everything should go to Sympy objects because we cannot expect Sympy objects to work with our coercion system. |
Changed branch from public/23496_patch_sympy_abstact_function to public/23496_patch_sympy_abstract_function |
comment:69
ok, let's do it => needs review note: this does not depend on #20204. (@marco : sorry, i did not intend to create a new branch, just after pushing i realized the current says "abstact" instead of "abstract") New commits:
|
Branch pushed to git repo; I updated commit sha1. New commits:
|
comment:73
the patchbot errrors seem to be unrelated to our patch, but on a GLPK update. |
Changed reviewer from Travis Scrimshaw to Travis Scrimshaw, Marcelo Forets |
comment:74
Positive review. Thanks for your work on this. |
comment:75
Thanks from me as well. |
comment:76
Thank you for the review |
Changed branch from public/23496_patch_sympy_abstract_function to |
Generic function are not transformed from sympy to sage.
this patch implement the PR sympy/sympy#12826
Upstream: Fixed upstream, but not in a stable release.
CC: @tscrim @egourgoulhon @rwst
Component: symbolics
Author: Marco Mancini
Branch/Commit:
bc21300
Reviewer: Travis Scrimshaw, Marcelo Forets
Issue created by migration from https://trac.sagemath.org/ticket/23496
The text was updated successfully, but these errors were encountered: