From: Guido van Rossum Date: Thu, 8 Oct 1998 01:45:47 +0000 (+0000) Subject: The previous checkin contained an experiment of Greg Stein's that wasn't X-Git-Tag: v1.5.2a2~93 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=5bd893b1ea660d542e6d2df93af0b237b3d34e79;p=python The previous checkin contained an experiment of Greg Stein's that wasn't meant for checkin, and which broke marshal.loads(). --- diff --git a/Python/marshal.c b/Python/marshal.c index df7f51c867..ddccc89c23 100644 --- a/Python/marshal.c +++ b/Python/marshal.c @@ -743,7 +743,7 @@ marshal_loads(self, args) PyObject *v; char *s; int n; - if (!PyArg_Parse(args, "r#", &s, &n)) + if (!PyArg_Parse(args, "s#", &s, &n)) return NULL; rf.fp = NULL; rf.str = args;