[Python-bugs-list] popen2 and socket. (PR#53)

tm@funcom.com tm@funcom.com
Mon, 16 Aug 1999 09:58:09 -0400 (EDT)


Full_Name: Terje Malmedal
Version: latest from CVS
OS: Linux 2.2.10 libc5.3.12
Submission from: cornavin.funcom.com (193.71.100.140)


When doing make test on the latest(as of 16 Aug 1999) python version, the 
popen2 and socket tests fail. 

output from test_popen2:
testing popen2...
Traceback (innermost last):
  File "test_popen2.py", line 16, in ?
    main()
  File "test_popen2.py", line 14, in main
    popen2._test()
  File "../../Lib/popen2.py", line 84, in _test
    r, w = popen2('cat')
  File "../../Lib/popen2.py", line 73, in popen2
    inst = Popen3(cmd, 0, bufsize)
  File "../../Lib/popen2.py", line 24, in __init__
    os.close(0)
OSError: [Errno 9] Bad file number
Traceback (innermost last):
  File "test_popen2.py", line 16, in ?
    main()
  File "test_popen2.py", line 14, in main
    popen2._test()
  File "../../Lib/popen2.py", line 87, in _test
    assert r.read() == teststr
AssertionError

output from test_socket:
socket.error
Traceback (innermost last):
  File "test_socket.py", line 71, in ?
    ip = socket.gethostbyname(hostname)
socket.error: host not found