Changes between Version 3 and Version 4 of Ticket #26800, comment 12


Ignore:
Timestamp:
02/21/19 23:07:08 (5 months ago)
Author:
gh-ed359
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #26800, comment 12

    v3 v4  
    1212self.vertex_ints = dict(sorted(new_vx_ints.items()))
    1313}}}
    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.
     14on 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).