This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author Dima.Tisnek
Recipients Dima.Tisnek, docs@python
Date 2019-10-06.23:51:13
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1570405873.92.0.178526679084.issue38388@roundup.psfhosted.org>
In-reply-to
Content
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-06 23:51:13Dima.Tisneksetrecipients: + Dima.Tisnek, docs@python
2019-10-06 23:51:13Dima.Tisneksetmessageid: <1570405873.92.0.178526679084.issue38388@roundup.psfhosted.org>
2019-10-06 23:51:13Dima.Tisneklinkissue38388 messages
2019-10-06 23:51:13Dima.Tisnekcreate