[issue20386] Missing docs for SocketType and AddressFamily in socket module

Nick Coghlan report at bugs.python.org
Sat Jan 25 08:49:18 CET 2014


Nick Coghlan added the comment:

Sorry, I misread Giampaolo's example as indicating that socket.SocketType wasn't there at all in Python 3.3. However, it's there, and with the same name as in Python 2, so I agree this is a regression.

I suggest socket.SocketKind as an alternate name for the enumeration that avoids the name clash, but we also need a test case that ensures that socket.SocketType has the correct value.

----------
components: +Library (Lib) -Documentation
keywords: +3.4regression
stage: needs patch -> test needed
type: enhancement -> behavior

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


More information about the Python-bugs-list mailing list