-
-
Notifications
You must be signed in to change notification settings - Fork 487
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
optional doctest failure -- breakage in the sage<-->magma interface #6329
Comments
comment:1
More failures:
|
comment:2
More failures:
|
Attachment: trac_6329.patch.gz |
comment:3
[attachment: trac_6329.patch] corrects the test output in the problem in the description. The Got output is correct - there is not a breakage in the sage<-->magma interface. 'magma(3/1)' returns the integer '3' (after coercion), so Type() returns that The other two reports of failures are no longer valid, as they seem to already be fixed in sage-4.7.rc4. |
Author: Mariah Lenox |
comment:5
It seems like the correct fix would be to always put the denominator in the
instead of
|
comment:6
Mhansen, you're right, the patch Mariah posted is wrong. I'll post a correct patch, and hopefully you can review it. |
Attachment: trac_6329.2.patch.gz apply only this one |
comment:7
Patch up that is ready for review (the .2 one). This was a result of some overzealous optimization on my part a few years ago. Reverting this change will barely slow things down. |
comment:8
We should add a doctest for the integral case. |
comment:9
Replying to @mwhansen:
What do you mean by this? If you mean Or do you mean adding something to integer.pyx??? |
Changed keywords from none to sd32 |
comment:11
I was thinking about the old code and verifying that the "is_integral" code path worked (since that test was missing before). However, it is obviously not needed now. Positive review. |
Reviewer: Mike Hansen |
This comment has been minimized.
This comment has been minimized.
Changed author from Mariah Lenox to Mariah Lenox, William Stein |
Merged: sage-4.7.2.alpha3 |
comment:14
Shame on the idiot who wrote this with no tests... and who forgot that there are optional tests all over Sage that would be broken by this: see #12006, where I'm doing my penance. |
Apply only attachment: trac_6329.2.patch to the Sage library.
Component: interfaces
Keywords: sd32
Author: Mariah Lenox, William Stein
Reviewer: Mike Hansen
Merged: sage-4.7.2.alpha3
Issue created by migration from https://trac.sagemath.org/ticket/6329
The text was updated successfully, but these errors were encountered: