From: Jeremy Hylton Date: Fri, 11 Oct 2002 15:51:29 +0000 (+0000) Subject: Add hexversion to list of safe sys names (SF bug 621447). X-Git-Tag: v2.3c1~3815 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=69dc0c5bf5aff342afb4fa35c44dc726e2cd772f;p=thirdparty%2FPython%2Fcpython.git Add hexversion to list of safe sys names (SF bug 621447). Bug fix candidate. --- diff --git a/Lib/rexec.py b/Lib/rexec.py index 081fe27ec586..4db442e2b101 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__')