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.
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:25 | admin | set | github: 70196 |
| 2016年01月04日 20:36:37 | eric.smith | set | status: 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:07 | analca3 | set | title: 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:51 | analca3 | create | |