[docs] [issue33600] [EASY DOC] Python 2: document that platform.linux_distribution() has been removed

STINNER Victor report at bugs.python.org
Tue May 22 09:05:21 EDT 2018


New submission from STINNER Victor <vstinner at redhat.com>:

The platform.linux_distribution() function has been removed from the future Python 3.8. The removal should be documented in Python 2.7 documentation, and mention the alternative.

Python 2 documenation:
https://docs.python.org/2/library/platform.html#platform.linux_distribution

Python 3 documentation with the deprecation warning:
https://docs.python.org/3/library/platform.html#platform.linux_distribution

IMHO it's too late to deprecate the function from Python 2. We should only add a quick note.

Function removed in: bpo-28167.

----------
assignee: docs at python
components: Documentation
messages: 317275
nosy: docs at python, vstinner
priority: normal
severity: normal
status: open
title: [EASY DOC] Python 2: document that platform.linux_distribution() has been removed
versions: Python 2.7

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


More information about the docs mailing list