Re: [Python-Dev] IPv6 hostname resolution using socket.getaddrinfo()

2007-09-17 Thread Blinston_Fernandes
On python2.4.1 >>> socket.getaddrinfo('www.python.org', None, socket.AF_INET, socket.SOCK_DGRAM, socket.IPPROTO_IP, socket.AI_CANONNAME) [(2, 2, 17, 'dinsdale.python.org', ('82.94.237.218', 0))] >>> Blinston. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf

Re: [Python-Dev] Daily Windows Installers

2007-09-17 Thread Trent Mick
David Bolen wrote: > I hit it with a sledge-hammer and modified my build slave to disable > error boxes for anything it runs, so we'll get the 3.0 MSI now but > with a bad chm until it gets figured out. How do you tell Windows to do that? Trent -- Trent Mick trentm at activestate.com __

Re: [Python-Dev] Daily Windows Installers

2007-09-17 Thread David Bolen
On 9/17/07, Trent Mick <[EMAIL PROTECTED]> wrote: > How do you tell Windows to do that? Via the SetErrorMode call. Since the Windows buildbot already uses the win32 extensions, I just used the existing win32api wrapper (although through ctypes is very easy too). In my case I just surrounded the

Re: [Python-Dev] IPv6 hostname resolution using socket.getaddrinfo()

2007-09-17 Thread Martin v. Löwis
> Any help/ pointers? Did you read the man page of getaddrinfo, or the RFC? Regards, Martin ___ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/python-dev Unsubscribe: http://mail.python.org/mailman/options/python

Re: [Python-Dev] Hash to longs, and Decimal

2007-09-17 Thread Mark Dickinson
On 9/17/07, Facundo Batista <[EMAIL PROTECTED]> wrote: > > In the Tracker Issue... > > http://bugs.python.org/issue1772851 > > ... Mark Dickinson came with a patch that alters in a very corner case > how the hash is calculated to a long integer. > Much as I'd like this patch to be applied, I fee

[Python-Dev] Hash to longs, and Decimal

2007-09-17 Thread Facundo Batista
Hi everybody! In the Tracker Issue... http://bugs.python.org/issue1772851 ... Mark Dickinson came with a patch that alters in a very corner case how the hash is calculated to a long integer. This allows changes in Decimal that lead to a better hashing behaviour for big, big, really big number

Re: [Python-Dev] Hash to longs, and Decimal

2007-09-17 Thread Guido van Rossum
Seems a fine idea. I don't have the time for a code review but I'll leave that up to you all. --Guido On 9/17/07, Facundo Batista <[EMAIL PROTECTED]> wrote: > Hi everybody! > > In the Tracker Issue... > > http://bugs.python.org/issue1772851 > > ... Mark Dickinson came with a patch that alters i

Re: [Python-Dev] IPv6 hostname resolution using socket.getaddrinfo()

2007-09-17 Thread skip
Senthil> To get the hostname, I can use socket.gethostbyname() but that Senthil> has an inherent limitation wherein does it not support IPv6 Senthil> name resolution, and getaddrinfo() should be used instead. ... For those who would ask Senthil to take this to comp.lang.python, he

Re: [Python-Dev] 'text' mode rears its ugly head again

2007-09-17 Thread Bill Janssen
> > differentiation between between text files and binary files, a bad > > idea introduced by Windows and perpetuated (apparently) by Python. I > > can't believe this wasn't eliminated in py3k! > > The binary/text distinction is being increased in Py3k rather than > reduced (the API for binary f

[Python-Dev] IPv6 hostname resolution using socket.getaddrinfo()

2007-09-17 Thread O.R.Senthil Kumaran
To get the hostname, I can use socket.gethostbyname() but that has an inherent limitation wherein does it not support IPv6 name resolution, and getaddrinfo() should be used instead. Looking up the socket.getaddrinfo() documentation, I come to know that The getaddrinfo() function returns a list of

Re: [Python-Dev] 'text' mode rears its ugly head again

2007-09-17 Thread Nick Coghlan
Bill Janssen wrote: > I've checked in the asyncore SSL patch, and the Windows buildbots are > failing on the HTTPS test. I believe it's due to this insane > differentiation between between text files and binary files, a bad > idea introduced by Windows and perpetuated (apparently) by Python. I >