Eryk Sun added the comment:
The macro is defined but not defined. If I insert the following line before the
#ifdef check:
#define IPPROTO_IPV6 IPPROTO_IPV6
then the constant gets added:
>>> import _socket
>>> _socket.IPPROTO_IPV6
41
The same applies to IPPROTO_IPV4 and probably others.
----------
nosy: +eryksun
versions: +Python 3.5, Python 3.7
_______________________________________
Python tracker <[email protected]>
<http://bugs.python.org/issue29515>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe:
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com