summaryrefslogtreecommitdiffstats
path: root/Doc/whatsnew
diff options
context:
space:
mode:
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>2019-06-15 16:02:57 (GMT)
committerGitHub <noreply@github.com>2019-06-15 16:02:57 (GMT)
commit298023633fde5cd60926a2923a01d896550cbf84 (patch)
tree709a3a8b14e4c6fb5642a996bfb66a54ae538d13 /Doc/whatsnew
parent284daeade210d3aac049f4278a1fb76d19e6d78a (diff)
downloadcpython-298023633fde5cd60926a2923a01d896550cbf84.zip
cpython-298023633fde5cd60926a2923a01d896550cbf84.tar.gz
cpython-298023633fde5cd60926a2923a01d896550cbf84.tar.bz2
bpo-36785: PEP 574 What's New entry (GH-13931)
(cherry picked from commit c879ff247ae1b67a790ff98d2d59145302cd4e4e) Co-authored-by: Antoine Pitrou <antoine@python.org>
Diffstat (limited to 'Doc/whatsnew')
-rw-r--r--Doc/whatsnew/3.8.rst18
1 files changed, 17 insertions, 1 deletions
diff --git a/Doc/whatsnew/3.8.rst b/Doc/whatsnew/3.8.rst
index 21ad112..1312a74 100644
--- a/Doc/whatsnew/3.8.rst
+++ b/Doc/whatsnew/3.8.rst
@@ -54,7 +54,6 @@ For full details, see the :ref:`changelog <changelog>`.
Some notable items not yet covered here:
- * :pep:`574` - Pickle protocol 5 with out-of-band data buffer support
* :pep:`578` - Runtime audit hooks for potentially sensitive operations
* ``python -m asyncio`` runs a natively async REPL
* ...
@@ -261,6 +260,23 @@ See :pep:`590` for a full description.
(Contributed by Jeroen Demeyer and Mark Shannon in :issue:`36974`.)
+Pickle protocol 5 with out-of-band data buffers
+-----------------------------------------------
+
+When :mod:`pickle` is used to transfer large data between Python processes
+in order to take advantage of multi-core or multi-machine processing,
+it is important to optimize the transfer by reducing memory copies, and
+possibly by applying custom techniques such as data-dependent compression.
+
+The :mod:`pickle` protocol 5 introduces support for out-of-band buffers
+where :pep:`3118`-compatible data can be transmitted separately from the
+main pickle stream, at the discretion of the communication layer.
+
+See :pep:`574` for a full description.
+
+(Contributed by Antoine Pitrou in :issue:`36785`.)
+
+
Other Language Changes
======================