Patch #1657276: Make NETLINK_DNRTMSG conditional.

Will backport.
This commit is contained in:
Martin v. Löwis 2007-02-13 12:14:19 +00:00
parent 91670d0246
commit b1cc1d407b
2 changed files with 4 additions and 0 deletions

View File

@ -364,6 +364,8 @@ Library
Extension Modules
-----------------
- Patch #1657276: Make NETLINK_DNRTMSG conditional.
- Bug #1653736: Complain about keyword arguments to time.isoformat.
- Bug #1486663: don't reject keyword arguments for subclasses of builtin

View File

@ -4383,7 +4383,9 @@ init_socket(void)
PyModule_AddIntConstant(m, "NETLINK_ROUTE6", NETLINK_ROUTE6);
#endif
PyModule_AddIntConstant(m, "NETLINK_IP6_FW", NETLINK_IP6_FW);
#ifdef NETLINK_DNRTMSG
PyModule_AddIntConstant(m, "NETLINK_DNRTMSG", NETLINK_DNRTMSG);
#endif
#ifdef NETLINK_TAPBASE
PyModule_AddIntConstant(m, "NETLINK_TAPBASE", NETLINK_TAPBASE);
#endif