Author yselivanov
Recipients asvetlov, christian.heimes, inada.naoki, njs, pitrou, vstinner, yselivanov
Date 2017-12-19.01:08:26
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1513645706.73.0.213398074469.issue32331@psf.upfronthosting.co.za>
In-reply-to
Content
I've merged the PR.

Summary of the final change:

1. socket.socket(family, type, proto) constructor clears SOCK_NONBLOCK and SOCK_CLOEXEC from 'type' before assigning it to 'sock.type'.

2. socket.socket(family, SOCK_STREAM | SOCK_NONBLOCK) will still create a non-blocking socket.

3. socket.setblocking() no longer sets/unsets SOCK_NONBLOCK flag on sock.type.

This is 3.7 only change.

Big thanks to Nathaniel and Victor for the help!
History
Date User Action Args
2017-12-19 01:08:26yselivanovsetrecipients: + yselivanov, pitrou, vstinner, christian.heimes, njs, asvetlov, inada.naoki
2017-12-19 01:08:26yselivanovsetmessageid: <1513645706.73.0.213398074469.issue32331@psf.upfronthosting.co.za>
2017-12-19 01:08:26yselivanovlinkissue32331 messages
2017-12-19 01:08:26yselivanovcreate