mirror of
https://github.com/python/cpython.git
synced 2025-08-22 17:55:18 +00:00
Patch #1657276: Make NETLINK_DNRTMSG conditional.
This commit is contained in:
parent
f7f888a2f8
commit
1e335b2968
2 changed files with 4 additions and 0 deletions
|
@ -107,6 +107,8 @@ Core and builtins
|
||||||
Extension Modules
|
Extension Modules
|
||||||
-----------------
|
-----------------
|
||||||
|
|
||||||
|
- Patch #1657276: Make NETLINK_DNRTMSG conditional.
|
||||||
|
|
||||||
- Bug #1653736: Complain about keyword arguments to time.isoformat.
|
- Bug #1653736: Complain about keyword arguments to time.isoformat.
|
||||||
|
|
||||||
- operator.count() now raises an OverflowError when the count reaches sys.maxint.
|
- operator.count() now raises an OverflowError when the count reaches sys.maxint.
|
||||||
|
|
|
@ -4363,7 +4363,9 @@ init_socket(void)
|
||||||
PyModule_AddIntConstant(m, "NETLINK_ROUTE6", NETLINK_ROUTE6);
|
PyModule_AddIntConstant(m, "NETLINK_ROUTE6", NETLINK_ROUTE6);
|
||||||
#endif
|
#endif
|
||||||
PyModule_AddIntConstant(m, "NETLINK_IP6_FW", NETLINK_IP6_FW);
|
PyModule_AddIntConstant(m, "NETLINK_IP6_FW", NETLINK_IP6_FW);
|
||||||
|
#ifdef NETLINK_DNRTMSG
|
||||||
PyModule_AddIntConstant(m, "NETLINK_DNRTMSG", NETLINK_DNRTMSG);
|
PyModule_AddIntConstant(m, "NETLINK_DNRTMSG", NETLINK_DNRTMSG);
|
||||||
|
#endif
|
||||||
#ifdef NETLINK_TAPBASE
|
#ifdef NETLINK_TAPBASE
|
||||||
PyModule_AddIntConstant(m, "NETLINK_TAPBASE", NETLINK_TAPBASE);
|
PyModule_AddIntConstant(m, "NETLINK_TAPBASE", NETLINK_TAPBASE);
|
||||||
#endif
|
#endif
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue