From: Fred Drake Date: Fri, 22 Jun 2001 18:19:16 +0000 (+0000) Subject: Add sha and _sre to the list of allowed built-in modules. X-Git-Tag: v2.2a3~1471 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=a2d848e99c3369d7a7ca7a429bd7ac258411fb63;p=thirdparty%2FPython%2Fcpython.git Add sha and _sre to the list of allowed built-in modules. --- diff --git a/Lib/rexec.py b/Lib/rexec.py index cb397ce75c96..307c03832def 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',