-
-
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
Create a stopgap warning #12691
Comments
Attachment: 12691.patch.gz |
comment:2
Looks good. |
Changed keywords from none to rd2 |
comment:3
See #12702 for a followup. |
comment:4
I think this code is too slow. We want it to be highly optimized so as to not have much of a performance penalty for introducing a stopgap. I'm going to attach a different patch that implements stopgaps, and is an order of magnitude faster than this code:
|
Changed author from David Roe to David Roe, William Stein |
comment:7
Attachment: trac_12691-faster.patch.gz everything looks good to me and works how I expect it to, positive review! |
Reviewer: R. Andrew Ohana |
This comment has been minimized.
This comment has been minimized.
comment:9
Just clarification; this doesn't
right, or even 'make it easy' to do so? It seems to function more like deprecations; it doesn't do anything, but warns users that something might be wrong. Let me know if I'm wrong about this, otherwise I hope to use it in the future. Nice addition. |
comment:10
kcrisman: you're right, it doesn't create a ticket or make it easy to create a ticket, but it makes it easy to print a nice warning, like a deprecation. Does the documentation at #12702 make it clearer? |
comment:11
Yeah, that's great. Wish I could be helping with this, but looks like RD2 is going very well. |
Dependencies: #12702 |
Merged: sage-5.0.beta10 |
comment:14
Why not display the stopgap warnings in doctests? I would prefer documentation to show the stopgap warnings. It also would allow to see which parts of Sage are affected by stopgapped tickets. It would also prevent sillyness like
|
Sometimes issues can produce mathematically incorrect results, and we should warn users of the problem. If the issue is fixed promptly then nothing more needs to be done, but sometimes tickets remain unresolved for months or years (c.f. #11358). This ticket adds a function that makes it easy to create a second ticket warning users of the problem while it's being resolved.
On trac, this functionality will be supported by the Stopgaps field. Create a new ticket that uses the
stopgap
function and include a link to it in the Stopgaps field in the original ticket.Apply attachment: trac_12691-faster.patch
Depends on #12702
Component: misc
Keywords: rd2
Author: David Roe, William Stein
Reviewer: R. Andrew Ohana
Merged: sage-5.0.beta10
Issue created by migration from https://trac.sagemath.org/ticket/12691
The text was updated successfully, but these errors were encountered: