Opened 7 years ago
Closed 7 years ago
#15494 closed defect (fixed)
Deprecate the _boundary parameter
Reported by: | ncohen | Owned by: | |
---|---|---|---|
Priority: | major | Milestone: | sage-6.3 |
Component: | graph theory | Keywords: | |
Cc: | SimonKing | Merged in: | |
Authors: | Nathann Cohen | Reviewers: | Frédéric Chapoton, Vincent Delecroix |
Report Upstream: | N/A | Work issues: | |
Branch: | 8bb60b3 (Commits) | Commit: | 8bb60b34d33a0db34c14713bc34d86420b159a31 |
Dependencies: | Stopgaps: |
Description
From the documentation (Graph.get_boundary?
or Graph.set_boundary?
) there is just no way to know what it does. So because of that probably nobody uses it. Or they guessed the purpose in some way I can't guess myself.
Then there are things like linear-time operations in functions like .delete_vertex
(noticed by #15278).
self._boundary = [v for v in self._boundary if v != vertex]
Sooooooooo unless somebody complains and is willing to write some documentation for this parameter, I think it'd be nice to deprecate then remove it.
Nathan
Change History (12)
comment:1 Changed 7 years ago by
- Branch set to u/ncohen/15494
- Cc SimonKing added
- Status changed from new to needs_review
comment:2 Changed 7 years ago by
- Commit set to 065181cb35e0232c21b4cd49affba9d5d0a5ece6
comment:3 Changed 7 years ago by
- Commit changed from 065181cb35e0232c21b4cd49affba9d5d0a5ece6 to 31a301ebfc045389237985e22732dbb5c229a4c4
comment:4 Changed 7 years ago by
- Milestone changed from sage-6.1 to sage-6.2
comment:5 Changed 7 years ago by
Hello Nathann,
you should replace all the new doctest:1:
(or any other number) by doctest:...:
because the numbers will change all the time.
comment:6 Changed 7 years ago by
- Status changed from needs_review to needs_work
comment:7 Changed 7 years ago by
- Commit changed from 31a301ebfc045389237985e22732dbb5c229a4c4 to 8bb60b34d33a0db34c14713bc34d86420b159a31
comment:9 Changed 7 years ago by
- Milestone changed from sage-6.2 to sage-6.3
comment:10 Changed 7 years ago by
Hi,
It has been waiting long enough.
Vincent
comment:11 Changed 7 years ago by
- Reviewers set to Frédéric Chapoton, Vincent Delecroix
- Status changed from needs_review to positive_review
comment:12 Changed 7 years ago by
- Branch changed from u/ncohen/15494 to 8bb60b34d33a0db34c14713bc34d86420b159a31
- Resolution set to fixed
- Status changed from positive_review to closed
Branch pushed to git repo; I updated commit sha1. New commits: