]> granicus.if.org Git - python/commitdiff
Add notes for porting issues related to pickles.
authorRaymond Hettinger <python@rcn.com>
Tue, 9 Jun 2009 21:07:46 +0000 (21:07 +0000)
committerRaymond Hettinger <python@rcn.com>
Tue, 9 Jun 2009 21:07:46 +0000 (21:07 +0000)
Doc/whatsnew/3.1.rst

index 290cd5c842aa2e786ea73cfae350c2f92665faaf..30b3f242a0e94b693c4bb339fa90f60eff380337 100644 (file)
@@ -541,3 +541,8 @@ that may require changes to your code:
     Got:
         2.718281828459045
     **********************************************************************
+
+* The automatic name remapping in the pickle module for protocol 2 or lower can
+  make Python 3.1 pickles unreadable in Python 3.0.  One solution is to use
+  protocol 3.  Another solution is to set the *fix_imports* option to **False**.
+  See the discussion above for more details.