Message274800
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 |
|
Date |
User |
Action |
Args |
2016-09-07 11:43:21 | christian.heimes | set | recipients:
+ christian.heimes, janssen, pitrou, vstinner, giampaolo.rodola, alex, dstufft, abarry, nemunaire |
2016-09-07 11:43:20 | christian.heimes | set | messageid: <1473248600.99.0.168755573918.issue27629@psf.upfronthosting.co.za> |
2016-09-07 11:43:20 | christian.heimes | link | issue27629 messages |
2016-09-07 11:43:20 | christian.heimes | create | |
|