New submission from STINNER Victor <victor.stin...@haypocalc.com>:

subprocess.Popen.communicate() doesn't catch EINTR error if it is called 
without timeout and if there is only one PIPE (stdout or stderr).

Attached patch fixes these cases. It may need a test.

I found this bug while working on test_signal, especially on the inter process 
signal tests.

----------
components: Library (Lib)
files: subprocess_communicate_eintr.patch
keywords: patch
messages: 139811
nosy: haypo
priority: normal
severity: normal
status: open
title: subprocess: Popen.communicate() doesn't handle EINTR in some cases
versions: Python 2.7, Python 3.2, Python 3.3
Added file: http://bugs.python.org/file22571/subprocess_communicate_eintr.patch

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue12493>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to