>>> 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