Author vstinner
Recipients asvetlov, christian.heimes, inada.naoki, njs, pitrou, vstinner, yselivanov
Date 2017-12-18.22:36:38
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1513636598.76.0.213398074469.issue32331@psf.upfronthosting.co.za>
In-reply-to
Content
The most portable solution seems to getsockopt():

>>> s.getsockopt(socket.SOL_SOCKET, socket.SO_TYPE)
1

But I would prefer to avoid a syscall just to clear flags :-/
History
Date User Action Args
2017-12-18 22:36:38vstinnersetrecipients: + vstinner, pitrou, christian.heimes, njs, asvetlov, inada.naoki, yselivanov
2017-12-18 22:36:38vstinnersetmessageid: <1513636598.76.0.213398074469.issue32331@psf.upfronthosting.co.za>
2017-12-18 22:36:38vstinnerlinkissue32331 messages
2017-12-18 22:36:38vstinnercreate