no universal newlines in os.popen

Discussion in 'Python' started by Torsten Marek, Aug 8, 2003.

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

    greetings

    Torsten
     
    Torsten Marek, Aug 8, 2003
    #1
    1. Advertisements

  2. Torsten Marek <> 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
     
    Martin v. =?iso-8859-15?q?L=F6wis?=, Aug 8, 2003
    #2
    1. Advertisements

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Jens Mander
    Replies:
    0
    Views:
    659
    Jens Mander
    Jun 10, 2005
  2. Jens Mander
    Replies:
    2
    Views:
    1,647
    Jerry Coffin
    Sep 1, 2005
  3. Jaison

    MSDN Universal for only $1499

    Jaison, Jul 16, 2003, in forum: ASP .Net
    Replies:
    0
    Views:
    392
    Jaison
    Jul 16, 2003
  4. DMan

    MSDN Universal question

    DMan, Apr 23, 2004, in forum: ASP .Net
    Replies:
    1
    Views:
    473
    Mark Fitzpatrick
    Apr 23, 2004
  5. news.microsoft.com
    Replies:
    41
    Views:
    1,682
    Cowboy \(Gregory A. Beamer\)
    Apr 16, 2005
  6. =?Utf-8?B?TWFubnkgQ2hvaGFu?=

    Question: Universal date time

    =?Utf-8?B?TWFubnkgQ2hvaGFu?=, Jun 18, 2005, in forum: ASP .Net
    Replies:
    3
    Views:
    745
    Neo Geshel
    Jun 19, 2005
  7. Baz Walter

    universal newlines and utf-16

    Baz Walter, Apr 11, 2010, in forum: Python
    Replies:
    0
    Views:
    320
    Baz Walter
    Apr 11, 2010
  8. File.popen/IO.popen

    , May 20, 2006, in forum: Ruby
    Replies:
    1
    Views:
    506
    Robert Klemme
    May 20, 2006
Loading...