summaryrefslogtreecommitdiffstats
path: root/Misc/NEWS.d
diff options
context:
space:
mode:
authorZackery Spytz <zspytz@gmail.com>2020-10-29 09:44:35 (GMT)
committerGitHub <noreply@github.com>2020-10-29 09:44:35 (GMT)
commitdf59273c7a384ea8c890fa8e9b80c92825df841c (patch)
treea2d465e633a7d73df8741923d8901f0f0411f09e /Misc/NEWS.d
parent4173320920706b49a004bdddd8d7108e8984e3fc (diff)
downloadcpython-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/NEWS.d')
-rw-r--r--Misc/NEWS.d/next/Library/2020-04-21-17-18-33.bpo-34204.9wXTtY.rst2
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``.