mirror of https://github.com/python/cpython
Add pcre to the list of safe modules.
This commit is contained in:
parent
f7a8b45d71
commit
426916e50e
|
@ -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',
|
||||
|
|
Loading…
Reference in New Issue