From 954b3f75c7d799b61da8426a2d94e819a01a182b Mon Sep 17 00:00:00 2001 From: Guido van Rossum Date: Tue, 19 Nov 2002 19:22:25 +0000 Subject: Add more names to ok_sys_names, including hexversion; otherwise the sre module and everything using it (e.g. re and glob) won't work. --- Lib/rexec.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/Lib/rexec.py b/Lib/rexec.py index 0966d12..52e0c32 100644 --- a/Lib/rexec.py +++ b/Lib/rexec.py @@ -143,8 +143,9 @@ class RExec(ihooks._Verbose): 'stat', 'times', 'uname', 'getpid', 'getppid', 'getcwd', 'getuid', 'getgid', 'geteuid', 'getegid') - ok_sys_names = ('ps1', 'ps2', 'copyright', 'version', - 'platform', 'exit', 'maxint') + ok_sys_names = ('byteorder', 'copyright', 'exit', 'getdefaultencoding', + 'getrefcount', 'hexversion', 'maxint', 'maxunicode', + 'platform', 'ps1', 'ps2', 'version', 'version_info') nok_builtin_names = ('open', 'file', 'reload', '__import__') -- cgit v0.12