[issue33600] [EASY DOC] Python 2: document that platform.linux_distribution() has been removed
New submission from STINNER Victor <vstinner@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@python components: Documentation messages: 317275 nosy: docs@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@bugs.python.org> <https://bugs.python.org/issue33600> _______________________________________
Change by STINNER Victor <vstinner@redhat.com>: ---------- keywords: +easy _______________________________________ Python tracker <report@bugs.python.org> <https://bugs.python.org/issue33600> _______________________________________
Change by Timo Furrer <tuxtimo@gmail.com>: ---------- keywords: +patch pull_requests: +6906 stage: -> patch review _______________________________________ Python tracker <report@bugs.python.org> <https://bugs.python.org/issue33600> _______________________________________
STINNER Victor <vstinner@redhat.com> added the comment: New changeset 7b9b87e76c44660de8a973c0e0a118f539532496 by Victor Stinner (Timo Furrer) in branch '2.7': bpo-33600: document that platform.linux_distribution() has been removed (GH-7281) https://github.com/python/cpython/commit/7b9b87e76c44660de8a973c0e0a118f5395... ---------- _______________________________________ Python tracker <report@bugs.python.org> <https://bugs.python.org/issue33600> _______________________________________
Change by STINNER Victor <vstinner@redhat.com>: ---------- resolution: -> fixed stage: patch review -> resolved status: open -> closed _______________________________________ Python tracker <report@bugs.python.org> <https://bugs.python.org/issue33600> _______________________________________
participants (2)
-
STINNER Victor -
Timo Furrer