Issue 10290: Fix resource warnings in distutils (original) (raw)

Issue10290

Created on 2010-11-02 00:51 by brian.curtin, last changed 2022-04-11 14:57 by admin. This issue is now closed.

Messages (2)
msg120196 - (view) Author: Brian Curtin (brian.curtin) * (Python committer) Date: 2010-11-02 00:51
The attached patch cleans up the numerous ResourceWarning messages that distutils test runs generate. The changes basically just close all open files - some in the test suite, some in the library code. No context managers were used since distutils appears in PEP 291 as requiring 2.3 support.
msg120197 - (view) Author: Brian Curtin (brian.curtin) * (Python committer) Date: 2010-11-02 00:52
Wow, I should open my eyes. Dupe of #10252
History
Date User Action Args
2022-04-11 14:57:08 admin set github: 54499
2010-11-02 00:52:41 brian.curtin set status: open -> closedmessages: + assignee: tarek -> resolution: duplicatestage: patch review -> resolved
2010-11-02 00:51:38 brian.curtin create