File tree 1 file changed +5
-1
lines changed
1 file changed +5
-1
lines changed Original file line number Diff line number Diff line change @@ -136,7 +136,7 @@ The module :mod:`pickletools` contains tools for analyzing data streams
136
136
generated by :mod: `pickle `. :mod: `pickletools ` source code has extensive
137
137
comments about opcodes used by pickle protocols.
138
138
139
- There are currently 5 different protocols which can be used for pickling.
139
+ There are currently 6 different protocols which can be used for pickling.
140
140
The higher the protocol used, the more recent the version of Python needed
141
141
to read the pickle produced.
142
142
@@ -160,6 +160,10 @@ to read the pickle produced.
160
160
Refer to :pep: `3154 ` for information about improvements brought by
161
161
protocol 4.
162
162
163
+ * Protocol version 5 was added in Python 3.8. It adds support for out-of-band
164
+ data and speedup for in-band data. Refer to :pep: `574 ` for information about
165
+ improvements brought by protocol 5.
166
+
163
167
.. note ::
164
168
Serialization is a more primitive notion than persistence; although
165
169
:mod: `pickle ` reads and writes file objects, it does not handle the issue of
You can’t perform that action at this time.
0 commit comments