-
-
Notifications
You must be signed in to change notification settings - Fork 503
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
clean up the factor() docstring/interface for univariate polynomials #13272
Comments
remove proof keyword |
comment:1
Attachment: trac_13272_proof.patch.gz I mostly tried to simplify the wording in some places and unify the way polynomial rings are constructed. I changed the example where |
Author: Julian Rueth |
comment:3
Hello, some comments on your patches :)
|
comment:4
Thanks for having a look at my patches. Replying to @ppurka:
That makes sense. I will change the docstrings accordingly.
Ok. If this was indeed intended, then I can of course revert these changes. I just had the feeling that the different constructors should not be tested in the |
Reviewer: Peter Bruin |
comment:6
trac_13272_docstring.patch no longer applies correctly to Sage 5.10.rc1; can you rebase it? |
This comment has been minimized.
This comment has been minimized.
comment:7
Replying to @pjbruin:
Thanks for looking at these tickets. I'm building 5.10 now, will rebase the patch when this is done. |
docstring cleanup |
comment:8
Attachment: trac_13272_docstring.patch.gz I rebased the patch. It might not apply anymore, since I rebased it against the git repository and used sagedev's export_patch to export it. I'm not sure if the patchbot cares about whitespace since that will most probably be incorrect. |
comment:9
Unfortunately the whitespace matters a lot:
In the meantime I did manage to rebase the first version of your patch, but even apart from whitespace the resulting patch has several differences with your new patch. |
comment:10
Could you post the rebased patch? Sorry for bothering you with this but I don't have mercurial sage anymore. I started a thread on sage-git to find out if there is any way to make hg ignore whitespace. |
Attachment: trac_13272_docstring_new.patch.gz applies to 5.10.rc2, but differs non-trivially from trac_13272_docstring.patch |
comment:11
I tried to find out if hg_sage.qpush() has an option similar to patch --ignore--whitespace, but no luck so far. |
comment:12
Please don't ignore whitespace and fuzz. It can lead to patches being inserted in the wrong place in the file. |
comment:13
Replying to @ppurka:
I see your point. However, I think it could help a lot with the testing of the sage-git tools, if one could move patches between these two worlds somehow. It's probably better to move this discussion to https://groups.google.com/forum/?fromgroups#!topic/sage-git/eCPmLRqHR0s |
comment:15
After the switch to Git, I thought it was a good time to come back to this ticket (and the others related to #11731). I converted the two patches into a branch based on Sage 6.0 (to be pushed shortly). I omitted most of the changes in the polynomial constructors (see comment:3) and did not delete the |
Branch: u/pbruin/13272-factor_args_doc |
Commit: |
This comment has been minimized.
This comment has been minimized.
Changed reviewer from Peter Bruin to Peter Bruin, Jeroen Demeyer |
Working on #11731, I realized that the docstring for factor() could also be cleaned up.
To make reviewing easier, I moved this to a separate ticket.
Component: documentation
Author: Julian Rueth
Branch/Commit: u/pbruin/13272-factor_args_doc @
f63ffd2
Reviewer: Peter Bruin, Jeroen Demeyer
Issue created by migration from https://trac.sagemath.org/ticket/13272
The text was updated successfully, but these errors were encountered: