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

Eli Bendersky report at bugs.python.org
Sun Sep 1 00:21:55 CEST 2013


Eli Bendersky added the comment:

On Sat, Aug 31, 2013 at 3:18 PM, Ethan Furman <report at bugs.python.org>wrote:

>
> Ethan Furman added the comment:
>
> Eli Bendersky added the comment:
> >
> > Another issue is _intenum_converter. Ethan - do you think it belongs in
> the enum module as a helper function or something of the sort?
>
> I'm fine with it being a non-public member of enum, although if we had a
> place for miscellaneous tools that might be a
> better spot for it.
>

For the time being, I'm OK with Guido's suggestion to keep it lazy. As long
as it's just being used in a single module, there's not much to think
about. If we end up needing it when switching other modules, we'll see what
to do.

----------

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


More information about the Python-bugs-list mailing list