[issue21327] socket.type value changes after using settimeout()

Giampaolo Rodola' report at bugs.python.org
Tue Apr 22 13:55:07 CEST 2014


New submission from Giampaolo Rodola':

>>> s = socket.socket()
>>> s.type
<SocketType.SOCK_STREAM: 1>
>>> s.settimeout(2)
>>> s.type
2049
>>> 

I can reproduce this with Python 3.5, 3.4 and 3.3.
2.7 is not affected.

----------
messages: 216999
nosy: giampaolo.rodola
priority: normal
severity: normal
status: open
title: socket.type value changes after using settimeout()
versions: Python 3.3, Python 3.4, Python 3.5

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue21327>
_______________________________________


More information about the Python-bugs-list mailing list