Roundup Robot added the comment:
New changeset 484c50bf445c by Gregory P. Smith in branch '3.2':
Fixes issue #15756: subprocess.poll() now properly handles errno.ECHILD
http://hg.python.org/cpython/rev/484c50bf445c
New changeset ba8d85552e34 by Gregory P. Smith in branch '3.3':
Fixes issue
Roundup Robot added the comment:
New changeset 53e91fa35f8e by Gregory P. Smith in branch '2.7':
Issue #15756: subprocess.poll() now properly handles errno.ECHILD to
http://hg.python.org/cpython/rev/53e91fa35f8e
--
___
Python tracker
Changes by Gregory P. Smith g...@krypto.org:
--
resolution: - fixed
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue15756
___
Changes by Jesús Cea Avión j...@jcea.es:
--
nosy: +jcea
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue15756
___
___
Python-bugs-list mailing list
Changes by Berker Peksag berker.pek...@gmail.com:
--
versions: -Python 2.6, Python 3.1
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue15756
___
Gregory P. Smith added the comment:
thanks! I'll take care of getting this fix in.
--
assignee: - gregory.p.smith
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue15756
___
Changes by Tshepang Lekhonkhobe tshep...@gmail.com:
--
nosy: +tshepang
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue15756
___
___
New submission from Todd Whiteman:
In the case of a errno.ECHILD exception - Python's subprocess module misses
the fact that the process has already ended.
The following code will wait indefinitely, even though the launched process is
quickly ended:
import subprocess, signal
Changes by Todd Whiteman twhit...@yahoo.com.au:
--
nosy: +gregory.p.smith
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue15756
___
___
Todd Whiteman added the comment:
The attached patch handles errno.ECHILD in the _internal_poll() method and I've
updated the existing sigchild_ignore.py test file to perform polling as well.
An unpatched version of Pyhton would normally hang on this particular test,
whilst the patched version
10 matches
Mail list logo