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

SourceForge.net noreply@sourceforge.net
Fri, 02 May 2003 03:27:52 -0700


Patches item #731209, was opened at 2003-05-02 18:19
Message generated for change (Comment added) made by anthonybaxter
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: None
Priority: 5
Submitted By: Anthony Baxter (anthonybaxter)
Assigned to: Nobody/Anonymous (nobody)
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: Anthony Baxter (anthonybaxter)
Date: 2003-05-02 20: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