Message360497
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. |
|
Date |
User |
Action |
Args |
2020-01-22 18:40:02 | mark.dickinson | set | recipients:
+ mark.dickinson, pitrou, docs@python |
2020-01-22 18:40:01 | mark.dickinson | set | messageid: <1579718401.91.0.32620424207.issue39426@roundup.psfhosted.org> |
2020-01-22 18:40:01 | mark.dickinson | link | issue39426 messages |
2020-01-22 18:40:01 | mark.dickinson | create | |
|