diff options
author | Victor Stinner <victor.stinner@haypocalc.com> | 2010-04-18 09:11:53 (GMT) |
---|---|---|
committer | Victor Stinner <victor.stinner@haypocalc.com> | 2010-04-18 09:11:53 (GMT) |
commit | 38148ea5f0ce9c76c4c75d89320f56795ae1e7ad (patch) | |
tree | 2d2e67b8305c79fef6a1a2ac6765fd4ba633703f /Include/pgen.h | |
parent | 1efde679ce196730cf60fd61b9ac3bcbabfba35a (diff) | |
download | cpython-38148ea5f0ce9c76c4c75d89320f56795ae1e7ad.zip cpython-38148ea5f0ce9c76c4c75d89320f56795ae1e7ad.tar.gz cpython-38148ea5f0ce9c76c4c75d89320f56795ae1e7ad.tar.bz2 |
Merged revisions 80166 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r80166 | victor.stinner | 2010-04-18 11:07:49 +0200 (dim., 18 avril 2010) | 7 lines
platform: use subprocess.Popen() instead of os.popen() in _syscmd_file()
* Popen() avoids ugly shell escape: target.replace('"', '\\"')
* Use proc.communicate() instead of f.stdout.read()
* Get output from stdout by splitting with ": " instead of splitting by spaces
to support filename with spaces
........
Diffstat (limited to 'Include/pgen.h')
0 files changed, 0 insertions, 0 deletions