Message224709
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:41 | serhiy.storchaka | set | recipients:
+ serhiy.storchaka, loewis, pitrou, vstinner, neologix |
2014-08-04 11:28:41 | serhiy.storchaka | set | messageid: <1407151721.33.0.892367665911.issue22127@psf.upfronthosting.co.za> |
2014-08-04 11:28:41 | serhiy.storchaka | link | issue22127 messages |
2014-08-04 11:28:41 | serhiy.storchaka | create | |
|