This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author serhiy.storchaka
Recipients loewis, neologix, pitrou, serhiy.storchaka, vstinner
Date 2014-08-04.11:28:41
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
Perhaps it is time to add support of ipaddress objects in socket functions. Then we could avoid address parsing in tight loop not only for Unicode strings, but for bytes strings too.

s = socket.socket(...)
addr = ipaddress.ip_address(ipaddress.getaddrinfo(...))
for ...:
    s.sendto(DATA, (addr, port))
Date User Action Args
2014-08-04 11:28:41serhiy.storchakasetrecipients: + serhiy.storchaka, loewis, pitrou, vstinner, neologix
2014-08-04 11:28:41serhiy.storchakasetmessageid: <>
2014-08-04 11:28:41serhiy.storchakalinkissue22127 messages
2014-08-04 11:28:41serhiy.storchakacreate