[issue40060] socket.TCP_NOTSENT_LOWAT is missing in official macOS builds
Ma Lin
report at bugs.python.org
Tue Apr 7 10:45:54 EDT 2020
Ma Lin <malincns at 163.com> added the comment:
It seems that people usually use the socket module like this, I think it's safe to respect this habit:
if hasattr(socket, "FLAG_NAME"):
do_something
If use PR19402, your program will have problem on the older version system, not only "don't break existing code".
So I think delete-at-runtime is a suitable way.
----------
_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue40060>
_______________________________________
More information about the Python-bugs-list
mailing list