[issue6610] Subprocess descriptor debacle

2011-01-03 Thread Georg Brandl
Georg Brandl added the comment: Superseded by #10806. -- nosy: +georg.brandl resolution: -> duplicate status: open -> closed superseder: -> Subprocess error if fds 0,1,2 are closed ___ Python tracker

[issue6610] Subprocess descriptor debacle

2010-07-20 Thread Mark Lawrence
Mark Lawrence added the comment: The patch is small, is there any solid reason for not committing it? -- nosy: +BreamoreBoy ___ Python tracker ___ ___

[issue6610] Subprocess descriptor debacle

2010-05-14 Thread Yaniv Aknin
Yaniv Aknin added the comment: I think if the test is conducted without closing stderr, it will only check that stdin/stdout are handled correctly (you could assume that if one handled stdin/stdout correctly, they did the same with stderr). However, since I've used a context manager (_NoStand

[issue6610] Subprocess descriptor debacle

2010-05-14 Thread Antoine Pitrou
Antoine Pitrou added the comment: Would the test still be correct if it didn't close stderr? I feel closing stderr is very bad from a debuggability standpoint. -- ___ Python tracker ___

[issue6610] Subprocess descriptor debacle

2010-05-12 Thread Gregory P. Smith
Gregory P. Smith added the comment: Thanks for the test! I'll take a look and likely commit this later. -- assignee: -> gregory.p.smith ___ Python tracker ___ _

[issue6610] Subprocess descriptor debacle

2010-05-12 Thread Antoine Pitrou
Changes by Antoine Pitrou : -- nosy: +gregory.p.smith ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mai

[issue6610] Subprocess descriptor debacle

2010-05-12 Thread Ezio Melotti
Changes by Ezio Melotti : -- nosy: +astrand, pitrou stage: needs patch -> patch review versions: -Python 3.0 ___ Python tracker ___ __

[issue6610] Subprocess descriptor debacle

2010-04-07 Thread Yaniv Aknin
Yaniv Aknin added the comment: It seems to me that subprocess is protected against this flaw. Python 2.x has a pure-Python implementation of the child logic (which is susceptible to an unrelated issue). Python 3.x has a C implementation which falls back to pure-Python if the former is not ava

[issue6610] Subprocess descriptor debacle

2009-07-30 Thread Christian Heimes
New submission from Christian Heimes : The subprocess module may suffer from a minor design flaw that is described at http://unixwiz.net/techtips/remap-pipe-fds.html under the heading "Descriptor Debacle". The problem can occur under rare conditions when a subprocess is created from a Python daem