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:
Guido van Rossum 2007-01-14 04:02:16 +00:00
parent ab18684b60
commit 52d01787dc
2 changed files with 2 additions and 3 deletions

View file

@ -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 -- ???

View file

@ -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;