[Python-checkins] (no subject)

Łukasz Langa webhook-mailer at python.org
Sun Jun 9 08:47:21 EDT 2019




To: python-checkins at python.org
Subject: bpo-36785: PEP 574 What's New entry (#13931)
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0

https://github.com/python/cpython/commit/c879ff247ae1b67a790ff98d2d59145302cd=
4e4e
commit: c879ff247ae1b67a790ff98d2d59145302cd4e4e
branch: master
author: Antoine Pitrou <antoine at python.org>
committer: =C5=81ukasz Langa <lukasz at langa.pl>
date: 2019-06-09T14:47:15+02:00
summary:

bpo-36785: PEP 574 What's New entry (#13931)

files:
M Doc/whatsnew/3.8.rst

diff --git a/Doc/whatsnew/3.8.rst b/Doc/whatsnew/3.8.rst
index 99bb793830bc..e2f9ce8dd6e5 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>`.
=20
    Some notable items not yet covered here:
=20
-   * :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`.)
=20
=20
+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
 =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
=20



More information about the Python-checkins mailing list