-
-
Notifications
You must be signed in to change notification settings - Fork 529
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
neighbors_out/in instead of predecessor/successor in DiGraph #7157
Comments
comment:1
On my side, it passes -testall without any (related) failure. |
comment:2
You shouldn't just remove the successor/predecessor terminology. A lot of people (e.g. Chris Godsil) might have to do a lot of work to change all their personal scripts etc. to reflect this change. This patch breaks backwards compatibility. |
comment:3
Should I just add aliases and let the old functions exist ? Should we keep two copies of the same functions ? |
comment:4
Replying to @nathanncohen:
I think aliases would be okay, but people have mentioned before that aliases are bad. Please bring this up on the sage-devel thread, and do what the consensus is there. |
comment:5
Should be better now :-) The new functions are defined, old functions are marked "Deprecated". |
comment:6
Hi there, Just a short remark: If you wan't to shorten the patch: see #7515. |
comment:7
Thank you very much !!! :-) |
This comment has been minimized.
This comment has been minimized.
comment:8
Updated ! |
comment:9
Attachment: trac_7157.patch.gz Replying to @nathanncohen:
It was decided on sage-devel only to put the version and not the date in the message of deprecation aliases. I just uploaded a patch witch does that. Please review. Aside from that You have a Positive review on trac_7157.patch. You can change the status as soon as you had an eye on my trivial review patch. Cheers, Florent By the way a review on #7515 is welcome ;-) |
This comment has been minimized.
This comment has been minimized.
Author: Nathann Cohen |
Reviewer: Florent Hivert, Mike Hansen |
Merged: sage-4.3.alpha1 |
comment:11
Attachment: trac_7157_review.patch.gz I've added a new trac_7157_review.patch patch with two function calls that were missed. |
comment:12
Thank you ! :-) |
This patch replaces the names successors/iterators by neighbors_in and neighbors_out.
THIS PATCH DEPENDS ON #7515 !!!!
CC: @jasongrout @rlmill @nthiery
Component: graph theory
Author: Nathann Cohen
Reviewer: Florent Hivert, Mike Hansen
Merged: sage-4.3.alpha1
Issue created by migration from https://trac.sagemath.org/ticket/7157
The text was updated successfully, but these errors were encountered: