Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork33.7k
Closed
Description
Bug report
It handles most with a specialized macro:
cpython/Modules/socketmodule.c
Lines 7716 to 7722 in81eba76
| /* Kernel event messages */ | |
| #ifdefPF_SYSTEM | |
| ADD_INT_MACRO(m,PF_SYSTEM); | |
| #endif | |
| #ifdefAF_SYSTEM | |
| ADD_INT_MACRO(m,AF_SYSTEM); | |
| #endif |
but not these ones:
cpython/Modules/socketmodule.c
Lines 7724 to 7731 in81eba76
| /* FreeBSD divert(4) */ | |
| #ifdefPF_DIVERT | |
| PyModule_AddIntMacro(m,PF_DIVERT); | |
| #endif | |
| #ifdefAF_DIVERT | |
| PyModule_AddIntMacro(m,AF_DIVERT); | |
| #endif | |
Introduced in#96536