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
d38a7eee
Commit
d38a7eee
authored
Nov 24, 2013
by
Alexandre Vassalotti
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove code path in cpickle that does not exist in pickle.
parent
0a2a8dc2
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
7 deletions
+1
-7
Modules/_pickle.c
Modules/_pickle.c
+1
-7
No files found.
Modules/_pickle.c
View file @
d38a7eee
...
...
@@ -3584,13 +3584,7 @@ save(PicklerObject *self, PyObject *obj, int pers_save)
}
else
if
(
type
==
&
PyFunction_Type
)
{
status
=
save_global
(
self
,
obj
,
NULL
);
if
(
status
<
0
&&
PyErr_ExceptionMatches
(
PickleError
))
{
/* fall back to reduce */
PyErr_Clear
();
}
else
{
goto
done
;
}
goto
done
;
}
/* XXX: This part needs some unit tests. */
...
...
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