]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
bpo-27903: Fix ResourceWarning in platform.dist() (GH-10792)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Thu, 29 Nov 2018 11:53:19 +0000 (03:53 -0800)
committerGitHub <noreply@github.com>
Thu, 29 Nov 2018 11:53:19 +0000 (03:53 -0800)
commitcbf57674e257617977b35c016e861a52b5f65359
treee76af31d42333ab1b9b6edc880fd7f55b945fea3
parent2a852a2b122cf9545909234cdc8fca564dc8f805
bpo-27903: Fix ResourceWarning in platform.dist() (GH-10792)

Fix ResourceWarning in platform.dist() and
platform.linux_distribution() on SuSE and Caldera OpenLinux.

Patch by Ville Skyttä.
(cherry picked from commit 7eeab87263b831adbe617a4af7ec5b5d9296962a)

Co-authored-by: Victor Stinner <vstinner@redhat.com>
Lib/platform.py
Misc/NEWS.d/next/Library/2018-11-29-12-14-04.bpo-27903.ia8xgT.rst [new file with mode: 0644]