cythoning zen/algorithms/shortest_path.pyx to zen/algorithms/shortest_path.c
Error compiling Cython file:
------------------------------------------------------------
...
return distance, predecessor
else:
return distance
def dijkstra_cmp(x,y):
return cmp(x.cost,y.cost)
^
------------------------------------------------------------
zen/algorithms/shortest_path.pyx:680:11: undeclared name not builtin: cmp
I get an error when trying to compile the library (using Python 3.5):
The error is most likely caused by the removal of the
cmpbuiltin function from Python 3, see https://docs.python.org/3.0/whatsnew/3.0.html#ordering-comparisons