[issue33513] incorrect detection of information of some distributions python2

2018-05-17 Thread Serhiy Storchaka

Change by Serhiy Storchaka :


--
resolution:  -> wont fix
stage: patch review -> resolved
status: open -> closed

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue33513] incorrect detection of information of some distributions python2

2018-05-17 Thread STINNER Victor

STINNER Victor  added the comment:

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.

--
nosy: +vstinner

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue33513] incorrect detection of information of some distributions python2

2018-05-15 Thread Ned Deily

Change by Ned Deily :


--
nosy: +lemburg

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue33513] incorrect detection of information of some distributions python2

2018-05-15 Thread Andrey Bychkov

Change by Andrey Bychkov :


--
pull_requests: +6530
stage:  -> patch review

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue33513] incorrect detection of information of some distributions python2

2018-05-15 Thread Andrey Bychkov

Change by Andrey Bychkov :


--
keywords: +patch
Added file: https://bugs.python.org/file47590/fix-issue-33513.patch

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue33513] incorrect detection of information of some distributions python2

2018-05-15 Thread Andrey Bychkov

New submission from Andrey Bychkov :

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.

--
components: Library (Lib)
messages: 316628
nosy: mrandybu
priority: normal
severity: normal
status: open
title: incorrect detection of information of some distributions python2
type: behavior
versions: Python 2.7

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com