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: platform module can't detect archlinux distribution
Type: behavior Stage: resolved
Components: Library (Lib) Versions: Python 3.3
process
Status: closed Resolution: duplicate
Dependencies: Superseder: Add support for Arch Linux to platform.linux_distributions()
View: 11678
Assigned To: Nosy List: eric.araujo, lemburg, lilaboc
Priority: normal Keywords: patch

Created on 2011-05-30 11:46 by lilaboc, last changed 2022-04-11 14:57 by admin. This issue is now closed.

Files
File name Uploaded Description Edit
platform.py.patch lilaboc, 2011-05-30 12:39 review
Messages (2)
msg137258 - (view) Author: zhou wei (lilaboc) Date: 2011-05-30 11:46
platform.py can't detect archlinux distribution.
the fix is to try to detect whether /etc/arch-release exists (archlinux is using a rolling release model, so no version, id here. https://wiki.archlinux.org/index.php/Arch_Linux).
msg137550 - (view) Author: Éric Araujo (eric.araujo) * (Python committer) Date: 2011-06-03 16:26
Thanks for the patch.  Please join the discussion on the other bug report.
History
Date User Action Args
2022-04-11 14:57:17adminsetgithub: 56423
2011-06-03 16:26:26eric.araujosetstatus: open -> closed

superseder: Add support for Arch Linux to platform.linux_distributions()
versions: + Python 3.3, - Python 3.1, Python 2.7, Python 3.2
nosy: + eric.araujo

messages: + msg137550
resolution: duplicate
stage: resolved
2011-05-30 12:39:13lilabocsetfiles: + platform.py.patch
2011-05-30 12:38:02lilabocsetfiles: - platform.py.patch
2011-05-30 11:46:20lilaboccreate