[Python-checkins] r79592 - in python/trunk: Misc/NEWS Modules/socketmodule.c
larry.hastings
python-checkins at python.org
Fri Apr 2 13:18:17 CEST 2010
Author: larry.hastings
Date: Fri Apr 2 13:18:17 2010
New Revision: 79592
Log:
Issue #8235: _socket: Add the constant ``SO_SETFIB``. SO_SETFIB is
a socket option available on FreeBSD 7.1 and newer.
Modified:
python/trunk/Misc/NEWS
python/trunk/Modules/socketmodule.c
Modified: python/trunk/Misc/NEWS
==============================================================================
--- python/trunk/Misc/NEWS (original)
+++ python/trunk/Misc/NEWS Fri Apr 2 13:18:17 2010
@@ -134,6 +134,9 @@
This is a behavior change, so email's minor version number is now bumped, to
version 4.0.2, for the 2.7 release.
+- Issue #8235: _socket: Add the constant ``SO_SETFIB``. SO_SETFIB is
+ a socket option available on FreeBSD 7.1 and newer.
+
Extension Modules
-----------------
Modified: python/trunk/Modules/socketmodule.c
==============================================================================
--- python/trunk/Modules/socketmodule.c (original)
+++ python/trunk/Modules/socketmodule.c Fri Apr 2 13:18:17 2010
@@ -4779,6 +4779,9 @@
#ifdef SO_TYPE
PyModule_AddIntConstant(m, "SO_TYPE", SO_TYPE);
#endif
+#ifdef SO_SETFIB
+ PyModule_AddIntConstant(m, "SO_SETFIB", SO_SETFIB);
+#endif
/* Maximum number of connections for "listen" */
#ifdef SOMAXCONN
More information about the Python-checkins
mailing list