-
-
Notifications
You must be signed in to change notification settings - Fork 654
Add tips for choosing an exception in developer guide #37311
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
Conversation
Otherwise looks good to me - @mantepse do you agree? |
Co-authored-by: grhkm21 <83517584+grhkm21@users.noreply.github.com>
In principle I agree, but I think it would be good to post the snippet on sage-devel again, both for advertising and for consensus. |
Instead of carrying around the code, I posted on sage-devel an invitation to come and review this PR. |
Re |
Ah, thanks! That is a good point. Perhaps we may mention that in the guide. |
7c1a7ec
to
57ea33a
Compare
57ea33a
to
31c6e4f
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
That's an exceptionally nice addition~
Thanks for all the comments that improved this PR! |
Documentation preview for this PR (built with commit e546f92; changes) is ready! 🎉 |
sagemathgh-37311: Add tips for choosing an exception in developer guide <!-- ^^^^^ 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 --> as discussed in https://groups.google.com/g/sage- devel/c/xzp0sxinCW8/m/RLZ4vGdPAAAJ <!-- 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. - [x] 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#37311 Reported by: Kwankyu Lee Reviewer(s): grhkm21, Kwankyu Lee, Martin Rubey, Matthias Köppe
sagemathgh-37311: Add tips for choosing an exception in developer guide <!-- ^^^^^ 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 --> as discussed in https://groups.google.com/g/sage- devel/c/xzp0sxinCW8/m/RLZ4vGdPAAAJ <!-- 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. - [x] 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#37311 Reported by: Kwankyu Lee Reviewer(s): grhkm21, Kwankyu Lee, Martin Rubey, Matthias Köppe
as discussed in https://groups.google.com/g/sage-devel/c/xzp0sxinCW8/m/RLZ4vGdPAAAJ
📝 Checklist
⌛ Dependencies