This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author dam1784
Recipients dam1784, eric.smith, python-dev, rhettinger, tim.peters
Date 2022-01-20.23:42:51
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1642722171.19.0.241816665995.issue46071@roundup.psfhosted.org>
In-reply-to
Content
The "reverse-toposort" is actually quite a good idea. The end-user is usually going to want to iterate over the sorted output in the "reverse" order anyways, especially if they're doing task ordering / dependency resolution.

Also, the underlying algorithm produces the "reverse" ordering by default. In my experience from writing and using my own topological sorting programs using the "correct" definition: the toposorter reverses the list, and then the users iterates over it in reverse order.
History
Date User Action Args
2022-01-20 23:42:51dam1784setrecipients: + dam1784, tim.peters, rhettinger, eric.smith, python-dev
2022-01-20 23:42:51dam1784setmessageid: <1642722171.19.0.241816665995.issue46071@roundup.psfhosted.org>
2022-01-20 23:42:51dam1784linkissue46071 messages
2022-01-20 23:42:51dam1784create