This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author vstinner
Recipients brett.cannon, lemburg, serhiy.storchaka, vstinner
Date 2018-11-29.22:14:25
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1543529665.49.0.788709270274.issue35346@psf.upfronthosting.co.za>
In-reply-to
Content
> 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.
History
Date User Action Args
2018-11-29 22:14:25vstinnersetrecipients: + vstinner, lemburg, brett.cannon, serhiy.storchaka
2018-11-29 22:14:25vstinnersetmessageid: <1543529665.49.0.788709270274.issue35346@psf.upfronthosting.co.za>
2018-11-29 22:14:25vstinnerlinkissue35346 messages
2018-11-29 22:14:25vstinnercreate