commit | 898c915a31633b9df3294382c0499d2ebca4fb2f | [log] [tgz] |
---|---|---|
author | Guido van Rossum <guido@python.org> | Thu Sep 04 22:12:34 1997 +0000 |
committer | Guido van Rossum <guido@python.org> | Thu Sep 04 22:12:34 1997 +0000 |
tree | 07ddee24c621f45ecdbcfe2c14eb313ccc5b97b1 | |
parent | d807b7589b6dc26057e9754358335183ce9f7a7a [diff] |
Added some try-excepts so that it can be imported in restricted mode (though some type names are undefined in that case, e.g. CodeType (inaccessible), FileType (not always accessible), and TracebackType and FrameType (inaccessible).