mirror of
https://github.com/python/cpython.git
synced 2025-09-29 11:45:57 +00:00
Add notes for porting issues related to pickles.
This commit is contained in:
parent
662bad868e
commit
5b4a54c5d5
1 changed files with 5 additions and 0 deletions
|
@ -541,3 +541,8 @@ that may require changes to your code:
|
||||||
Got:
|
Got:
|
||||||
2.718281828459045
|
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.
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue