[New-bugs-announce] [issue11377] Deprecate (remove?) platform.popen()

STINNER Victor report at bugs.python.org
Wed Mar 2 18:29:26 CET 2011

New submission from STINNER Victor <victor.stinner at haypocalc.com>:

Extract of the documentation:
---- Win95/98 specific

platform.popen(cmd, mode='r', bufsize=None)

Portable popen() interface. Find a working popen implementation preferring win32pipe.popen(). On Windows NT, win32pipe.popen() should work; on Windows 9x it hangs due to bugs in the MS C library.

Python 3 doesn't support Windows 9x/Me anymore: we should deprecate it, or maybe directly remove it.

subprocess.Popen() is a better alternative: it supports Unicode, it handles EINTR, etc.

components: Library (Lib)
messages: 129905
nosy: haypo, lemburg
priority: normal
severity: normal
status: open
title: Deprecate (remove?) platform.popen()
versions: Python 3.3

Python tracker <report at bugs.python.org>

More information about the New-bugs-announce mailing list