[issue18720] Switch suitable constants in the socket module to IntEnum
Antoine Pitrou
report at bugs.python.org
Wed Aug 14 11:54:59 CEST 2013
Antoine Pitrou added the comment:
I'm not really thrilled by the current implementation. The way it is done leads to duplication among socket constants. Also, if I create a socket from a numeric value (because a well-known socket family is known yet known by Python), then socket.family will fail.
----------
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue18720>
_______________________________________
More information about the Python-bugs-list
mailing list