Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | (1) Added a sys.exc_info() emulation. (It returns None for the traceback.) | Guido van Rossum | 1998-07-09 | 1 | -15/+57 |
| | | | | | | | (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().) | ||||
* | For completeness, add a dummy load_package() method to RHooks. It | Guido van Rossum | 1998-06-29 | 1 | -0/+1 |
| | | | | | should never be called, so this isn't really needed, but this signifies that rexec now supports packages -- because ihooks does. | ||||
* | Add the __doc__ string from the original module on copy_none(). | Guido van Rossum | 1998-06-09 | 1 | -1/+3 |
| | |||||
* | A few lines were indented using tabs instead of spaces -- fix them. | Guido van Rossum | 1998-03-26 | 1 | -178/+178 |
| | |||||
* | Add pcre to the list of safe modules. | Guido van Rossum | 1997-10-22 | 1 | -1/+1 |
| | |||||
* | Alas, I have to restore 'marshal', since it is needed by the new | Guido van Rossum | 1997-04-25 | 1 | -2/+1 |
| | | | | | cPickle-compatible pickle, and pickle must be importable in restricted mode. I guess I'll have to make marshal safe. | ||||
* | Removed 'marshal' from the list of "ok" built-in functions -- the | Guido van Rossum | 1997-03-21 | 1 | -1/+1 |
| | | | | | | unmarshalling code is actually rather naive and can easily be caused to crash by feeding it invalid data. This should be fixed in the marshal module, but I don't have the time to fix it now :-( | ||||
* | Make sure ok_builtin_modules, ok_dynamic_modules and | Guido van Rossum | 1996-12-12 | 1 | -4/+4 |
| | | | | builtin_module_names are always tuples. | ||||
* | Don't mix stdout/stderr. | Guido van Rossum | 1996-10-02 | 1 | -2/+2 |
| | |||||
* | Don't die if an ok file method (e.g. fileno) doesn't exist. | Guido van Rossum | 1996-09-30 | 1 | -1/+1 |
| | |||||
* | 1. Correct typo in FileWrapper.close() (fix by AMK). | Guido van Rossum | 1996-09-25 | 1 | -6/+10 |
| | | | | | 2. New trusted built-in modules cmath, errno, operator, parser. 3. Corrected bogus s_apply() -- the new one actually works (reported by AMK). | ||||
* | delattr() can raise AttributeError, not KeyError. | Guido van Rossum | 1996-08-20 | 1 | -2/+2 |
| | | | | Use keyword arg to set verbose flag in test func. | ||||
* | Fixed restore_files(); added reset_files(); made these more flexible. | Guido van Rossum | 1996-06-28 | 1 | -8/+31 |
| | |||||
* | fix typo in load_dynamic | Guido van Rossum | 1996-05-28 | 1 | -1/+1 |
| | |||||
* | Fix some obsolete names comments. | Guido van Rossum | 1996-05-28 | 1 | -12/+53 |
| | | | | | | | | | | | | | Change RHooks() interface to not require a 'rexec' instance argument; added set_rexec() method instead (which must be called by the RExec instance using this RHooks instance). Support dynamic loading of modules, at least for those modules that are ok built-in modules. Added new interfaces set_trusted_path() and load_dynamic() to RExec class (the default trusted path consists of all absolute pathnames in sys.path). Change copy_except() to actually try to delete the exceptions. | ||||
* | make sure the path ends in a slash in reload() | Guido van Rossum | 1995-08-11 | 1 | -1/+1 |
| | |||||
* | fix reload use of __filename__ | Guido van Rossum | 1995-08-10 | 1 | -1/+2 |
| | |||||
* | add module binascii; add r_unload/s_unload; don't change 'rb' to 'r' in open | Guido van Rossum | 1995-08-09 | 1 | -2/+9 |
| | |||||
* | added sys.std files, read-only open, reload | Guido van Rossum | 1995-08-07 | 1 | -3/+104 |
| | |||||
* | new package support, import hooks, restricted execution support | Guido van Rossum | 1995-08-04 | 1 | -164/+197 |
| | |||||
* | use imp.new_module(), not new.module(); and /usr/local | Guido van Rossum | 1995-06-22 | 1 | -4/+4 |
| | |||||
* | allow safe_import to be called with up to 4 args and check for . in name | Guido van Rossum | 1995-03-02 | 1 | -1/+3 |
| | |||||
* | evolution | Guido van Rossum | 1995-01-17 | 1 | -16/+4 |
| | |||||
* | new files | Guido van Rossum | 1995-01-12 | 1 | -0/+184 |