diff options
author | Jeremy Hylton <jeremy@alum.mit.edu> | 2002-10-11 15:51:29 (GMT) |
---|---|---|
committer | Jeremy Hylton <jeremy@alum.mit.edu> | 2002-10-11 15:51:29 (GMT) |
commit | 69dc0c5bf5aff342afb4fa35c44dc726e2cd772f (patch) | |
tree | 68824c1f015bb06e4f40799cac37551ca045417b | |
parent | 3bd6fde4e36bac98d9dab6060bf8791ca99929b5 (diff) | |
download | cpython-69dc0c5bf5aff342afb4fa35c44dc726e2cd772f.zip cpython-69dc0c5bf5aff342afb4fa35c44dc726e2cd772f.tar.gz cpython-69dc0c5bf5aff342afb4fa35c44dc726e2cd772f.tar.bz2 |
Add hexversion to list of safe sys names (SF bug 621447).
Bug fix candidate.
-rw-r--r-- | Lib/rexec.py | 2 |
1 files changed, 1 insertions, 1 deletions
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__') |