[issue40060] socket.TCP_NOTSENT_LOWAT is missing in official macOS builds

Dima Tisnek report at bugs.python.org
Mon Apr 6 20:05:01 EDT 2020


Dima Tisnek <dimaqq at gmail.com> added the comment:

Thank you for the explanation, Ronald.

`socket.TCP_NOTSENT_LOWAT` is just a constant though, to be passed to `setsockopt`. 

What do you think of `ifndef ... define ...` work-around, akin to a few other constants in socket module?
https://github.com/python/cpython/blob/799d7d61a91eb0ad3256ef9a45a90029cef93b7c/Modules/socketmodule.h#L162-L168

----------

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


More information about the Python-bugs-list mailing list