Skip to content
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

deprecate edge_iterator #30145

Closed
dcoudert opened this issue Jul 14, 2020 · 14 comments
Closed

deprecate edge_iterator #30145

dcoudert opened this issue Jul 14, 2020 · 14 comments

Comments

@dcoudert
Copy link
Contributor

Now that we have EdgesView for graphs (#27408), we can use .edges(...) instead of .edge_iterator(...). We do the following:

Done:

Todo:

  • use edges instead of edge_iterator in the code
  • make edge_iterator call edges
  • add deprecation warning in edge_iterator

Component: graph theory

Reviewer: David Coudert, Travis Scrimshaw

Issue created by migration from https://trac.sagemath.org/ticket/30145

@dcoudert dcoudert added this to the sage-9.2 milestone Jul 14, 2020
@dcoudert
Copy link
Contributor Author

Commit: 1a12ac5

@dcoudert
Copy link
Contributor Author

New commits:

9a66fc3add functionalities of edge_iterator to edges
ce7db5emake edge_iterator call edges
82f5927use edges instead of edge_iterator in graphs
2a85fdause edges instead of edge_iterator almost everywhere
1a12ac5add deprecation warning in edge_iterator

@dcoudert
Copy link
Contributor Author

@dcoudert
Copy link
Contributor Author

comment:3

Green bot. Please review.

@dcoudert
Copy link
Contributor Author

dcoudert commented Aug 1, 2020

comment:4

I will split that into several smaller tickets. Too hard to make it at once.

@dcoudert

This comment has been minimized.

@mkoeppe mkoeppe modified the milestones: sage-9.2, sage-9.3 Sep 5, 2020
@mkoeppe
Copy link
Contributor

mkoeppe commented Feb 13, 2021

comment:7

Setting new milestone based on a cursory review of ticket status, priority, and last modification date.

@mkoeppe mkoeppe modified the milestones: sage-9.3, sage-9.4 Feb 13, 2021
@mkoeppe
Copy link
Contributor

mkoeppe commented Jul 19, 2021

comment:8

Setting a new milestone for this ticket based on a cursory review.

@mkoeppe mkoeppe modified the milestones: sage-9.4, sage-9.5 Jul 19, 2021
@mkoeppe mkoeppe modified the milestones: sage-9.5, sage-9.6 Dec 18, 2021
@dcoudert
Copy link
Contributor Author

dcoudert commented Mar 9, 2022

comment:10

After second thought, I don't think anymore it is a good idea to deprecate edge_iterator. It avoids some overheads due to EdgeView and so is better for internal use.

Therefore, I propose to move this ticket to invalid/wontfix.

@mkoeppe mkoeppe removed this from the sage-9.6 milestone Mar 9, 2022
@tscrim
Copy link
Collaborator

tscrim commented Mar 9, 2022

Changed commit from 1a12ac5 to none

@tscrim
Copy link
Collaborator

tscrim commented Mar 9, 2022

Changed branch from public/graphs/30145_deprecate_edge_iterator to none

@tscrim
Copy link
Collaborator

tscrim commented Mar 9, 2022

Changed author from David Coudert to none

@tscrim
Copy link
Collaborator

tscrim commented Mar 9, 2022

Reviewer: David Coudert, Travis Scrimshaw

@tscrim
Copy link
Collaborator

tscrim commented Mar 9, 2022

comment:12

Then we will close this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants