diff options
author | Guido van Rossum <guido@python.org> | 1998-07-09 13:52:38 (GMT) |
---|---|---|
committer | Guido van Rossum <guido@python.org> | 1998-07-09 13:52:38 (GMT) |
commit | eeb64287f1e735ead3eced61804cca81452cff79 (patch) | |
tree | c3196a26ba016f1f15a80335ebd264651f2ade2f /Include | |
parent | f029548ac207ecf48373b90b24ccbcc42cf9d1ba (diff) | |
download | cpython-eeb64287f1e735ead3eced61804cca81452cff79.zip cpython-eeb64287f1e735ead3eced61804cca81452cff79.tar.gz cpython-eeb64287f1e735ead3eced61804cca81452cff79.tar.bz2 |
(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().)
Diffstat (limited to 'Include')
0 files changed, 0 insertions, 0 deletions