[Python-bugs-list] [ python-Bugs-530637 ] Popen3 might cause dead lock

noreply@sourceforge.net noreply@sourceforge.net
Sat, 16 Mar 2002 01:49:28 -0800


Bugs item #530637, was opened at 2002-03-16 09:49
You can respond by visiting: 
http://sourceforge.net/tracker/?func=detail&atid=105470&aid=530637&group_id=5470

Category: Documentation
Group: Feature Request
Status: Open
Resolution: None
Priority: 5
Submitted By: Thomas Guettler (guettli)
Assigned to: Fred L. Drake, Jr. (fdrake)
Summary: Popen3 might cause dead lock

Initial Comment:
Please include a hint in the documentation of popen3
that it can produce a dead lock.

Example:

The subprocess writes a lot of data to stderr and
blocks and your application reads from stdout. It
might result in a dead lock

An other explanation to this can be found here:
http://mail.python.org/pipermail/python-dev/2000-September/009460.html

Unfortunately popen3 is documented twice. Would be nice
if there is a
hint to deadlocks at both places. I am programming
quite long and I
lost hours debugging why this happens sometimes and
sometimes not. (It
only happens if you have a lot of output)

In the documentation of Perl there is a hint
to this problem, too.

thomas

(I already submitted this feature request to
python-docs@python.org. But received no response)









----------------------------------------------------------------------

You can respond by visiting: 
http://sourceforge.net/tracker/?func=detail&atid=105470&aid=530637&group_id=5470