]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
bpo-17005: Move topological sort functionality to its own module (GH-20558)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Mon, 1 Jun 2020 00:01:37 +0000 (17:01 -0700)
committerGitHub <noreply@github.com>
Mon, 1 Jun 2020 00:01:37 +0000 (17:01 -0700)
commit0a674638a3de14dc86b5294a5db067e0c2177a51
treec424359ff14bf42a47db566a56de6a849b45043d
parenta176b314e7476c05f096953261ba22bd29313e28
bpo-17005: Move topological sort functionality to its own module (GH-20558)

The topological sort functionality that was introduced initially in the
functools module has been moved to a new graphlib module to
better accommodate the new tools and keep the original scope of the
functools module.
(cherry picked from commit 2f172d8f1525defe9bba4d49e967fdfc69151731)

Co-authored-by: Pablo Galindo <Pablogsal@gmail.com>
Doc/library/datatypes.rst
Doc/library/functools.rst
Doc/library/graphlib.rst [new file with mode: 0644]
Doc/whatsnew/3.9.rst
Lib/functools.py
Lib/graphlib.py [new file with mode: 0644]
Lib/test/test_functools.py
Lib/test/test_graphlib.py [new file with mode: 0644]
Misc/NEWS.d/next/Library/2020-05-31-23-32-36.bpo-17005.JlRUGB.rst [new file with mode: 0644]
PCbuild/lib.pyproj