[issue27903] Avoid ResourceWarnings from platform._dist_try_harder

2018-11-29 Thread STINNER Victor
STINNER Victor added the comment: No problem, thanks for "cc-ing" me ;-) -- ___ Python tracker ___ ___ Python-bugs-list mailing

[issue27903] Avoid ResourceWarnings from platform._dist_try_harder

2018-11-29 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: Ah sorry I forgot the previous versions that had this code. Thanks for the catch and PR victor :) -- ___ Python tracker ___

[issue27903] Avoid ResourceWarnings from platform._dist_try_harder

2018-11-29 Thread STINNER Victor
Change by STINNER Victor : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___

[issue27903] Avoid ResourceWarnings from platform._dist_try_harder

2018-11-29 Thread STINNER Victor
STINNER Victor added the comment: Thanks Ville Skyttä for your bugfix! I applied it in 3.6 and 3.7 branches. FYI as Karthikeyan Singaravelan wrote, the function is gone (I removed it) from the master branch ;-) -- ___ Python tracker

[issue27903] Avoid ResourceWarnings from platform._dist_try_harder

2018-11-29 Thread miss-islington
miss-islington added the comment: New changeset cbf57674e257617977b35c016e861a52b5f65359 by Miss Islington (bot) in branch '3.6': bpo-27903: Fix ResourceWarning in platform.dist() (GH-10792) https://github.com/python/cpython/commit/cbf57674e257617977b35c016e861a52b5f65359 -- nosy:

[issue27903] Avoid ResourceWarnings from platform._dist_try_harder

2018-11-29 Thread miss-islington
Change by miss-islington : -- pull_requests: +10040 stage: resolved -> patch review ___ Python tracker ___ ___ Python-bugs-list

[issue27903] Avoid ResourceWarnings from platform._dist_try_harder

2018-11-29 Thread STINNER Victor
STINNER Victor added the comment: New changeset 7eeab87263b831adbe617a4af7ec5b5d9296962a by Victor Stinner in branch '3.7': bpo-27903: Fix ResourceWarning in platform.dist() (GH-10792) https://github.com/python/cpython/commit/7eeab87263b831adbe617a4af7ec5b5d9296962a --

[issue27903] Avoid ResourceWarnings from platform._dist_try_harder

2018-11-29 Thread STINNER Victor
STINNER Victor added the comment: Python 3.6 and 3.7 are still supported. The patch LGTM, I converted it to a PR. -- resolution: out of date -> status: closed -> open versions: +Python 3.6, Python 3.7 ___ Python tracker

[issue27903] Avoid ResourceWarnings from platform._dist_try_harder

2018-11-29 Thread STINNER Victor
Change by STINNER Victor : -- pull_requests: +10039 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue27903] Avoid ResourceWarnings from platform._dist_try_harder

2018-11-28 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: I guess this can be closed as out of date since the function was removed with https://github.com/python/cpython/pull/10787/. cc: Victor -- nosy: +vstinner resolution: -> out of date stage: -> resolved status: open -> closed

[issue27903] Avoid ResourceWarnings from platform._dist_try_harder

2018-09-25 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: 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

[issue27903] Avoid ResourceWarnings from platform._dist_try_harder

2018-09-21 Thread Karthikeyan Singaravelan
Change by Karthikeyan Singaravelan : -- nosy: +xtreak ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue27903] Avoid ResourceWarnings from platform._dist_try_harder

2016-08-30 Thread Ned Deily
Changes by Ned Deily : -- nosy: +lemburg ___ Python tracker ___ ___ Python-bugs-list mailing

[issue27903] Avoid ResourceWarnings from platform._dist_try_harder

2016-08-30 Thread Ville Skyttä
New submission from Ville Skyttä: Use opened files as context managers. -- components: Library (Lib) files: platform-resourcewarning.patch keywords: patch messages: 273969 nosy: scop priority: normal severity: normal status: open title: Avoid ResourceWarnings from