This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

classification
Title: Different behaviour platform.linux_distribution() on Python2.7.11 and 3.5.1
Type: behavior Stage: resolved
Components: Extension Modules Versions: Python 2.7
process
Status: closed Resolution: duplicate
Dependencies: Superseder: platform.linux_distribution() returns empty value on Archlinux and python 2.7
View: 20454
Assigned To: Nosy List: analca3, eric.smith
Priority: normal Keywords:

Created on 2016-01-04 17:18 by analca3, last changed 2022-04-11 14:58 by admin. This issue is now closed.

Messages (2)
msg257471 - (view) Author: Antonio Álvarez (analca3) Date: 2016-01-04 17:18
Hi! I have a doubt, is this behaviour in Python2.7.11 usual, or is it a bug?

>>> import platform
>>> platform.linux_distribution()
('', '', '')

In Python3.5.1 I get

>>> import platform
>>> platform.linux_distribution()
('arch', 'Arch', 'Linux')

I work with Archlinux x86_64 with lsb-release installed. Thanks!
msg257489 - (view) Author: Eric V. Smith (eric.smith) * (Python committer) Date: 2016-01-04 20:36
This is a duplicate of issue 20454.
History
Date User Action Args
2022-04-11 14:58:25adminsetgithub: 70196
2016-01-04 20:36:37eric.smithsetstatus: open -> closed

superseder: platform.linux_distribution() returns empty value on Archlinux and python 2.7

nosy: + eric.smith
messages: + msg257489
resolution: duplicate
stage: resolved
2016-01-04 17:20:07analca3settitle: Different behaviour platform.linux_distribution() on Python2.7 and 3.6 -> Different behaviour platform.linux_distribution() on Python2.7.11 and 3.5.1
2016-01-04 17:18:51analca3create