Opened 5 months ago
Closed 4 months ago
#26624 closed enhancement (fixed)
clean generic_graph.py (part 1)
Reported by: | dcoudert | Owned by: | |
---|---|---|---|
Priority: | major | Milestone: | sage-8.5 |
Component: | graph theory | Keywords: | py3, graph |
Cc: | tscrim, chapoton | Merged in: | |
Authors: | David Coudert | Reviewers: | Frédéric Chapoton |
Report Upstream: | N/A | Work issues: | |
Branch: | 6879bb6 (Commits) | Commit: | 6879bb66040d6d78e68bb8ef6b54d45931fdffed |
Dependencies: | Stopgaps: |
Description
Done here:
- small change in
__eq__
to avoid testing twice edge(i, j)
if the edge iterator gives edges in random order. - remove
.vertices()
from_bit_vector
. This is safe asgraph6
anddig6
format only ensure that the string encodes a graph isomorphic to the original graph. - some alignments and PEP8.
Change History (3)
comment:1 Changed 5 months ago by
- Branch set to public/26624_generic_graph_part_1
- Cc tscrim chapoton added
- Commit set to 6879bb66040d6d78e68bb8ef6b54d45931fdffed
- Status changed from new to needs_review
comment:2 Changed 5 months ago by
- Reviewers set to Frédéric Chapoton
- Status changed from needs_review to positive_review
ok, then.
comment:3 Changed 4 months ago by
- Branch changed from public/26624_generic_graph_part_1 to 6879bb66040d6d78e68bb8ef6b54d45931fdffed
- Resolution set to fixed
- Status changed from positive_review to closed
Note: See
TracTickets for help on using
tickets.
New commits:
trac #26624: clean generic_graph.py (part 1)