Message326338
Thanks for the report and patch Ville. CPython development now uses GitHub PR instead of patches. It seems usages of this function was removed in 8b94b41ab7b12f745dea744e8940631318816935 during removal of platform.linux_distribution. This essentially seems to be unused code on master which I hope can be removed. So this patch is effective only for 3.7 and 3.6. Would you like to make a PR to take this forward?
No usages on master except definition.
➜ cpython git:(master) rg _dist_try_harder
Lib/platform.py
230:def _dist_try_harder(distname, version, id):
Thanks |
|
Date |
User |
Action |
Args |
2018-09-25 10:06:20 | xtreak | set | recipients:
+ xtreak, lemburg, scop |
2018-09-25 10:06:20 | xtreak | set | messageid: <1537869980.44.0.545547206417.issue27903@psf.upfronthosting.co.za> |
2018-09-25 10:06:20 | xtreak | link | issue27903 messages |
2018-09-25 10:06:20 | xtreak | create | |
|