From 69dc0c5bf5aff342afb4fa35c44dc726e2cd772f Mon Sep 17 00:00:00 2001 From: Jeremy Hylton Date: Fri, 11 Oct 2002 15:51:29 +0000 Subject: Add hexversion to list of safe sys names (SF bug 621447). Bug fix candidate. --- Lib/rexec.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Lib/rexec.py b/Lib/rexec.py index 081fe27..4db442e 100644 --- a/Lib/rexec.py +++ b/Lib/rexec.py @@ -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__') -- cgit v0.12