mirror of
https://github.com/python/cpython
synced 2026-09-28 07:18:17 +03:00
Fix cPickle breakage due to last-minute change to the name of the 'long' type
(it's not called 'int' :-).
This commit is contained in:
parent
ab18684b60
commit
52d01787dc
2 changed files with 2 additions and 3 deletions
|
|
@ -1,4 +1,3 @@
|
|||
test_descr -- can't pickle int objects?!?!
|
||||
test_pickletools -- ???
|
||||
test_pickletools -- Test probably needs to be fixed
|
||||
test_socket -- OverflowError: can't convert negative value to unsigned int
|
||||
test_sqlite -- ???
|
||||
|
|
|
|||
|
|
@ -2191,7 +2191,7 @@ save(Picklerobject *self, PyObject *args, int pers_save)
|
|||
goto finally;
|
||||
}
|
||||
break;
|
||||
case 'l':
|
||||
case 'i':
|
||||
if (type == &PyLong_Type) {
|
||||
res = save_long(self, args);
|
||||
goto finally;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue