[New-bugs-announce] [issue33435] incorrect detection of information of some distributions

Andrey Bychkov report at bugs.python.org
Sun May 6 05:53:32 EDT 2018


New submission from Andrey Bychkov <mrandybu at gmail.com>:

In some linux distributions, the information about the distribution is incorrectly determined when the linux_distribution() method is called from the platform class. Since the information file os-release becomes a certain standard, I propose first of all to check its availability and if it is in the system, then parse the information from it. I apply the patch. It will work well with version 2.7.

----------
components: Library (Lib)
files: fixed_lib_platform_os-release.patch
keywords: patch
messages: 316232
nosy: Andrey Bychkov
priority: normal
severity: normal
status: open
title: incorrect detection of information of some distributions
type: behavior
versions: Python 3.6
Added file: https://bugs.python.org/file47572/fixed_lib_platform_os-release.patch

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue33435>
_______________________________________


More information about the New-bugs-announce mailing list