no universal newlines in os.popen

Martin v. Löwis martin at v.loewis.de
Fri Aug 8 17:10:25 EDT 2003


Torsten Marek <shlomme at gmx.net> writes:

> Is it a bug that
> os.popen("some_nifty_command some_arg", "rU")
> gives
> OSError: [Errno 22] Invalid argument
> in Python 2.3?

Yes.

Martin




More information about the Python-list mailing list