Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
FS#45236 - [python2] platform.linux_distribution() is incorrect
Attached to Project:
Arch Linux
Opened by Nathaniel Ringo (tikiking1) - Saturday, 06 June 2015, 20:48 GMT
Last edited by Doug Newgard (Scimmia) - Sunday, 07 June 2015, 02:34 GMT
Opened by Nathaniel Ringo (tikiking1) - Saturday, 06 June 2015, 20:48 GMT
Last edited by Doug Newgard (Scimmia) - Sunday, 07 June 2015, 02:34 GMT
|
DetailsDescription:
In Python 2, platform.linux_distribution() returns ('', '', '') instead of ('arch', 'Arch', 'Linux'). This is upstream bug #20454 (http://bugs.python.org/issue20454), however, it seems unlikely to be merged and affects only Arch users. Message 241212 (http://bugs.python.org/msg241212) has instructions for fixing. Additional info: * pacman2 2.7.10-1 Steps to reproduce: $ python2 -c 'import platform; print platform.linux_distribution()' ('', '', '') $ python3 -c 'import platform; print(platform.linux_distribution())' ('arch', 'Arch', 'Linux') |
This task depends upon
Closed by Doug Newgard (Scimmia)
Sunday, 07 June 2015, 02:34 GMT
Reason for closing: Duplicate
Additional comments about closing: FS#40928
Sunday, 07 June 2015, 02:34 GMT
Reason for closing: Duplicate
Additional comments about closing:
Additional info:
* pacman2 2.7.10-1
should read
Additional info:
* python2 2.7.10-1