]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
bpo-34204: Use pickle.DEFAULT_PROTOCOL in shelve (GH-19639)
authorZackery Spytz <zspytz@gmail.com>
Thu, 29 Oct 2020 09:44:35 +0000 (03:44 -0600)
committerGitHub <noreply@github.com>
Thu, 29 Oct 2020 09:44:35 +0000 (02:44 -0700)
commitdf59273c7a384ea8c890fa8e9b80c92825df841c
treea2d465e633a7d73df8741923d8901f0f0411f09e
parent4173320920706b49a004bdddd8d7108e8984e3fc
bpo-34204: Use pickle.DEFAULT_PROTOCOL in shelve (GH-19639)

Use pickle.DEFAULT_PROTOCOL (currently 5) in shelve instead of a
hardcoded 3.
Doc/library/shelve.rst
Doc/whatsnew/3.10.rst
Lib/shelve.py
Lib/test/test_shelve.py
Misc/NEWS.d/next/Library/2020-04-21-17-18-33.bpo-34204.9wXTtY.rst [new file with mode: 0644]