summaryrefslogtreecommitdiffstats
path: root/Doc/whatsnew
diff options
context:
space:
mode:
authorSegev Finer <segev208@gmail.com>2017-06-28 20:51:00 (GMT)
committerSteve Dower <steve.dower@microsoft.com>2017-06-28 20:51:00 (GMT)
commit9f3bdcb643623e07497af2fc35f0496c2302f1be (patch)
treebcb63c593b5e91e5f5e669a2d8b331348f082c2e /Doc/whatsnew
parent5b8f972e093157cc55185841db9ad33fa332a641 (diff)
downloadcpython-9f3bdcb643623e07497af2fc35f0496c2302f1be.zip
cpython-9f3bdcb643623e07497af2fc35f0496c2302f1be.tar.gz
cpython-9f3bdcb643623e07497af2fc35f0496c2302f1be.tar.bz2
bpo-23451: Fix socket deprecation warnings in socketmodule.c (#2318)
* bpo-23451: Fix WSASocket and WSADuplicateSocket deprecation warnings * bpo-23451: Add backwards compatibility note about socket share/fromshare * bpo-23451: Fixed `WSAAddressToString`/`WSAStringToAddress` deprecation warnings * bpo-23451: Use `inet_pton`/`inet_ntop` instead of `WSAAddressToString`/`WSAStringToAddress` * bpo-23451: Move `HAVE_INET_PTON` from _socket.vcxproj to pyconfig.h * bpo-23451: Add SUPPRESS_DEPRECATED_CALL to socketmodule.c * bpo-23451: Add a NEWS.d entry * bpo-23451: Corrected NEWS.d entry
Diffstat (limited to 'Doc/whatsnew')
-rw-r--r--Doc/whatsnew/3.7.rst4
1 files changed, 4 insertions, 0 deletions
diff --git a/Doc/whatsnew/3.7.rst b/Doc/whatsnew/3.7.rst
index c75d769..023d0a1 100644
--- a/Doc/whatsnew/3.7.rst
+++ b/Doc/whatsnew/3.7.rst
@@ -451,6 +451,10 @@ Changes in the Python API
* The :attr:`struct.Struct.format` type is now :class:`str` instead of
:class:`bytes`. (Contributed by Victor Stinner in :issue:`21071`.)
+* Due to internal changes in :mod:`socket` you won't be able to
+ :func:`socket.fromshare` a socket :func:`~socket.socket.share`-ed in older
+ Python versions.
+
CPython bytecode changes
------------------------