Add pcre to the list of safe modules.

This commit is contained in:
Guido van Rossum 1997-10-22 20:56:32 +00:00
parent f7a8b45d71
commit 426916e50e
1 changed files with 1 additions and 1 deletions

View File

@ -133,7 +133,7 @@ class RExec(ihooks._Verbose):
ok_builtin_modules = ('audioop', 'array', 'binascii', ok_builtin_modules = ('audioop', 'array', 'binascii',
'cmath', 'errno', 'imageop', 'cmath', 'errno', 'imageop',
'marshal', 'math', 'md5', 'operator', 'marshal', 'math', 'md5', 'operator',
'parser', 'regex', 'rotor', 'select', 'parser', 'regex', 'pcre', 'rotor', 'select',
'strop', 'struct', 'time') 'strop', 'struct', 'time')
ok_posix_names = ('error', 'fstat', 'listdir', 'lstat', 'readlink', ok_posix_names = ('error', 'fstat', 'listdir', 'lstat', 'readlink',