Another idea would be exploit the fact that we know most of the root objects (e.g. sys.modules and the current stack of frames). I haven't figured out a good use for this knowledge though. Neil