Author socketpair
Recipients gregory.p.smith, neologix, pitrou, socketpair, yselivanov
Date 2017-12-20.21:20:48
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1513804848.18.0.213398074469.issue32221@psf.upfronthosting.co.za>
In-reply-to
Content
After my patch:

$ python3.7 -m timeit --setup 'import socket; s = socket.socket(socket.AF_INET6, socket.SOCK_DGRAM); s.bind(("ff02::1de:c0db", 1234, 0, 2))' 's.getsockname()'
500000 loops, best of 5: 613 nsec per loop

$ python3.7 -m timeit --setup 'import socket; s = socket.socket(socket.AF_INET6, socket.SOCK_DGRAM); s.bind(("::", 1235, 0, 0))' 's.getsockname()'
500000 loops, best of 5: 420 nsec per loop
History
Date User Action Args
2017-12-20 21:20:48socketpairsetrecipients: + socketpair, gregory.p.smith, pitrou, neologix, yselivanov
2017-12-20 21:20:48socketpairsetmessageid: <1513804848.18.0.213398074469.issue32221@psf.upfronthosting.co.za>
2017-12-20 21:20:48socketpairlinkissue32221 messages
2017-12-20 21:20:48socketpaircreate