This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author raulcd
Recipients exarkun, giampaolo.rodola, lekma, neologix, nvetoshkin, pitrou, r.david.murray, raulcd, vstinner
Date 2015-04-14.16:24:00
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1429028641.03.0.961395156833.issue21327@psf.upfronthosting.co.za>
In-reply-to
Content
While reproducing it I've seen that this has been already solved:
>>> sock = socket.socket(type=socket.SOCK_STREAM)
>>> sock.type
<SocketKind.SOCK_STREAM: 1>
>>> sock.settimeout(2)
>>> sock.type
<SocketKind.SOCK_STREAM: 1>
But the next is still not correct:
>>> sock = socket.socket(type=socket.SOCK_STREAM | socket.SOCK_NONBLOCK)
>>> sock.type
2049
History
Date User Action Args
2015-04-14 16:24:01raulcdsetrecipients: + raulcd, exarkun, pitrou, vstinner, giampaolo.rodola, r.david.murray, lekma, nvetoshkin, neologix
2015-04-14 16:24:01raulcdsetmessageid: <1429028641.03.0.961395156833.issue21327@psf.upfronthosting.co.za>
2015-04-14 16:24:01raulcdlinkissue21327 messages
2015-04-14 16:24:00raulcdcreate