MacDonald wrote: >> I'm not sure using a non-portable API to run the code under a "custom >> debugger" qualifies as a "portable implementation", though... > > Everything used is a part of the standard library, which is portable, > AFAICT. Could you say specifically what is non-portable?
from the documentation: Note: The settrace() function is intended only for implementing debuggers, profilers, coverage tools and the like. Its behavior is part of the implementation platform, rather than part of the language definition, and thus may not be available in all Python implementations. </F> -- http://mail.python.org/mailman/listinfo/python-list