Message240996
Added patch that solves issue, but I am not sure this is what you expect. If you think this is the expected behavior I will add docs and tests:
>>> sock = socket.socket(type=socket.SOCK_STREAM | socket.SOCK_NONBLOCK)
>>> sock.type
2049
>>> socket.get_socket_type(sock)
<SocketKind.SOCK_STREAM: 1>
>>> sock = socket.socket(type=socket.SOCK_STREAM | socket.SOCK_NONBLOCK |socket.SOCK_CLOEXEC)
>>> sock.type
526337
>>> socket.get_socket_type(sock)
<SocketKind.SOCK_STREAM: 1> |
|
| Date |
User |
Action |
Args |
| 2015-04-14 19:34:41 | raulcd | set | recipients:
+ raulcd, exarkun, pitrou, vstinner, giampaolo.rodola, r.david.murray, lekma, nvetoshkin, neologix |
| 2015-04-14 19:34:41 | raulcd | set | messageid: <1429040081.54.0.775888148204.issue21327@psf.upfronthosting.co.za> |
| 2015-04-14 19:34:41 | raulcd | link | issue21327 messages |
| 2015-04-14 19:34:41 | raulcd | create | |
|