RuntimeError: cannot unmarshal code objects in restricted execution mode

Jeff Epler jepler at unpythonic.net
Thu Mar 11 09:42:02 EST 2004


You need to determine why the builtins in main_dict are not the same as
the interpreter's builtins -- this is the reason for "restricted
execution mode".

./Objects/frameobject.c:        f->f_restricted = (builtins != tstate->interp->builtins);

Jeff




More information about the Python-list mailing list