Author rnk
Recipients abbot, astrand, brian.curtin, dmalcolm, filippo, giampaolo.rodola, guettli, orsenthil, pitrou, r.david.murray, rnk, srid
Date 2010-07-16.15:38:56
SpamBayes Score 0.00319477
Marked as misclassified No
Message-id <>
I forgot that I had to tweak the test as well as  I did a .replace('\r', ''), but universal newlines is better.

Looking at the open questions I had about the Windows threads, I think it'll be OK if the user follows the pattern of:
proc = subprocess.Popen(...)
    stdout, stderr = proc.communicate(timeout=...)
except subprocess.TimeoutExpired:
    stdout, stderr = proc.communicate()

If the child process is deadlocked and the user doesn't kill it, then the file descriptors will be leaked and the daemon threads will also live on forever.  I *think* that's the worst that could happen.  Or they could of course wakeup during interpreter shutdown and cause tracebacks, but that's highly unlikely, and already possible currently.

Anyway, I would say we can't avoid leaking the fds in that situation, because we can't know if the user will eventually ask us for the data or not.  If they want to avoid the leak, they can clean up after themselves.

What's the next step for getting this in?  Thanks to those who've taken time to look at this so far.
Date User Action Args
2010-07-16 15:39:03rnksetrecipients: + rnk, guettli, astrand, orsenthil, pitrou, giampaolo.rodola, abbot, r.david.murray, brian.curtin, srid, dmalcolm, filippo
2010-07-16 15:39:03rnksetmessageid: <>
2010-07-16 15:39:01rnklinkissue5673 messages
2010-07-16 15:39:00rnkcreate