Maybe guarded_exec should even consider "list construction" to
be "unsafe." Consider:
guarded_exec('list=["oops"]*10000, list[9999]=list',...)
might create a large object in the server process that would
never be garbage collected until the process terminates
(because it's circular). If this kind of hole is allowed
I would suggest only using guarded_exec in a temporary sub-process.
Thanks again for the fun I'm having with Python.
Aaron Watters
Department of Computer and Information Sciences
New Jersey Institute of Technology
University Heights
Newark, NJ 07102
phone (201)596-2666
fax (201)596-5777
home phone (908)545-3367
email: aaron@vienna.njit.edu