Add hexversion to list of safe sys names (SF bug 621447).

Bug fix candidate.
This commit is contained in:
Jeremy Hylton 2002-10-11 15:51:29 +00:00
parent 3bd6fde4e3
commit 69dc0c5bf5
1 changed files with 1 additions and 1 deletions

View File

@ -143,7 +143,7 @@ class RExec(ihooks._Verbose):
'stat', 'times', 'uname', 'getpid', 'getppid',
'getcwd', 'getuid', 'getgid', 'geteuid', 'getegid')
ok_sys_names = ('ps1', 'ps2', 'copyright', 'version',
ok_sys_names = ('ps1', 'ps2', 'copyright', 'version', 'hexversion',
'platform', 'exit', 'maxint')
nok_builtin_names = ('open', 'file', 'reload', '__import__')