diff options
author | Georg Brandl <georg@python.org> | 2008-12-05 09:09:31 +0000 |
---|---|---|
committer | Georg Brandl <georg@python.org> | 2008-12-05 09:09:31 +0000 |
commit | dc1405a94f3be3e74e1971a7924443e8e645c2c7 (patch) | |
tree | 808092f73be6610d1848e10623d12608093788f3 /Python/Python-ast.c | |
parent | fa71a907031b9342c47eef17a840d0488063801c (diff) | |
download | cpython-git-dc1405a94f3be3e74e1971a7924443e8e645c2c7.tar.gz |
Blocked revisions 67536-67537,67543 via svnmerge
........
r67536 | gregory.p.smith | 2008-12-04 21:21:09 +0100 (Thu, 04 Dec 2008) | 3 lines
Adds a subprocess.check_call_output() function to return the output from a
process on success or raise an exception on error.
........
r67537 | vinay.sajip | 2008-12-04 21:32:18 +0100 (Thu, 04 Dec 2008) | 1 line
Took Nick Coghlan's advice about importing warnings globally in logging, to avoid the possibility of race conditions: "This could deadlock if a thread spawned as a side effect of importing a module happens to trigger a warning. warnings is pulled into sys.modules as part of the interpreter startup - having a global 'import warnings' shouldn't have any real effect on logging's import time."
........
r67543 | gregory.p.smith | 2008-12-05 03:27:01 +0100 (Fri, 05 Dec 2008) | 2 lines
rename the new check_call_output to check_output. its less ugly.
........
Diffstat (limited to 'Python/Python-ast.c')
0 files changed, 0 insertions, 0 deletions