diff options
author | Zackery Spytz <zspytz@gmail.com> | 2020-10-29 09:44:35 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-10-29 09:44:35 (GMT) |
commit | df59273c7a384ea8c890fa8e9b80c92825df841c (patch) | |
tree | a2d465e633a7d73df8741923d8901f0f0411f09e /Misc | |
parent | 4173320920706b49a004bdddd8d7108e8984e3fc (diff) | |
download | cpython-df59273c7a384ea8c890fa8e9b80c92825df841c.zip cpython-df59273c7a384ea8c890fa8e9b80c92825df841c.tar.gz cpython-df59273c7a384ea8c890fa8e9b80c92825df841c.tar.bz2 |
bpo-34204: Use pickle.DEFAULT_PROTOCOL in shelve (GH-19639)
Use pickle.DEFAULT_PROTOCOL (currently 5) in shelve instead of a
hardcoded 3.
Diffstat (limited to 'Misc')
-rw-r--r-- | Misc/NEWS.d/next/Library/2020-04-21-17-18-33.bpo-34204.9wXTtY.rst | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Misc/NEWS.d/next/Library/2020-04-21-17-18-33.bpo-34204.9wXTtY.rst b/Misc/NEWS.d/next/Library/2020-04-21-17-18-33.bpo-34204.9wXTtY.rst new file mode 100644 index 0000000..bce6d39 --- /dev/null +++ b/Misc/NEWS.d/next/Library/2020-04-21-17-18-33.bpo-34204.9wXTtY.rst @@ -0,0 +1,2 @@ +The :mod:`shelve` module now uses :data:`pickle.DEFAULT_PROTOCOL` by default +instead of :mod:`pickle` protocol ``3``. |