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 pitrou
Recipients christian.heimes, giampaolo.rodola, janssen, pitrou, vajrasky
Date 2013-12-28.16:13:59
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1388247239.25.0.225782033694.issue19422@psf.upfronthosting.co.za>
In-reply-to
Content
Actually, it seems the patch is flawed:

>>> sock = socket.socket(socket.AF_INET, socket.SOCK_DGRAM)
>>> sock.type
2
>>> sock.settimeout(0)
>>> sock.type
2050

But getsockopt() returns the expected value:

>>> sock.getsockopt(socket.SOL_SOCKET, socket.SO_TYPE)
2
History
Date User Action Args
2013-12-28 16:13:59pitrousetrecipients: + pitrou, janssen, giampaolo.rodola, christian.heimes, vajrasky
2013-12-28 16:13:59pitrousetmessageid: <1388247239.25.0.225782033694.issue19422@psf.upfronthosting.co.za>
2013-12-28 16:13:59pitroulinkissue19422 messages
2013-12-28 16:13:59pitroucreate