Skip to content

Commit 2980236

Browse files
bpo-36785: PEP 574 What's New entry (GH-13931)
(cherry picked from commit c879ff2) Co-authored-by: Antoine Pitrou <[email protected]>
1 parent 284daea commit 2980236

File tree

1 file changed

+17
-1
lines changed

1 file changed

+17
-1
lines changed

Doc/whatsnew/3.8.rst

Lines changed: 17 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,6 @@ For full details, see the :ref:`changelog <changelog>`.
5454

5555
Some notable items not yet covered here:
5656

57-
* :pep:`574` - Pickle protocol 5 with out-of-band data buffer support
5857
* :pep:`578` - Runtime audit hooks for potentially sensitive operations
5958
* ``python -m asyncio`` runs a natively async REPL
6059
* ...
@@ -261,6 +260,23 @@ See :pep:`590` for a full description.
261260
(Contributed by Jeroen Demeyer and Mark Shannon in :issue:`36974`.)
262261

263262

263+
Pickle protocol 5 with out-of-band data buffers
264+
-----------------------------------------------
265+
266+
When :mod:`pickle` is used to transfer large data between Python processes
267+
in order to take advantage of multi-core or multi-machine processing,
268+
it is important to optimize the transfer by reducing memory copies, and
269+
possibly by applying custom techniques such as data-dependent compression.
270+
271+
The :mod:`pickle` protocol 5 introduces support for out-of-band buffers
272+
where :pep:`3118`-compatible data can be transmitted separately from the
273+
main pickle stream, at the discretion of the communication layer.
274+
275+
See :pep:`574` for a full description.
276+
277+
(Contributed by Antoine Pitrou in :issue:`36785`.)
278+
279+
264280
Other Language Changes
265281
======================
266282

0 commit comments

Comments
 (0)