[Patches] [ python-Patches-731209 ] restore socketmodule's all-numeric address behaviour

SourceForge.net noreply@sourceforge.net
Fri, 02 May 2003 08:20:16 -0700


Patches item #731209, was opened at 2003-05-02 04:19
Message generated for change (Comment added) made by gvanrossum
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=305470&aid=731209&group_id=5470

Category: None
Group: None
Status: Open
>Resolution: Accepted
Priority: 5
Submitted By: Anthony Baxter (anthonybaxter)
>Assigned to: Anthony Baxter (anthonybaxter)
Summary: restore socketmodule's all-numeric address behaviour

Initial Comment:
As requested by Guido on python-dev, the following
restores the socketmodule's behaviour with all-numeric
IP addresses to no longer do name resolution.

It's not quite done, though - all-numeric addresses
still go through the idna encoding module, which is a
bit of unnecessary overhead it would be good to avoid.


----------------------------------------------------------------------

>Comment By: Guido van Rossum (gvanrossum)
Date: 2003-05-02 11:20

Message:
Logged In: YES 
user_id=6380

Looks good.  Please apply!

----------------------------------------------------------------------

Comment By: Anthony Baxter (anthonybaxter)
Date: 2003-05-02 06:27

Message:
Logged In: YES 
user_id=29957

MvL pointed out that this is not actually the case except
where the IP address is 
given as a unicode string, so ignore the caveat -- this is
ready to be applied.

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=305470&aid=731209&group_id=5470