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 mark.dickinson
Recipients docs@python, mark.dickinson, pitrou
Date 2020-01-22.18:40:01
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1579718401.91.0.32620424207.issue39426@roundup.psfhosted.org>
In-reply-to
Content
From the pickle.Pickler docstring:

> The optional *protocol* argument tells the pickler to use the given
> protocol; supported protocols are 0, 1, 2, 3 and 4.  The default
> protocol is 3; a backward-incompatible protocol designed for Python 3.

That's out of date since Python 3.8, where the default protocol is 4 and the highest available is 5. For future-proofing, it may be worth rewording the docstring to refer directly to the DEFAULT_PROTOCOL and HIGHEST_PROTOCOL constants.
History
Date User Action Args
2020-01-22 18:40:02mark.dickinsonsetrecipients: + mark.dickinson, pitrou, docs@python
2020-01-22 18:40:01mark.dickinsonsetmessageid: <1579718401.91.0.32620424207.issue39426@roundup.psfhosted.org>
2020-01-22 18:40:01mark.dickinsonlinkissue39426 messages
2020-01-22 18:40:01mark.dickinsoncreate