summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFred Drake <fdrake@acm.org>2001-06-22 18:19:16 (GMT)
committerFred Drake <fdrake@acm.org>2001-06-22 18:19:16 (GMT)
commita2d848e99c3369d7a7ca7a429bd7ac258411fb63 (patch)
treea72b60e51a81b7c578c2ad99e8846457b957d0fc
parentf66cb5d0eb79083ceaa4b6a1eac6928ce2ebb1e7 (diff)
downloadcpython-a2d848e99c3369d7a7ca7a429bd7ac258411fb63.zip
cpython-a2d848e99c3369d7a7ca7a429bd7ac258411fb63.tar.gz
cpython-a2d848e99c3369d7a7ca7a429bd7ac258411fb63.tar.bz2
Add sha and _sre to the list of allowed built-in modules.
-rw-r--r--Lib/rexec.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/rexec.py b/Lib/rexec.py
index cb397ce..307c038 100644
--- a/Lib/rexec.py
+++ b/Lib/rexec.py
@@ -123,7 +123,7 @@ class RExec(ihooks._Verbose):
'cmath', 'errno', 'imageop',
'marshal', 'math', 'md5', 'operator',
'parser', 'regex', 'pcre', 'rotor', 'select',
- 'strop', 'struct', 'time')
+ 'sha', '_sre', 'strop', 'struct', 'time')
ok_posix_names = ('error', 'fstat', 'listdir', 'lstat', 'readlink',
'stat', 'times', 'uname', 'getpid', 'getppid',