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.

classification
Title: Remove platform.popen(), deprecated since Python 3.3
Type: Stage: resolved
Components: Library (Lib) Versions: Python 3.8
process
Status: closed Resolution: fixed
Dependencies: Superseder:
Assigned To: Nosy List: vstinner
Priority: normal Keywords: patch

Created on 2018-11-28 23:54 by vstinner, last changed 2022-04-11 14:59 by admin. This issue is now closed.

Pull Requests
URL Status Linked Edit
PR 10781 merged vstinner, 2018-11-29 00:00
Messages (2)
msg330639 - (view) Author: STINNER Victor (vstinner) * (Python committer) Date: 2018-11-28 23:54
platform.popen() is deprecated since Python 3.3: bpo-11377. Calling the function emits a DeprecationWarning and the function is documented as being deprecated.

The function is documented in the "Win95/98 specific":
https://docs.python.org/dev/library/platform.html#win95-98-specific

Python 3.5 dropped Windows XP support. I don't think that Python 2.7 still support Windows 98. So it's time to remove support for this old OS.

Python 3 now has a os.popen() function:
https://docs.python.org/dev/library/os.html#os.popen
msg330669 - (view) Author: STINNER Victor (vstinner) * (Python committer) Date: 2018-11-29 08:58
New changeset 73104fa1e6a791f7d66c0091ed91f6c396ca0fb2 by Victor Stinner in branch 'master':
bpo-35345: Remove platform.popen() (GH-10781)
https://github.com/python/cpython/commit/73104fa1e6a791f7d66c0091ed91f6c396ca0fb2
History
Date User Action Args
2022-04-11 14:59:08adminsetgithub: 79526
2018-11-29 08:59:20vstinnersetstatus: open -> closed
resolution: fixed
stage: patch review -> resolved
2018-11-29 08:58:23vstinnersetmessages: + msg330669
2018-11-29 00:00:16vstinnersetkeywords: + patch
stage: patch review
pull_requests: + pull_request10022
2018-11-28 23:54:11vstinnercreate