[issue35416] Fix potential resource warnings in distutils

Mickaël Schoentgen report at bugs.python.org
Wed Dec 5 03:54:19 EST 2018


New submission from Mickaël Schoentgen <contact at tiger-222.fr>:

I am looking to clean-up potential ResourceWarnings in distutils. The patch will provide 2 changes:
    - ensure file descriptor are always closed when it is not the case
    - and uniformization of the "with open(...)" use

----------
components: Distutils
messages: 331097
nosy: Tiger-222, dstufft, eric.araujo
priority: normal
severity: normal
status: open
title: Fix potential resource warnings in distutils
type: enhancement
versions: Python 3.8

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue35416>
_______________________________________


More information about the Python-bugs-list mailing list