[Python-checkins] r53770 - in python/branches/release25-maint: Misc/NEWS Modules/socketmodule.c
martin.v.loewis
python-checkins at python.org
Tue Feb 13 13:14:30 CET 2007
Author: martin.v.loewis
Date: Tue Feb 13 13:14:29 2007
New Revision: 53770
Modified:
python/branches/release25-maint/Misc/NEWS
python/branches/release25-maint/Modules/socketmodule.c
Log:
Patch #1657276: Make NETLINK_DNRTMSG conditional.
Modified: python/branches/release25-maint/Misc/NEWS
==============================================================================
--- python/branches/release25-maint/Misc/NEWS (original)
+++ python/branches/release25-maint/Misc/NEWS Tue Feb 13 13:14:29 2007
@@ -107,6 +107,8 @@
Extension Modules
-----------------
+- Patch #1657276: Make NETLINK_DNRTMSG conditional.
+
- Bug #1653736: Complain about keyword arguments to time.isoformat.
- operator.count() now raises an OverflowError when the count reaches sys.maxint.
Modified: python/branches/release25-maint/Modules/socketmodule.c
==============================================================================
--- python/branches/release25-maint/Modules/socketmodule.c (original)
+++ python/branches/release25-maint/Modules/socketmodule.c Tue Feb 13 13:14:29 2007
@@ -4363,7 +4363,9 @@
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
More information about the Python-checkins
mailing list