Index: Modules/cPickle.c =================================================================== --- Modules/cPickle.c (revision 47136) +++ Modules/cPickle.c (working copy) @@ -3631,6 +3631,9 @@ PyObject *tp, *v, *tb; PyErr_Fetch(&tp, &v, &tb); + /* v can be NULL if there was a KeyboardInterrupt */ + if (v == NULL) + v = Py_None; if ((r=PyTuple_Pack(3,v,cls,args))) { Py_XDECREF(v); v=r;