Éric Araujo <mer...@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 <rep...@bugs.python.org>
<http://bugs.python.org/issue7678>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to