PEP 574: Retitle "Alternatives" to "Rejected alternatives" (#696)

This commit is contained in:
Antoine Pitrou 2018-07-06 17:37:02 +02:00 committed by GitHub
parent 5232173ad6
commit 6482422d75
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 6 additions and 3 deletions

View File

@ -359,8 +359,11 @@ This won't happen with the traditional ``pickle`` API (i.e. without passing
is serialized inside the pickle stream with a copy.
Alternatives
============
Rejected alternatives
=====================
Using the existing persistent load interface
--------------------------------------------
The ``pickle`` persistence interface is a way of storing references to
designated objects in the pickle stream while handling their actual
@ -414,7 +417,7 @@ Open questions
Should ``buffer_callback`` take a single buffers or a sequence of buffers?
* Taking a single buffer would allow returning a boolean indicating whether
the given buffer is serialized in-band or out-of-band.
the given buffer should be serialized in-band or out-of-band.
* Taking a sequence of buffers is potentially more efficient by reducing
function call overhead.