From 34567ec94b17e159fac8424559698f48a713991f Mon Sep 17 00:00:00 2001 From: Eli Bendersky Date: Sat, 31 Aug 2013 15:18:48 -0700 Subject: Update whatsnew/3.4.rst wrt. the socket constants switch to IntEnum [issue #18730] --- Doc/whatsnew/3.4.rst | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Doc/whatsnew/3.4.rst b/Doc/whatsnew/3.4.rst index 311c683..218b822 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 --- -- cgit v0.12