-
-
Notifications
You must be signed in to change notification settings - Fork 654
Add parameter key to methods multiple_edges and edge_boundary #35903
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
Add parameter key to methods multiple_edges and edge_boundary #35903
Conversation
Thank you. |
Merge conflict |
I don't see any conflict with 10.1.beta7, so I set this ticket back to positive review. |
I'd suggest to rebase over beta7, just to be sure |
It's what I did using the button on the GitHub interface. |
please wait for the next beta |
Documentation preview for this PR (built with commit ee2084f; changes) is ready! 🎉 |
The failing doctests are independent from this PR. One of them is fixed in #36040. I'm setting this PR back to positive review. |
sagemathgh-35903: Add parameter key to methods multiple_edges and edge_boundary Part of sagemath#35902. ### 📚 Description We add parameter `key` to methods `multiple_edges` and `edge_boundary`. This is useful when users manipulate graphs with edges of incomparable types. On the way, we avoid some calls to `multiple_edges` with `sort=True` in method `is_tree`. ### 📝 Checklist <!-- Put an `x` in all the boxes that apply. It should be `[x]` not `[x ]`. --> - [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. - [x] I have created tests covering the changes. - [x] 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#35903 Reported by: David Coudert Reviewer(s): Dima Pasechnik
Part of #35902.
📚 Description
We add parameter
key
to methodsmultiple_edges
andedge_boundary
. This is useful when users manipulate graphs with edges of incomparable types.On the way, we avoid some calls to
multiple_edges
withsort=True
in methodis_tree
.📝 Checklist
⌛ Dependencies