diff options
author | Eli Bendersky <eliben@gmail.com> | 2013-08-31 22:18:48 (GMT) |
---|---|---|
committer | Eli Bendersky <eliben@gmail.com> | 2013-08-31 22:18:48 (GMT) |
commit | 34567ec94b17e159fac8424559698f48a713991f (patch) | |
tree | 7fdc5529a04a24914072d5137a7a1cc092e8855b | |
parent | b2ff3cf0e9e1c198ae38c8908a1e1b3fe1c98651 (diff) | |
download | cpython-34567ec94b17e159fac8424559698f48a713991f.zip cpython-34567ec94b17e159fac8424559698f48a713991f.tar.gz cpython-34567ec94b17e159fac8424559698f48a713991f.tar.bz2 |
Update whatsnew/3.4.rst wrt. the socket constants switch to IntEnum
[issue #18730]
-rw-r--r-- | Doc/whatsnew/3.4.rst | 3 |
1 files changed, 3 insertions, 0 deletions
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 --- |