[issue20454] platform.linux_distribution() returns empty value on Archlinux and python 2.7

2018-05-25 Thread Petr Viktorin
Petr Viktorin added the comment: Er, sorry, I meant in 3.8. -- ___ Python tracker ___

[issue20454] platform.linux_distribution() returns empty value on Archlinux and python 2.7

2018-05-25 Thread Petr Viktorin
Petr Viktorin added the comment: linux_distribution is removed in Python 3.7. Closing. -- nosy: +petr.viktorin resolution: -> out of date stage: -> resolved status: open -> closed ___ Python tracker

[issue20454] platform.linux_distribution() returns empty value on Archlinux and python 2.7

2015-06-06 Thread Berker Peksag
Changes by Berker Peksag berker.pek...@gmail.com: -- nosy: +Nathan Ringo ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue20454 ___ ___

[issue20454] platform.linux_distribution() returns empty value on Archlinux and python 2.7

2015-06-06 Thread Nathan Ringo
Nathan Ringo added the comment: The problem is, existing software (Ansible) relies on linux_distribution() -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue20454 ___

[issue20454] platform.linux_distribution() returns empty value on Archlinux and python 2.7

2015-04-16 Thread ha034
ha034 added the comment: Hey guys, Just add: if os.path.exists('/etc/arch-release'): distname = 'arch' in _dist_try_harder then replace the old list with this one: _supported_dists = ( 'SuSE', 'debian', 'fedora', 'redhat', 'centos', 'mandrake', 'mandriva', 'rocks',

[issue20454] platform.linux_distribution() returns empty value on Archlinux and python 2.7

2015-04-16 Thread R. David Murray
R. David Murray added the comment: Since the direction we are heading seems to toward deprecating linux_distribution (see http://bugs.python.org/issue1322#msg207427), I think this issue should be closed. -- nosy: +r.david.murray ___ Python tracker

[issue20454] platform.linux_distribution() returns empty value on Archlinux and python 2.7

2015-03-09 Thread Mark Lawrence
Mark Lawrence added the comment: Can Archlinux be added to _supported_dists as requested in msg209764, I've no understanding of the criteria involved here? -- nosy: +BreamoreBoy ___ Python tracker rep...@bugs.python.org

[issue20454] platform.linux_distribution() returns empty value on Archlinux and python 2.7

2014-01-31 Thread Francis Moreau
Changes by Francis Moreau francis.m...@gmail.com: -- type: - behavior ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue20454 ___ ___

[issue20454] platform.linux_distribution() returns empty value on Archlinux and python 2.7

2014-01-31 Thread Francis Moreau
New submission from Francis Moreau: On Archlinux: $ python2.7 -c 'import platform; print(platform.linux_distribution())' ('', '', '') This is because Archlinux is not part of the '_supported_dists' list. Could Archlinux be added to this list ? Thanks. -- components: Library (Lib)