[Python-checkins] r86276 - python/branches/py3k/Lib/distutils/cygwinccompiler.py

eric.araujo python-checkins at python.org
Sat Nov 6 19:03:53 CET 2010


Author: eric.araujo
Date: Sat Nov 6 19:03:52 2010
New Revision: 86276
Log:
Fix #10252 again (hopefully definitely). Patch by Brian Curtin.
Modified:
 python/branches/py3k/Lib/distutils/cygwinccompiler.py
Modified: python/branches/py3k/Lib/distutils/cygwinccompiler.py
==============================================================================
--- python/branches/py3k/Lib/distutils/cygwinccompiler.py	(original)
+++ python/branches/py3k/Lib/distutils/cygwinccompiler.py	Sat Nov 6 19:03:52 2010
@@ -377,9 +377,7 @@
 try:
 out_string = out.read()
 finally:
- out.stdin.close()
- out.stdout.close()
- out.stderr.close()
+ out.close()
 result = RE_VERSION.search(out_string)
 if result is None:
 return None


More information about the Python-checkins mailing list

AltStyle によって変換されたページ (->オリジナル) /