Re: test_socket.py failure

2005-02-15 Thread x2164
[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. Running './python Lib/test/test_socket.py'

Re: test_socket.py failure

2005-02-04 Thread x2164
Nick Coghlan [EMAIL PROTECTED] wrote: [EMAIL PROTECTED] wrote: Marc, it is possible that there was a change between glibc-2.2.4 and 2.2.5 that would account for the difference in behaviour. I think i'll write a little test program in C to check out getservbyname's

Re: test_socket.py failure

2005-02-03 Thread Nick Coghlan
[EMAIL PROTECTED] wrote: Marc, it is possible that there was a change between glibc-2.2.4 and 2.2.5 that would account for the difference in behaviour. I think i'll write a little test program in C to check out getservbyname's return values in a little more controled

Re: test_socket.py failure

2005-02-02 Thread x2164
Nick Coghlan [EMAIL PROTECTED] wrote: [EMAIL PROTECTED] wrote: At the interactive python prompt i did/got the following: bash-2.04$ ./python Python 2.4 (#1, Jan 29 2005, 10:31:35) [GCC 2.95.3 20010315 (release)] on linux2 Type help, copyright, credits

Re: test_socket.py failure

2005-02-02 Thread Marc Christiansen
[EMAIL PROTECTED] wrote: Nick Coghlan [EMAIL PROTECTED] wrote: Hmm, when the second argument is omitted, the system call looks like: getservbyname(daytime, NULL); Based on man getservbyname on my Linux PC, that should give the behaviour we want - any protocol will match. However:

Re: test_socket.py failure

2005-02-01 Thread Nick Coghlan
[EMAIL PROTECTED] wrote: At the interactive python prompt i did/got the following: bash-2.04$ ./python Python 2.4 (#1, Jan 29 2005, 10:31:35) [GCC 2.95.3 20010315 (release)] on linux2 Type help, copyright, credits or license for more information. import socket

Re: test_socket.py failure

2005-01-31 Thread Nick Coghlan
[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

test_socket.py failure

2005-01-30 Thread x2164
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:

Re: test_socket.py failure

2005-01-30 Thread Steve Holden
[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. Running './python Lib/test/test_socket.py' yields:

Re: test_socket.py failure

2005-01-30 Thread x2164
Steve Holden [EMAIL PROTECTED] wrote: [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