[Python-Dev] Any updates on this subprocess/signal bug/issue (Re: subprocess and EINTR errnos)

Aahz aahz at pythoncraft.com
Mon Jul 6 21:29:45 CEST 2009


On Mon, Jul 06, 2009, Hatem Nassrat wrote:
> On Wed, 17 Nov 2004, Peter Astrand wrote,
>>
>> I've made a patch (attached) to subprocess.py (and test_subprocess.py)
>> that should guard against EINTR, but I haven't committed it yet. It's
>> quite large.
>> 
>> Are Python modules supposed to handle EINTR? Why not let the C code handle
>> this? Or, perhaps the signal module should provide a sigaction function,
>> so that users can use SA_RESTART.
> 
> This is a snippet from a email sent in 2004, I was wondering if there
> was any update on this issue. Are these issues supposed to be handled on
> a per application basis, or will a fix go into Python in the near
> future?

For starters, if there is to be any progress, there needs to be an open
issue on bugs.python.org -- have you searched to see if one already
exists and created one if it doesn't?
-- 
Aahz (aahz at pythoncraft.com)           <*>         http://www.pythoncraft.com/

"as long as we like the same operating system, things are cool." --piranha


More information about the Python-Dev mailing list