summaryrefslogtreecommitdiffstats
path: root/Misc
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>2001-05-15 02:14:44 (GMT)
committerGuido van Rossum <guido@python.org>2001-05-15 02:14:44 (GMT)
commit2e0a654f6edeb58bef3cccffa42c2a236117a88c (patch)
treee70191f495b8aae610804a78f8cf678fb9cf019c /Misc
parent9cba64318e81e6b1ae6fd9e9b9b134fbb9658d61 (diff)
downloadcpython-2e0a654f6edeb58bef3cccffa42c2a236117a88c.zip
cpython-2e0a654f6edeb58bef3cccffa42c2a236117a88c.tar.gz
cpython-2e0a654f6edeb58bef3cccffa42c2a236117a88c.tar.bz2
Add warnings to the strop module, for to those functions that really
*are* obsolete; three variables and the maketrans() function are not (yet) obsolete. Add a compensating warnings.filterwarnings() call to test_strop.py. Add this to the NEWS.
Diffstat (limited to 'Misc')
-rw-r--r--Misc/NEWS4
1 files changed, 4 insertions, 0 deletions
diff --git a/Misc/NEWS b/Misc/NEWS
index d69c45f..f9f1855 100644
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -87,6 +87,10 @@ Core
Library
+- strop is now *really* obsolete (this was announced before with 1.6),
+ and issues DeprecationWarning when used (except for the four items
+ that are still imported into string.py).
+
- Cookie.py now sorts key+value pairs by key in output strings.
- pprint.isrecursive(object) didn't correctly identify recursive objects.