changeset: 97358:7cfe20a6395d branch: 3.5 user: Steve Dower date: Mon Aug 10 20:57:37 2015 -0700 files: Lib/platform.py Misc/NEWS description: Issue #24839: platform._syscmd_ver raises DeprecationWarning diff -r c11694040866 -r 7cfe20a6395d Lib/platform.py --- a/Lib/platform.py Mon Aug 10 18:03:52 2015 -0700 +++ b/Lib/platform.py Mon Aug 10 20:57:37 2015 -0700 @@ -440,7 +440,7 @@ # 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') diff -r c11694040866 -r 7cfe20a6395d Misc/NEWS --- a/Misc/NEWS Mon Aug 10 18:03:52 2015 -0700 +++ b/Misc/NEWS Mon Aug 10 20:57:37 2015 -0700 @@ -13,6 +13,7 @@ Library ------- +- Issue #24839: platform._syscmd_ver raises DeprecationWarning What's New in Python 3.5.0 release candidate 1? ===============================================