summaryrefslogtreecommitdiffstats
path: root/Lib/rexec.py
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>1997-10-22 20:56:32 (GMT)
committerGuido van Rossum <guido@python.org>1997-10-22 20:56:32 (GMT)
commit426916e50e1209d8ecc12678855dc531863a48c5 (patch)
tree3f9e99a711ecb442c21c38c7dc03e35cbd211c53 /Lib/rexec.py
parentf7a8b45d71b4808f11a6abed26c096014a8e58d2 (diff)
downloadcpython-426916e50e1209d8ecc12678855dc531863a48c5.zip
cpython-426916e50e1209d8ecc12678855dc531863a48c5.tar.gz
cpython-426916e50e1209d8ecc12678855dc531863a48c5.tar.bz2
Add pcre to the list of safe modules.
Diffstat (limited to 'Lib/rexec.py')
-rw-r--r--Lib/rexec.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/rexec.py b/Lib/rexec.py
index a548e24..c181d43 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',