STINNER Victor <vstin...@redhat.com> added the comment:

> Please keep Python 2.7 compatibility. It should be possible to copy the 
> module back into Python 2.7 and use it there.

I don't understand why someone would like to copy Lib/platform.py from the 
master branch to Python 2.7? Python 2.7 already provides the platform module, 
it's part of its standard library.

platform.linux_distribution() function has been removed from master, so you 
cannot simply copy platform.py from master and use it in Python 2.7: it has a 
different API.

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<https://bugs.python.org/issue35346>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to