Index: marshal.c =================================================================== RCS file: /cvsroot/python/python/dist/src/Python/marshal.c,v retrieving revision 1.64 diff -c -r1.64 marshal.c *** marshal.c 2001/06/18 22:08:13 1.64 --- marshal.c 2001/08/25 07:27:37 *************** *** 553,559 **** return v; case TYPE_CODE: ! { int argcount = r_short(p); int nlocals = r_short(p); int stacksize = r_short(p); --- 553,565 ---- return v; case TYPE_CODE: ! if (PyEval_GetRestricted()) { ! PyErr_SetString(PyExc_RuntimeError, ! "cannot unmarshal code objects in " ! "restricted execution mode"); ! return NULL; ! } ! else { int argcount = r_short(p); int nlocals = r_short(p); int stacksize = r_short(p);