New submission from Jason R. Coombs <jar...@jaraco.com>: It appears that somewhere between Python 2.5 and Python 2.6, some socket constants were lost in Windows builds.
Python 2.6.2 (r262:71605, Apr 14 2009, 22:46:50) [MSC v.1500 64 bit (AMD64)] on win32 Type "help", "copyright", "credits" or "license" for more information. >>> import socket; socket.IPPROTO_IPV6 Traceback (most recent call last): File "<stdin>", line 1, in <module> AttributeError: 'module' object has no attribute 'IPPROTO_IPV6' Confirmed this problem on 32-bit builds and Python 3.1.1 also. I suspect the compiler upgrade influenced this behavior. Let me know if I can help track down the issue. ---------- components: IO, Windows messages: 92730 nosy: jaraco severity: normal status: open title: socket module missing IPPROTO_IPV6, IPPROTO_IPV4 type: behavior versions: Python 2.6, Python 3.1 _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue6926> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com