From: Guido van Rossum Date: Wed, 22 Oct 1997 20:56:32 +0000 (+0000) Subject: Add pcre to the list of safe modules. X-Git-Tag: v1.5b1~163 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=426916e50e1209d8ecc12678855dc531863a48c5;p=thirdparty%2FPython%2Fcpython.git Add pcre to the list of safe modules. --- diff --git a/Lib/rexec.py b/Lib/rexec.py index a548e24348eb..c181d4350dcc 100644 --- a/Lib/rexec.py +++ b/Lib/rexec.py @@ -133,7 +133,7 @@ class RExec(ihooks._Verbose): ok_builtin_modules = ('audioop', 'array', 'binascii', 'cmath', 'errno', 'imageop', 'marshal', 'math', 'md5', 'operator', - 'parser', 'regex', 'rotor', 'select', + 'parser', 'regex', 'pcre', 'rotor', 'select', 'strop', 'struct', 'time') ok_posix_names = ('error', 'fstat', 'listdir', 'lstat', 'readlink',