mirror of https://github.com/python/cpython
Merge from 3.5
This commit is contained in:
commit
5b9cd7fa2e
1
.hgtags
1
.hgtags
|
@ -152,3 +152,4 @@ b4cbecbc0781e89a309d03b60a1f75f8499250e6 v3.4.3
|
|||
7a088af5615bf04024e9912068f4bd8f43ed3917 v3.5.0b2
|
||||
0035fcd9b9243ae52c2e830204fd9c1f7d528534 v3.5.0b3
|
||||
c0d64105463581f85d0e368e8d6e59b7fd8f12b1 v3.5.0b4
|
||||
1a58b1227501e046eee13d90f113417b60843301 v3.5.0rc1
|
||||
|
|
|
@ -440,7 +440,7 @@ def _syscmd_ver(system='', release='', version='',
|
|||
# Try some common cmd strings
|
||||
for cmd in ('ver', 'command /c ver', 'cmd /c ver'):
|
||||
try:
|
||||
pipe = popen(cmd)
|
||||
pipe = os.popen(cmd)
|
||||
info = pipe.read()
|
||||
if pipe.close():
|
||||
raise OSError('command failed')
|
||||
|
|
Loading…
Reference in New Issue