]> granicus.if.org Git - python/commit
Use select.poll() in subprocess, when available, rather than select() so that
authorGregory P. Smith <greg@mad-scientist.com>
Sat, 4 Jul 2009 01:49:29 +0000 (01:49 +0000)
committerGregory P. Smith <greg@mad-scientist.com>
Sat, 4 Jul 2009 01:49:29 +0000 (01:49 +0000)
commitdd7ca24eb5c68ae72df13b8b987bff7b90235044
tree4e0b04da4fe9453ff8fc24ba69b360bad5ec518e
parent41c7570d48afec05234071d1bba3d6dc76fab55c
Use select.poll() in subprocess, when available, rather than select() so that
it does not fail when file descriptors are large.  Fixes issue3392.

Patch largely contributed by Frank Chu (fpmc) with some improvements by me.
See http://bugs.python.org/issue3392.

Candidate for backporting to release26-maint as it is a bug fix and changes no
public API.
Lib/subprocess.py
Lib/test/test_subprocess.py