Update of /cvsroot/python/python/dist/src/Lib In directory usw-pr-cvs1:/tmp/cvs-serv19612 Modified Files: rexec.py Log Message: Allow restricted code to get byteorder, getdefaultencoding(), getrefcount(), maxunicode, and version_info. Index: rexec.py =================================================================== RCS file: /cvsroot/python/python/dist/src/Lib/rexec.py,v retrieving revision 1.44 retrieving revision 1.45 diff -C2 -d -r1.44 -r1.45 *** rexec.py 11 Oct 2002 16:05:07 -0000 1.44 --- rexec.py 11 Oct 2002 16:20:45 -0000 1.45 *************** *** 144,149 **** 'getcwd', 'getuid', 'getgid', 'geteuid', 'getegid') ! ok_sys_names = ('copyright', 'exit', 'hexversion', 'maxint', 'platform', ! 'ps1', 'ps2', 'version') nok_builtin_names = ('open', 'file', 'reload', '__import__') --- 144,150 ---- 'getcwd', 'getuid', 'getgid', 'geteuid', 'getegid') ! ok_sys_names = ('byteorder', 'copyright', 'exit', 'getdefaultencoding', ! 'getrefcount', 'hexversion', 'maxint', 'maxunicode', ! 'platform', 'ps1', 'ps2', 'version', 'version_info') nok_builtin_names = ('open', 'file', 'reload', '__import__')
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4