This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author vstinner
Recipients Arfrever, David.Benjamin, christian.heimes, jcea, lemburg, pitrou, python-dev, vstinner
Date 2016-09-09.07:38:04
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1473406684.59.0.0260456995675.issue16112@psf.upfronthosting.co.za>
In-reply-to
Content
Note: Other platform functions still use os.popen(), you might open new issues.

_syscmd_ver:

    for cmd in ('ver', 'command /c ver', 'cmd /c ver'):
        try:
            pipe = os.popen(cmd)
    ...

def _syscmd_uname(option, default=''):
    ...
        f = os.popen('uname %s 2> %s' % (option, DEV_NULL))

Note: there is also platform.popen() which is deprecated since Python 3.3, we might also remove it from Python 3.7 as well (I think that it's now too late for Python 3.6).
History
Date User Action Args
2016-09-09 07:38:04vstinnersetrecipients: + vstinner, lemburg, jcea, pitrou, christian.heimes, Arfrever, python-dev, David.Benjamin
2016-09-09 07:38:04vstinnersetmessageid: <1473406684.59.0.0260456995675.issue16112@psf.upfronthosting.co.za>
2016-09-09 07:38:04vstinnerlinkissue16112 messages
2016-09-09 07:38:04vstinnercreate