[issue6926] socket module missing IPPROTO_IPV6, IPPROTO_IPV4

Jason R. Coombs report at bugs.python.org
Thu Sep 17 02:15:11 CEST 2009


Jason R. Coombs <jaraco at jaraco.com> added the comment:

I think a suitable test case for this issue is:

if hasattr(sys, 'getwindowsversion'):
  if sys.getwindowsversion() >= (5,1):
    assert hasattr(socket, 'IPPROTO_IPV6')

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue6926>
_______________________________________


More information about the Python-bugs-list mailing list