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
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
__
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
> 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
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
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
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
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
> > 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
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
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
>
11 matches
Mail list logo