[issue27903] Avoid ResourceWarnings from platform._dist_try_harder

Ville Skyttä report at bugs.python.org
Tue Aug 30 17:19:38 EDT 2016


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 platform._dist_try_harder
type: enhancement
Added file: http://bugs.python.org/file44283/platform-resourcewarning.patch

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue27903>
_______________________________________


More information about the Python-bugs-list mailing list