[issue21406] Some socket constants are not enums

Antoine Pitrou report at bugs.python.org
Thu May 1 21:54:46 CEST 2014


Antoine Pitrou added the comment:

> It makes sense for address families, especially since they're used so
> much, but when it comes to e.g. SO_REUSEADDR or BTPROTO_RFCOMM,

Hmm, I was thinking mostly about protocol numbers. All the BTPROTO_* constants should be part of a given enum (BlueToothProtocol?), the CAN_* constants part of another one.

----------

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


More information about the Python-bugs-list mailing list