[issue7678] subprocess.Popen pipeline example code in the documentation is lacking
26 Dec
2010
26 Dec
'10
2:59 a.m.
Éric Araujo <merwok@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@bugs.python.org> <http://bugs.python.org/issue7678> _______________________________________
5134
Age (days ago)
5134
Last active (days ago)
0 comments
1 participants
participants (1)
-
Éric Araujo