From: Eli Bendersky Date: Sat, 31 Aug 2013 22:18:48 +0000 (-0700) Subject: Update whatsnew/3.4.rst wrt. the socket constants switch to IntEnum X-Git-Tag: v3.4.0a2~62 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=34567ec94b17e159fac8424559698f48a713991f;p=thirdparty%2FPython%2Fcpython.git Update whatsnew/3.4.rst wrt. the socket constants switch to IntEnum [issue #18730] --- diff --git a/Doc/whatsnew/3.4.rst b/Doc/whatsnew/3.4.rst index 311c683f928a..218b8229776d 100644 --- a/Doc/whatsnew/3.4.rst +++ b/Doc/whatsnew/3.4.rst @@ -320,6 +320,9 @@ Socket objects have new methods to get or set their `inheritable flag * :meth:`socket.socket.get_inheritable`, :meth:`socket.socket.set_inheritable` +The ``socket.AF_*`` and ``socket.SOCK_*`` constants are enumeration values, +using the new :mod:`enum` module. This allows descriptive reporting during +debugging, instead of seeing integer "magic numbers". ssl ---