Éric Araujo <mer...@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 <rep...@bugs.python.org> <https://bugs.python.org/issue35416> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com