Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
cpython
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
cpython
Commits
111c7b90
Commit
111c7b90
authored
Jan 18, 2016
by
Serhiy Storchaka
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Issue #26013: Added compatibility with broken protocol 2 pickles created
in old Python 3 versions (3.4.3 and lower).
parent
084f7e40
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
0 deletions
+10
-0
Lib/_compat_pickle.py
Lib/_compat_pickle.py
+7
-0
Misc/NEWS
Misc/NEWS
+3
-0
No files found.
Lib/_compat_pickle.py
View file @
111c7b90
...
@@ -177,6 +177,13 @@ IMPORT_MAPPING.update({
...
@@ -177,6 +177,13 @@ IMPORT_MAPPING.update({
'DocXMLRPCServer'
:
'xmlrpc.server'
,
'DocXMLRPCServer'
:
'xmlrpc.server'
,
'SimpleHTTPServer'
:
'http.server'
,
'SimpleHTTPServer'
:
'http.server'
,
'CGIHTTPServer'
:
'http.server'
,
'CGIHTTPServer'
:
'http.server'
,
# For compatibility with broken pickles saved in old Python 3 versions
'UserDict'
:
'collections'
,
'UserList'
:
'collections'
,
'UserString'
:
'collections'
,
'whichdb'
:
'dbm'
,
'StringIO'
:
'io'
,
'cStringIO'
:
'io'
,
})
})
REVERSE_IMPORT_MAPPING
.
update
({
REVERSE_IMPORT_MAPPING
.
update
({
...
...
Misc/NEWS
View file @
111c7b90
...
@@ -44,6 +44,9 @@ Core and Builtins
...
@@ -44,6 +44,9 @@ Core and Builtins
Library
Library
-------
-------
- Issue #26013: Added compatibility with broken protocol 2 pickles created
in old Python 3 versions (3.4.3 and lower).
- Issue #25850: Use cross-compilation by default for 64-bit Windows.
- Issue #25850: Use cross-compilation by default for 64-bit Windows.
- Issue #17633: Improve zipimport'
s
support
for
namespace
packages
.
- Issue #17633: Improve zipimport'
s
support
for
namespace
packages
.
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment