mirror of
https://github.com/python/cpython.git
synced 2025-11-02 11:08:57 +00:00
merge 3.5 (#27969)
This commit is contained in:
commit
45c7514de4
1 changed files with 1 additions and 0 deletions
|
|
@ -24,6 +24,7 @@ def get_gdb_version():
|
||||||
try:
|
try:
|
||||||
proc = subprocess.Popen(["gdb", "-nx", "--version"],
|
proc = subprocess.Popen(["gdb", "-nx", "--version"],
|
||||||
stdout=subprocess.PIPE,
|
stdout=subprocess.PIPE,
|
||||||
|
stderr=subprocess.PIPE,
|
||||||
universal_newlines=True)
|
universal_newlines=True)
|
||||||
with proc:
|
with proc:
|
||||||
version = proc.communicate()[0]
|
version = proc.communicate()[0]
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue