Giampaolo Rodola' added the comment:

> Please find a better name for the type enum and document the new enums.

Why should new enums be documented and how are they useful?
IMO socket module adopted enum module only to provide a better representation 
of AF_* and SOCK_* constants on repr(), which is fine.
The fact that in order to do that enum module forces you to create a container 
is incidental and should not result in polluting socket module API (which is 
already pretty crowded).
In summary I'd be for renaming those enums to _SocketType and _AddressFamily.

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue20386>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to