]> granicus.if.org Git - python/commitdiff
Fix cPickle breakage due to last-minute change to the name of the 'long' type
authorGuido van Rossum <guido@python.org>
Sun, 14 Jan 2007 04:02:16 +0000 (04:02 +0000)
committerGuido van Rossum <guido@python.org>
Sun, 14 Jan 2007 04:02:16 +0000 (04:02 +0000)
(it's not called 'int' :-).

BROKEN_TESTS
Modules/cPickle.c

index f45d333b98592f330d501a9210c3afdabfc2de75..8814591f73048b41097997d155bc44dbd71e9c25 100644 (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 -- ???
index 4c55428817d8e6a84bc6197e768350a30229c4c0..98ab500aa32dd5f51615d6b3abb1d5fd36827df8 100644 (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;