classification
Title: Pickle protocol v 5 needs to be documented
Type: Stage: patch review
Components: Documentation Versions: Python 3.8
process
Status: open Resolution:
Dependencies: Superseder:
Assigned To: docs@python Nosy List: Dima.Tisnek, docs@python, nanjekyejoannah, pitrou
Priority: normal Keywords: patch

Created on 2019-10-06 23:51 by Dima.Tisnek, last changed 2019-10-08 06:46 by Dima.Tisnek.

Pull Requests
URL Status Linked Edit
PR 16639 open Dima.Tisnek, 2019-10-08 06:46
Messages (1)
msg354054 - (view) Author: Dima Tisnek (Dima.Tisnek) * Date: 2019-10-06 23:51
Python 3.8 brings new pickle protocol, version 5.
It's not documented.

```
(venv) … ~/m/proj> python
Python 3.7.4 (v3.7.4:e09359112e, Jul  8 2019, 14:54:52)
[Clang 6.0 (clang-600.0.57)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> import pickle
>>> pickle.HIGHEST_PROTOCOL
4
>>> ^D
(venv) … ~/m/proj> python3.8
Python 3.8.0rc1 (v3.8.0rc1:34214de6ab, Oct  1 2019, 12:56:49)
[Clang 6.0 (clang-600.0.57)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> import pickle
>>> pickle.HIGHEST_PROTOCOL
5
>>> ^D
```

Yet there's no mention of "protocol version 5" at:

https://github.com/python/cpython/blob/master/Doc/library/pickle.rst
https://docs.python.org/3.9/library/pickle.html#data-stream-format
https://docs.python.org/3.8/library/pickle.html#data-stream-format
History
Date User Action Args
2019-10-18 15:13:33pablogsallinkissue38518 superseder
2019-10-08 06:46:40Dima.Tisneksetkeywords: + patch
stage: patch review
pull_requests: + pull_request16225
2019-10-08 00:42:49xtreaksetnosy: + pitrou
2019-10-07 18:04:19nanjekyejoannahsetnosy: + nanjekyejoannah
2019-10-06 23:51:13Dima.Tisnekcreate