commit | eeb64287f1e735ead3eced61804cca81452cff79 | [log] [tgz] |
---|---|---|
author | Guido van Rossum <guido@python.org> | Thu Jul 09 13:52:38 1998 +0000 |
committer | Guido van Rossum <guido@python.org> | Thu Jul 09 13:52:38 1998 +0000 |
tree | c3196a26ba016f1f15a80335ebd264651f2ade2f | |
parent | f029548ac207ecf48373b90b24ccbcc42cf9d1ba [diff] |
(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().)