Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Expose socket.TCP_NOTSENT_LOWAT on macOS in official builds
5 changes: 5 additions & 0 deletions 5 Modules/socketmodule.c
Original file line number Diff line number Diff line change
Expand Up @@ -8228,6 +8228,11 @@ PyInit__socket(void)
#ifdef TCP_USER_TIMEOUT
PyModule_AddIntMacro(m, TCP_USER_TIMEOUT);
#endif
#ifndef TCP_NOTSENT_LOWAT
# ifdef __APPLE__
# define TCP_NOTSENT_LOWAT 0x201
# endif
#endif
#ifdef TCP_NOTSENT_LOWAT
PyModule_AddIntMacro(m, TCP_NOTSENT_LOWAT);
#endif
Expand Down
Morty Proxy This is a proxified and sanitized view of the page, visit original site.