[issue10290] Fix resource warnings in distutils

2010-11-01 Thread Brian Curtin
Brian Curtin added the comment: Wow, I should open my eyes. Dupe of #10252 -- assignee: tarek -> resolution: -> duplicate stage: patch review -> committed/rejected status: open -> closed ___ Python tracker _

[issue10290] Fix resource warnings in distutils

2010-11-01 Thread Brian Curtin
New submission from Brian Curtin : 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 P