Message330733
> 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. |
|
| Date |
User |
Action |
Args |
| 2018-11-29 22:14:25 | vstinner | set | recipients:
+ vstinner, lemburg, brett.cannon, serhiy.storchaka |
| 2018-11-29 22:14:25 | vstinner | set | messageid: <[email protected]> |
| 2018-11-29 22:14:25 | vstinner | link | issue35346 messages |
| 2018-11-29 22:14:25 | vstinner | create | |
|