[issue32394] socket lib beahavior change in 3.6.4

Ma Lin report at bugs.python.org
Thu Feb 1 05:04:22 EST 2018


Ma Lin <malincns at 163.com> added the comment:

So we either need to explicitly exclude this symbol on Windows (at least until we drop support for pre-Windows 10 versions) or silently ignore setsockopt errors for future good arguments. I'm inclined to do the former - other opinions?
--------------
I'm not a socket expert, I have a question about the former one.

Imagine someone changed those values in his/her code, for example:
socket.TCP_KEEPCNT = 20

His/her code works fine on new version Windows. Will this line break things again on old version Windows?

----------

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue32394>
_______________________________________


More information about the Python-bugs-list mailing list