[issue18720] Switch suitable constants in the socket module to IntEnum

Eli Bendersky report at bugs.python.org
Wed Aug 14 14:46:24 CEST 2013


Eli Bendersky added the comment:

> What about SOCK_STREAM, SOCK_DGRAM, and SOCK_RAW?
>

This is a proof of concept. As I mentioned in the original message starting
this issue - the SOCK_* constants will get the same treatment as AF_*
constants, once we decide what the right treatment is.

----------

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


More information about the Python-bugs-list mailing list