[issue35416] Fix potential resource warnings in distutils
Éric Araujo
report at bugs.python.org
Wed Dec 5 09:08:14 EST 2018
Éric Araujo <merwok at netwok.org> added the comment:
I think the places that already use try/finally: close are correct.
We try to minimize churn in distutils; changing to with is nice but does not fix errors or warning in these cases.
The changes for the few spots that don’t use finally: close are welcome though!
----------
_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue35416>
_______________________________________
More information about the Python-bugs-list
mailing list