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_sock

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 getserv

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 env

Re: test_socket.py failure

2005-02-02 Thread x2164
Marc Christiansen <[EMAIL PROTECTED]> wrote: > [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 shou

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 ma

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", "cop

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 >>> sock

Re: test_socket.py failure

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

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 r

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

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: ==