Author christian.heimes
Recipients abarry, alex, christian.heimes, dstufft, giampaolo.rodola, janssen, nemunaire, pitrou, vstinner
Date 2016-09-07.11:43:20
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1473248600.99.0.168755573918.issue27629@psf.upfronthosting.co.za>
In-reply-to
Content
The patch is incomplete. Please also check that type == SOCK_STREAM. The code can be simplified with a bitmask test:

if sock is not None:
    type = sock.type
if type & socket.SOCK_STREAM != socket.SOCK_STREAM:
    raise NotImplementedError
History
Date User Action Args
2016-09-07 11:43:21christian.heimessetrecipients: + christian.heimes, janssen, pitrou, vstinner, giampaolo.rodola, alex, dstufft, abarry, nemunaire
2016-09-07 11:43:20christian.heimessetmessageid: <1473248600.99.0.168755573918.issue27629@psf.upfronthosting.co.za>
2016-09-07 11:43:20christian.heimeslinkissue27629 messages
2016-09-07 11:43:20christian.heimescreate