]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Patch #813445: Add missing socket.IPPROTO_IPV6.
authorMartin v. Löwis <martin@v.loewis.de>
Fri, 3 Oct 2003 13:55:37 +0000 (13:55 +0000)
committerMartin v. Löwis <martin@v.loewis.de>
Fri, 3 Oct 2003 13:55:37 +0000 (13:55 +0000)
Misc/NEWS
Modules/socketmodule.c

index babb79018b72e222d147ac8a28e6e8ee2ad26661..7ac669b7c98817b74296a79e9849551a3e9d002f 100644 (file)
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -4,6 +4,16 @@ Python News
 
 (editors: check NEWS.help for information about editing NEWS using ReST.)
 
+What's New in Python 2.3.3c1?
+===================================
+
+*Release date: XXX *
+
+Extension modules
+-----------------
+
+- Patch #813445: Add missing socket.IPPROTO_IPV6.
+
 What's New in Python 2.3.2 (final)?
 ===================================
 
index 36b4b3d7892599e644351958b383233e25b492b1..8fd59636002e808c1249d8efa773d6d0343c2e47 100644 (file)
@@ -3749,6 +3749,9 @@ init_socket(void)
 #ifdef IPPROTO_IPV4
        PyModule_AddIntConstant(m, "IPPROTO_IPV4", IPPROTO_IPV4);
 #endif
+#ifdef IPPROTO_IPV6
+       PyModule_AddIntConstant(m, "IPPROTO_IPV6", IPPROTO_IPV6);
+#endif
 #ifdef IPPROTO_IPIP
        PyModule_AddIntConstant(m, "IPPROTO_IPIP", IPPROTO_IPIP);
 #endif