[Python-Dev] Python 2.0 beta 2 pre-release

Fred L. Drake, Jr. fdrake@beopen.com
Tue, 26 Sep 2000 15:43:42 -0400 (EDT)


Jeremy Hylton writes:
 > We have tar balls and RPMs available on our private FTP site,
 > python.beopen.com.  If you have a chance to test these on your
 > platform in the next couple of hours, feedback would be appreciated.
 > We've tested on FreeBSD and RH and Mandrake Linux.

  I've just built & tested on Caldera 2.3 on the SourceForge compile
farm, and am getting some failures.  If anyone who knows Caldera can
figure these out, that would be great (I'll turn them into proper bug
reports later).
  The failing tests are for fcntl, openpty, and pty.  Here's the
output of regrtest -v for those tests:

bash$ ./python -tt ../Lib/test/regrtest.py -v test_{fcntl,openpty,pty}
test_fcntl
test_fcntl
Status from fnctl with O_NONBLOCK:  0
struct.pack:  '\001\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000'test test_fcntl crashed -- exceptions.IOError: [Errno 37] No locks available
Traceback (most recent call last):
  File "../Lib/test/regrtest.py", line 235, in runtest
    __import__(test, globals(), locals(), [])
  File "../Lib/test/test_fcntl.py", line 31, in ?
    rv = fcntl.fcntl(f.fileno(), FCNTL.F_SETLKW, lockdata)
IOError: [Errno 37] No locks available
test_openpty
test_openpty
Calling os.openpty()
test test_openpty crashed -- exceptions.OSError: [Errno 2] No such file or directory
Traceback (most recent call last):
  File "../Lib/test/regrtest.py", line 235, in runtest
    __import__(test, globals(), locals(), [])
  File "../Lib/test/test_openpty.py", line 9, in ?
    master, slave = os.openpty()
OSError: [Errno 2] No such file or directory
test_pty
test_pty
Calling master_open()
Got master_fd '5', slave_name '/dev/ttyp0'
Calling slave_open('/dev/ttyp0')
test test_pty skipped --  Pseudo-terminals (seemingly) not functional.
2 tests failed: test_fcntl test_openpty
1 test skipped: test_pty


  -Fred

-- 
Fred L. Drake, Jr.  <fdrake at beopen.com>
BeOpen PythonLabs Team Member