A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://mail.python.org/pipermail/python-dev/2003-May/035248.html below:

[Python-Dev] _socket efficiencies ideas

[Python-Dev] _socket efficiencies ideas [Python-Dev] _socket efficiencies ideasAnthony Baxter Anthony Baxter <anthony@interlink.com.au>
Fri, 02 May 2003 18:20:17 +1000
>>> Guido van Rossum wrote
> Hey, I just figured it out.  The old socket module (Python 2.1 and
> before) *did* special-case \d+\.\d+\.\d+\.\d+!  This code was somehow
> lost when the IPv6 support was added.  I propose to put it back in, at
> least for IPv4 (AF_INET).  Patch anyone?

https://sourceforge.net/tracker/index.php?func=detail&aid=731209&group_id=5470&atid=305470

Unfortunately the code still goes through the idna encoding module - this
is some overhead that it would be nice to avoid for all-numeric addresses.

Anthony



RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4