[Python-checkins] bpo-28167: bump platform.linux_distribution removal to 3.8 (GH-6864)

Petr Viktorin webhook-mailer at python.org
Tue May 15 13:31:51 EDT 2018


https://github.com/python/cpython/commit/e618e96581a711f2bc4f9bbcff6069bea15f0177
commit: e618e96581a711f2bc4f9bbcff6069bea15f0177
branch: 3.6
author: Petr Viktorin <encukou at gmail.com>
committer: GitHub <noreply at github.com>
date: 2018-05-15T13:31:47-04:00
summary:

bpo-28167: bump platform.linux_distribution removal to 3.8 (GH-6864)

This is a backport of the documentation part of GH-6862

Co-authored-by: Matthias Bussonnier <bussonniermatthias at gmail.com>

files:
M Doc/library/platform.rst

diff --git a/Doc/library/platform.rst b/Doc/library/platform.rst
index eea0abbae4d4..f5cb52cb4745 100644
--- a/Doc/library/platform.rst
+++ b/Doc/library/platform.rst
@@ -248,7 +248,8 @@ Unix Platforms
 
    This is another name for :func:`linux_distribution`.
 
-   .. deprecated-removed:: 3.5 3.7
+   .. deprecated-removed:: 3.5 3.8
+      See alternative like the `distro <https://pypi.org/project/distro>`_ package.
 
 .. function:: linux_distribution(distname='', version='', id='', supported_dists=('SuSE','debian','redhat','mandrake',...), full_distribution_name=1)
 
@@ -266,7 +267,8 @@ Unix Platforms
    parameters.  ``id`` is the item in parentheses after the version number.  It
    is usually the version codename.
 
-   .. deprecated-removed:: 3.5 3.7
+   .. deprecated-removed:: 3.5 3.8
+      See alternative like the `distro <https://pypi.org/project/distro>`_ package.
 
 .. function:: libc_ver(executable=sys.executable, lib='', version='', chunksize=2048)
 



More information about the Python-checkins mailing list