[pypy-commit] cffi cffi-1.0: Hum, we need to close manually the subprocess.PIPE it seems

arigo noreply at buildbot.pypy.org
Tue May 12 10:23:42 CEST 2015


Author: Armin Rigo <arigo at tunes.org>
Branch: cffi-1.0
Changeset: r1980:c7a22595754b
Date: 2015-05-12 10:15 +0200
http://bitbucket.org/cffi/cffi/changeset/c7a22595754b/

Log:	Hum, we need to close manually the subprocess.PIPE it seems

diff --git a/setup.py b/setup.py
--- a/setup.py
+++ b/setup.py
@@ -23,6 +23,7 @@
             raise
     else:
         t = p.stdout.read().decode().strip()
+        p.stdout.close()
         if p.wait() == 0:
             res = t.split()
             # '-I/usr/...' -> '/usr/...'


More information about the pypy-commit mailing list