Skip to content

Commit e328753

Browse files
authored
bpo-22005: Document the reality of pickle compatibility. (GH-11054)
1 parent 25648d0 commit e328753

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

Doc/library/pickle.rst

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,9 @@ The :mod:`pickle` module differs from :mod:`marshal` in several significant ways
7171
:file:`.pyc` files, the Python implementers reserve the right to change the
7272
serialization format in non-backwards compatible ways should the need arise.
7373
The :mod:`pickle` serialization format is guaranteed to be backwards compatible
74-
across Python releases.
74+
across Python releases provided a compatible pickle protocol is chosen and
75+
pickling and unpickling code deals with Python 2 to Python 3 type differences
76+
if your data is crossing that unique breaking change language boundary.
7577

7678
Comparison with ``json``
7779
^^^^^^^^^^^^^^^^^^^^^^^^

0 commit comments

Comments
 (0)