[issue17005] Add a topological sort algorithm

Raymond Hettinger report at bugs.python.org
Thu Apr 2 17:45:54 EDT 2020


Raymond Hettinger <raymond.hettinger at gmail.com> added the comment:

> If your alternative isn't equally easy to use in a parallelized
> context, I'll be at best +0.

We may need two versions then, a full-featured TopologicalSorter() class and a simple tsort() function that doesn't aspire to be all things to all people.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue17005>
_______________________________________


More information about the Python-bugs-list mailing list