]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Add more names to ok_sys_names, including hexversion; otherwise the
authorGuido van Rossum <guido@python.org>
Tue, 19 Nov 2002 19:22:25 +0000 (19:22 +0000)
committerGuido van Rossum <guido@python.org>
Tue, 19 Nov 2002 19:22:25 +0000 (19:22 +0000)
sre module and everything using it (e.g. re and glob) won't work.

Lib/rexec.py

index 0966d1278935230a8c4589c231f29b3ea58f57a4..52e0c32aa11617e34b35cd4c4bf50466bb959979 100644 (file)
@@ -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__')