[EMAIL PROTECTED] wrote:
     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.


Two questions. First, what does the following code give when you run it at the interactive prompt?:


Py> import socket
Py> socket.getservbyname('daytime')
13

Second, is there an entry for 'daytime' in /etc/services?

Cheers,
Nick.

--
Nick Coghlan   |   [EMAIL PROTECTED]   |   Brisbane, Australia
---------------------------------------------------------------
            http://boredomandlaziness.skystorm.net
--
http://mail.python.org/mailman/listinfo/python-list

Reply via email to