[New-bugs-announce] [issue10290] Fix resource warnings in distutils

Brian Curtin report at bugs.python.org
Tue Nov 2 01:51:39 CET 2010

New submission from Brian Curtin <curtin at acm.org>:

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.

assignee: tarek
components: Distutils, Library (Lib), Tests
messages: 120196
nosy: brian.curtin, eric.araujo, tarek
priority: normal
severity: normal
stage: patch review
status: open
title: Fix resource warnings in distutils
type: resource usage
versions: Python 3.2

Python tracker <report at bugs.python.org>

More information about the New-bugs-announce mailing list