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
905a97d4
Commit
905a97d4
authored
Jan 18, 2016
by
Serhiy Storchaka
Browse files
Options
Browse Files
Download
Plain Diff
Issue #26013: Added compatibility with broken protocol 2 pickles created
in old Python 3 versions (3.4.3 and lower).
parents
75ed7082
111c7b90
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 @
905a97d4
...
...
@@ -177,6 +177,13 @@ IMPORT_MAPPING.update({
'DocXMLRPCServer'
:
'xmlrpc.server'
,
'SimpleHTTPServer'
:
'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
({
...
...
Misc/NEWS
View file @
905a97d4
...
...
@@ -131,6 +131,9 @@ Core and Builtins
Library
-------
- Issue #26013: Added compatibility with broken protocol 2 pickles created
in old Python 3 versions (3.4.3 and lower).
- Issue #26129: Deprecated accepting non-integers in grp.getgrgid().
- Issue #25850: Use cross-compilation by default for 64-bit Windows.
...
...
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