Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit a2d848e

Browse files
committed
Add sha and _sre to the list of allowed built-in modules.
1 parent f66cb5d commit a2d848e

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Lib/rexec.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,7 @@ class RExec(ihooks._Verbose):
123123
'cmath', 'errno', 'imageop',
124124
'marshal', 'math', 'md5', 'operator',
125125
'parser', 'regex', 'pcre', 'rotor', 'select',
126-
'strop', 'struct', 'time')
126+
'sha', '_sre', 'strop', 'struct', 'time')
127127

128128
ok_posix_names = ('error', 'fstat', 'listdir', 'lstat', 'readlink',
129129
'stat', 'times', 'uname', 'getpid', 'getppid',

0 commit comments

Comments
 (0)