[Python-checkins] python/dist/src/Lib rexec.py,1.46,1.47
gvanrossum@users.sourceforge.net
gvanrossum@users.sourceforge.net
Mon, 06 Jan 2003 07:43:17 -0800
Update of /cvsroot/python/python/dist/src/Lib
In directory sc8-pr-cvs1:/tmp/cvs-serv16227
Modified Files:
rexec.py
Log Message:
Sabotage rexec.py. It is not safe since the new-style classes.
Index: rexec.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Lib/rexec.py,v
retrieving revision 1.46
retrieving revision 1.47
diff -C2 -d -r1.46 -r1.47
*** rexec.py 16 Dec 2002 13:11:55 -0000 1.46
--- rexec.py 6 Jan 2003 15:43:14 -0000 1.47
***************
*** 181,184 ****
--- 181,187 ----
"""
+
+ raise RuntimeError, "This code is not secure in Python 2.2 and 2.3"
+
ihooks._Verbose.__init__(self, verbose)
# XXX There's a circular reference here: