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
change E.a_invariants() for an elliptic curve to return a tuple #4264
Comments
comment:1
Quick comment: the cached
to this
as well as the doctests. |
comment:2
I have made a patch (not yet attached) which implements this. It was easy to do what was suggested (and make the consequent cosmetic changes in doctests from [...] to (...) ) but there were two similar but distinct other issues:
In all the above I sorted everything out by inserting list(...) around I'll wait for reaction before going further. In particular, I have not yet tested anything outside the elliptic_curves directory, e.g. the tutorial. |
comment:4
Doesn't 9 months go quickly? I thought this had been fixed long ago. No time now though... |
comment:6
I think we won't need a a_list. I'd prefer having list() everywhere, even if it is ugly. Could you post your first draft of a patch here ? I will try to work on it. Chris. |
comment:7
Replying to @categorie:
Sorry, but after a year I am sure that it is lost for ever. I should have uploaded it anyway with a "needs more work" tag. Anyway, after a year of version changes it would never have merged without a lot of work. |
comment:8
That is alright. If I get to do it, I will start from scratch, then. |
exported against 4.2. |
comment:9
Attachment: trac_4264.patch.gz I hope I did not miss any a_invs or a_invariants. |
comment:10
Looks good to me. Passes all tests with -long. |
Author: Christian Wuthrich |
Reviewer: Mike Hansen |
Merged: sage-4.2.1.alpha0 |
Changed author from Christian Wuthrich to Chris Wuthrich |
For consistency with b_invariants, etc., and to emphasize immutability, it would be
good for E.a_invariants() to return a tuple. Changing this could change lots of doctests, etc., so this isn't trivial.
See trac #4262 for a related ticket
Component: elliptic curves
Author: Chris Wuthrich
Reviewer: Mike Hansen
Merged: sage-4.2.1.alpha0
Issue created by migration from https://trac.sagemath.org/ticket/4264
The text was updated successfully, but these errors were encountered: