diff options
author | Victor Stinner <victor.stinner@haypocalc.com> | 2011-01-05 03:54:28 +0000 |
---|---|---|
committer | Victor Stinner <victor.stinner@haypocalc.com> | 2011-01-05 03:54:28 +0000 |
commit | 055f89ff8e76831a78710d5d8a561d6a3d7de9ae (patch) | |
tree | 7b6b748ac9f56258152fa4173090d124068f3d18 /Python/pythonrun.c | |
parent | f024bc1c2ee5fabfcae4beab32c387ccbe21d78c (diff) | |
download | cpython-055f89ff8e76831a78710d5d8a561d6a3d7de9ae.tar.gz |
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/pythonrun.c')
0 files changed, 0 insertions, 0 deletions