]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Add hexversion to list of safe sys names (SF bug 621447).
authorJeremy Hylton <jeremy@alum.mit.edu>
Fri, 11 Oct 2002 15:51:29 +0000 (15:51 +0000)
committerJeremy Hylton <jeremy@alum.mit.edu>
Fri, 11 Oct 2002 15:51:29 +0000 (15:51 +0000)
Bug fix candidate.

Lib/rexec.py

index 081fe27ec5864b9887e3e04dfe2991e0d11c6c88..4db442e2b1019d800d61ca7438a5c7f14a017d6c 100644 (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__')