summaryrefslogtreecommitdiffstats
path: root/Python/getcwd.c
diff options
context:
space:
mode:
authorVictor Stinner <victor.stinner@haypocalc.com>2011-01-05 03:54:28 (GMT)
committerVictor Stinner <victor.stinner@haypocalc.com>2011-01-05 03:54:28 (GMT)
commitc932b65428b4995bc53609ed361fddf382882ee5 (patch)
treee2cac3eff5a4c6fb3f3a57ec3f7c2fb174d64160 /Python/getcwd.c
parent4b2b43d9889b498c1dc71b8a2bef8cfea45f410c (diff)
downloadcpython-c932b65428b4995bc53609ed361fddf382882ee5.zip
cpython-c932b65428b4995bc53609ed361fddf382882ee5.tar.gz
cpython-c932b65428b4995bc53609ed361fddf382882ee5.tar.bz2
test_threading: use Popen.communicate() instead of .wait()
Popen.communicate() avoids deadlocks and close the pipes when done. This commit fixes a ResourceWarning(unclosed pipe).
Diffstat (limited to 'Python/getcwd.c')
0 files changed, 0 insertions, 0 deletions