hi all,
Linux 2.4.28
Glibc 2.2.5
gcc 2.95.3
I'm new to Python.
I've compiled Python 2.4 from tar file.
When running 'make test' i'm getting a failure
in test_socket.
Running './python Lib/test/test_socket.py' yields:
=============== =============== =============== =============== ==========
ERROR: testGetServBy (__main__.Gener alModuleTests)
----------------------------------------------------------------------
Traceback (most recent call last):
File "Lib/test/test_socket.py" , line 330, in testGetServBy
port2 = socket.getservb yname(service)
error: service/proto not found
----------------------------------------------------------------------
Ran 58 tests in 3.826s
The value of 'service' was "daytime".
After much hand wringing, editing, and use of 'print'
statements i commented out line 330,
'# port2 = socket.getservb yname(service)' and replaced it
with the line 'port2 = port'.
Running './python Lib/test/test_socket.py' now yields:
testGetServBy (__main__.Gener alModuleTests) ... ok
Comment