Skip to content

bpo-33435: Fixed incorrect version detection of linux in some distributions (platform.py)#6718

Closed
mrandybu wants to merge 2 commits into
python:masterfrom
mrandybu:feature
Closed

bpo-33435: Fixed incorrect version detection of linux in some distributions (platform.py)#6718
mrandybu wants to merge 2 commits into
python:masterfrom
mrandybu:feature

Conversation

@mrandybu

@mrandybu mrandybu commented May 6, 2018

Copy link
Copy Markdown

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.

https://bugs.python.org/issue33435

@the-knights-who-say-ni

Copy link
Copy Markdown

Hello, and thanks for your contribution!

I'm a bot set up to make sure that the project can legally accept your contribution by verifying you have signed the PSF contributor agreement (CLA).

Unfortunately we couldn't find an account corresponding to your GitHub username on bugs.python.org (b.p.o) to verify you have signed the CLA (this might be simply due to a missing "GitHub Name" entry in your b.p.o account settings). This is necessary for legal reasons before we can look at your contribution. Please follow the steps outlined in the CPython devguide to rectify this issue.

When your account is ready, please add a comment in this pull request
and a Python core developer will remove the CLA not signed label
to make the bot check again.

Thanks again to your contribution and we look forward to looking at it!

@mrandybu mrandybu closed this May 6, 2018
@mrandybu mrandybu deleted the feature branch May 6, 2018 09:55
@mrandybu mrandybu restored the feature branch May 6, 2018 09:57
@mrandybu mrandybu reopened this May 6, 2018
@mrandybu mrandybu changed the title Fixed incorrect version detection of linux in some distributions bpo-33435: Fixed incorrect version detection of linux in some distributions (platform.py) May 7, 2018
@mrandybu mrandybu closed this May 7, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants