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 amaury.forgeotdarc
Recipients ajaksu2, amaury.forgeotdarc, gaul, georg.brandl, georg.brandl
Date 2009-02-14.12:55:58
SpamBayes Score 2.1971513e-09
Marked as misclassified No
Message-id <1234616159.83.0.498075700994.issue798520@psf.upfronthosting.co.za>
In-reply-to
Content
On Windows:

>>> os.popen("cmd", "")
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
ValueError: popen() arg 2 must be 'r' or 'w'

Windows has a specific implementation of os.popen, which does validate 
the mode. Whereas on POSIX platforms, the parameters are passed as is to 
the popen() function.
I'd call this an "implementation detail", and the exact exception is not 
important IMO.
History
Date User Action Args
2009-02-14 12:56:00amaury.forgeotdarcsetrecipients: + amaury.forgeotdarc, georg.brandl, gaul, birkenfeld, ajaksu2
2009-02-14 12:55:59amaury.forgeotdarcsetmessageid: <1234616159.83.0.498075700994.issue798520@psf.upfronthosting.co.za>
2009-02-14 12:55:58amaury.forgeotdarclinkissue798520 messages
2009-02-14 12:55:58amaury.forgeotdarccreate