This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

classification
Title: Fix resource warnings in distutils
Type: resource usage Stage: resolved
Components: Distutils, Library (Lib), Tests Versions: Python 3.2
process
Status: closed Resolution: duplicate
Dependencies: Superseder:
Assigned To: Nosy List: brian.curtin, eric.araujo, tarek
Priority: normal Keywords:

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:08adminsetgithub: 54499
2010-11-02 00:52:41brian.curtinsetstatus: open -> closed
messages: + msg120197

assignee: tarek ->
resolution: duplicate
stage: patch review -> resolved
2010-11-02 00:51:38brian.curtincreate