]> granicus.if.org Git - python/commit
(1) Added a sys.exc_info() emulation. (It returns None for the traceback.)
authorGuido van Rossum <guido@python.org>
Thu, 9 Jul 1998 13:52:38 +0000 (13:52 +0000)
committerGuido van Rossum <guido@python.org>
Thu, 9 Jul 1998 13:52:38 +0000 (13:52 +0000)
commiteeb64287f1e735ead3eced61804cca81452cff79
treec3196a26ba016f1f15a80335ebd264651f2ade2f
parentf029548ac207ecf48373b90b24ccbcc42cf9d1ba
(1) Added a sys.exc_info() emulation.  (It returns None for the traceback.)

(2) Made the test script a bit fancier -- you can now use it to run
arbitrary scripts in restricted mode, and it will do the right thing.
(The interactive mode is still pretty lame; should integrate this with
code.interact().)
Lib/rexec.py