[docs] [issue7678] subprocess.Popen pipeline example code in the documentation is lacking

Éric Araujo report at bugs.python.org
Sun Dec 26 02:59:00 CET 2010

Éric Araujo <merwok at netwok.org> added the comment:

As a non-expert user of subprocess, calling close before communicate seems strange to me.  Does the example code with a bug work if close is called after communicate?

In the 3.2 docs, we could update the example to use a with statement, unless it is deemed a distraction for this simple introductory section.

nosy: +eric.araujo, gregory.p.smith -georg.brandl
stage:  -> needs patch
type:  -> behavior
versions: +Python 2.7, Python 3.1, Python 3.2 -Python 2.6

Python tracker <report at bugs.python.org>

More information about the docs mailing list