Skip to content

Commit 69dc0c5

Browse files
committed
Add hexversion to list of safe sys names (SF bug 621447).
Bug fix candidate.
1 parent 3bd6fde commit 69dc0c5

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
@@ -143,7 +143,7 @@ class RExec(ihooks._Verbose):
143143
'stat', 'times', 'uname', 'getpid', 'getppid',
144144
'getcwd', 'getuid', 'getgid', 'geteuid', 'getegid')
145145

146-
ok_sys_names = ('ps1', 'ps2', 'copyright', 'version',
146+
ok_sys_names = ('ps1', 'ps2', 'copyright', 'version', 'hexversion',
147147
'platform', 'exit', 'maxint')
148148

149149
nok_builtin_names = ('open', 'file', 'reload', '__import__')

0 commit comments

Comments
 (0)