[issue12114] packaging.util._find_exe_version(): potential deadlock

2011-05-20 Thread Roundup Robot
Roundup Robot added the comment: New changeset bf5b974e7d32 by Victor Stinner in branch 'default': Close #12114: fix a potential deadlock in packaging.util._find_exe_version() http://hg.python.org/cpython/rev/bf5b974e7d32 -- nosy: +python-dev resolution: -> fixed stage: -> committed/r

[issue12114] packaging.util._find_exe_version(): potential deadlock

2011-05-19 Thread Arfrever Frehtes Taifersar Arahesis
Changes by Arfrever Frehtes Taifersar Arahesis : -- nosy: +Arfrever ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscri

[issue12114] packaging.util._find_exe_version(): potential deadlock

2011-05-19 Thread STINNER Victor
New submission from STINNER Victor : The following code does deadlock if the subprocess writes a lot of output to stdout and stderr: pipe = Popen(cmd, shell=True, stdout=PIPE, stderr=PIPE) try: stdout, stderr = pipe.stdout.read(), pipe.stderr.read() finally: pipe.std