[issue18720] Switch suitable constants in the socket module to IntEnum
Charles-François Natali
report at bugs.python.org
Fri Aug 16 23:37:29 CEST 2013
Charles-François Natali added the comment:
> The attached patch fixes it in a similar vein to what was done for the
> family accessor: getaddrinfo is overridden in Python and does the necessary
> conversion.
Am I the only one thinking that wrapping every C function with a
Python counterpart to perform enum conversions is tedious, ugly and
error-prone :-\
----------
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue18720>
_______________________________________
More information about the Python-bugs-list
mailing list