Changes between Version 3 and Version 4 of Ticket #26800, comment 12
- Timestamp:
- Feb 21, 2019, 11:07:08 PM (4 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #26800, comment 12
v3 v4 12 12 self.vertex_ints = dict(sorted(new_vx_ints.items())) 13 13 }}} 14 on line 1965 of `c_graph.pyx` seems to fix this ticket for me, and perhaps paying the sorting cost upon relabelling is OK. Note that while we still have 2.7/36 hybrid code one needs to consider `iteritems` vs `items` in this fix.14 on line 1965 of `c_graph.pyx` seems to fix this ticket for me, and perhaps paying the sorting cost upon relabelling is OK. Note that to support both Python 2.7 and 3.6+ one needs to consider `iteritems` vs `items` in this fix (and know about `__future__` or `six`, which I do not).