diff options
author | Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> | 2020-06-01 00:01:37 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-06-01 00:01:37 (GMT) |
commit | 0a674638a3de14dc86b5294a5db067e0c2177a51 (patch) | |
tree | c424359ff14bf42a47db566a56de6a849b45043d /Doc/whatsnew | |
parent | a176b314e7476c05f096953261ba22bd29313e28 (diff) | |
download | cpython-0a674638a3de14dc86b5294a5db067e0c2177a51.zip cpython-0a674638a3de14dc86b5294a5db067e0c2177a51.tar.gz cpython-0a674638a3de14dc86b5294a5db067e0c2177a51.tar.bz2 |
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>
Diffstat (limited to 'Doc/whatsnew')
-rw-r--r-- | Doc/whatsnew/3.9.rst | 15 |
1 files changed, 8 insertions, 7 deletions
diff --git a/Doc/whatsnew/3.9.rst b/Doc/whatsnew/3.9.rst index fc407e4..723230e 100644 --- a/Doc/whatsnew/3.9.rst +++ b/Doc/whatsnew/3.9.rst @@ -245,6 +245,14 @@ PyPI and maintained by the CPython core team. PEP written and implemented by Paul Ganssle +graphlib +--------- + +Add the :mod:`graphlib` that contains the :class:`graphlib.TopologicalSorter` class +to offer functionality to perform topological sorting of graphs. (Contributed by Pablo +Galindo, Tim Peters and Larry Hastings in :issue:`17005`.) + + Improved Modules ================ @@ -352,13 +360,6 @@ ftplib if the given timeout for their constructor is zero to prevent the creation of a non-blocking socket. (Contributed by Dong-hee Na in :issue:`39259`.) -functools ---------- - -Add the :class:`functools.TopologicalSorter` class to offer functionality to perform -topological sorting of graphs. (Contributed by Pablo Galindo, Tim Peters and Larry -Hastings in :issue:`17005`.) - gc -- |