summaryrefslogtreecommitdiffstats
path: root/Misc/NEWS
diff options
context:
space:
mode:
authorNeal Norwitz <nnorwitz@gmail.com>2002-05-29 15:54:55 (GMT)
committerNeal Norwitz <nnorwitz@gmail.com>2002-05-29 15:54:55 (GMT)
commitd68f5171ebb2f3404548c846523e9e43308a4130 (patch)
treee04245cfbfd036be2c9f8b30c09459ddbbe27710 /Misc/NEWS
parente85ee8d815ed5fa3cbbc2770cd09bcbaf605182c (diff)
downloadcpython-d68f5171ebb2f3404548c846523e9e43308a4130.zip
cpython-d68f5171ebb2f3404548c846523e9e43308a4130.tar.gz
cpython-d68f5171ebb2f3404548c846523e9e43308a4130.tar.bz2
As discussed on python-dev, add a mechanism to indicate features
that are in the process of deprecation (PendingDeprecationWarning). Docs could be improved.
Diffstat (limited to 'Misc/NEWS')
-rw-r--r--Misc/NEWS6
1 files changed, 6 insertions, 0 deletions
diff --git a/Misc/NEWS b/Misc/NEWS
index 85da0d3..2c7646d 100644
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -6,6 +6,12 @@ Type/class unification and new-style classes
Core and builtins
+- A new warning PendingDeprecationWarning was added to provide
+ direction on features which are in the process of being deprecated.
+ The warning will not be printed by default. To see the pending
+ deprecations, use -Walways::PendingDeprecationWarning::
+ as a command line option or warnings.filterwarnings() in code.
+
- A new type object, 'string', is added. This is a common base type
for 'str' and 'unicode', and can be used instead of
types.StringTypes, e.g. to test whether something is "a string":