File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -66,6 +66,10 @@ Core and Builtins
6666Library
6767-------
6868
69+ - Issue #23652: Make it possible to compile the select module against the
70+ libc headers from the Linux Standard Base, which do not include some
71+ EPOLL macros. Patch by Matt Frank.
72+
6973- Issue #22932: Fix timezones in email.utils.formatdate.
7074 Patch from Dmitry Shachnev.
7175
Original file line number Diff line number Diff line change @@ -2372,11 +2372,22 @@ PyInit_select(void)
23722372 PyModule_AddIntMacro (m , EPOLLONESHOT );
23732373#endif
23742374 /* PyModule_AddIntConstant(m, "EPOLL_RDHUP", EPOLLRDHUP); */
2375+
2376+ #ifdef EPOLLRDNORM
23752377 PyModule_AddIntMacro (m , EPOLLRDNORM );
2378+ #endif
2379+ #ifdef EPOLLRDBAND
23762380 PyModule_AddIntMacro (m , EPOLLRDBAND );
2381+ #endif
2382+ #ifdef EPOLLWRNORM
23772383 PyModule_AddIntMacro (m , EPOLLWRNORM );
2384+ #endif
2385+ #ifdef EPOLLWRBAND
23782386 PyModule_AddIntMacro (m , EPOLLWRBAND );
2387+ #endif
2388+ #ifdef EPOLLMSG
23792389 PyModule_AddIntMacro (m , EPOLLMSG );
2390+ #endif
23802391
23812392#ifdef EPOLL_CLOEXEC
23822393 PyModule_AddIntMacro (m , EPOLL_CLOEXEC );
You can’t perform that action at this time.
0 commit comments