[Python-checkins] r54784 - python/trunk/Lib/Bastion.py python/trunk/Lib/rexec.py
georg.brandl
python-checkins at python.org
Thu Apr 12 09:01:21 CEST 2007
Author: georg.brandl
Date: Thu Apr 12 09:01:19 2007
New Revision: 54784
Modified:
python/trunk/Lib/Bastion.py
python/trunk/Lib/rexec.py
Log:
Patch #1698951: clarify deprecation message in rexec and Bastion
Modified: python/trunk/Lib/Bastion.py
==============================================================================
--- python/trunk/Lib/Bastion.py (original)
+++ python/trunk/Lib/Bastion.py Thu Apr 12 09:01:19 2007
@@ -97,7 +97,7 @@
"""
- raise RuntimeError, "This code is not secure in Python 2.2 and 2.3"
+ raise RuntimeError, "This code is not secure in Python 2.2 and later"
# Note: we define *two* ad-hoc functions here, get1 and get2.
# Both are intended to be called in the same way: get(name).
Modified: python/trunk/Lib/rexec.py
==============================================================================
--- python/trunk/Lib/rexec.py (original)
+++ python/trunk/Lib/rexec.py Thu Apr 12 09:01:19 2007
@@ -181,7 +181,7 @@
"""
- raise RuntimeError, "This code is not secure in Python 2.2 and 2.3"
+ raise RuntimeError, "This code is not secure in Python 2.2 and later"
ihooks._Verbose.__init__(self, verbose)
# XXX There's a circular reference here:
More information about the Python-checkins
mailing list