Issue 33513: incorrect detection of information of some distributions python2 (original) (raw)

Issue33513

Created on 2018-05-15 06:59 by mrandybu, last changed 2022-04-11 14:59 by admin. This issue is now closed.

Files
File name Uploaded Description Edit
fix-issue-33513.patch mrandybu,2018-05-15 07:08
Pull Requests
URL Status Linked Edit
PR 6855 closed mrandybu,2018-05-15 07:47
Messages (2)
msg316628 - (view) Author: Andrey Bychkov (mrandybu) * Date: 2018-05-15 06:59
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 - parse the information from it.
msg316888 - (view) Author: STINNER Victor (vstinner) * (Python committer) Date: 2018-05-17 07:07
Oh wow. That looks more like a new feature than a bugfix or short cleanup. I'm not sure that it's ok to do it in Python 2. platform.linux_distribution() is deprecated since Python 3.5 and just has been removed from Python 3.8: see bpo-28167. I suggest to close this issue as WONTFIX, sorry.
History
Date User Action Args
2022-04-11 14:59:00 admin set github: 77694
2018-05-17 07:11:11 serhiy.storchaka set status: open -> closedresolution: wont fixstage: patch review -> resolved
2018-05-17 07:07:40 vstinner set nosy: + vstinnermessages: +
2018-05-15 08:58:19 ned.deily set nosy: + lemburg
2018-05-15 07:47:35 mrandybu set stage: patch reviewpull_requests: + <pull%5Frequest6530>
2018-05-15 07:08:05 mrandybu set files: + fix-issue-33513.patchkeywords: + patch
2018-05-15 06:59:11 mrandybu create