diff options
author | Neal Norwitz <nnorwitz@gmail.com> | 2002-05-29 15:54:55 (GMT) |
---|---|---|
committer | Neal Norwitz <nnorwitz@gmail.com> | 2002-05-29 15:54:55 (GMT) |
commit | d68f5171ebb2f3404548c846523e9e43308a4130 (patch) | |
tree | e04245cfbfd036be2c9f8b30c09459ddbbe27710 /Doc/whatsnew/whatsnew23.tex | |
parent | e85ee8d815ed5fa3cbbc2770cd09bcbaf605182c (diff) | |
download | cpython-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 'Doc/whatsnew/whatsnew23.tex')
-rw-r--r-- | Doc/whatsnew/whatsnew23.tex | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/Doc/whatsnew/whatsnew23.tex b/Doc/whatsnew/whatsnew23.tex index ffa89ef..d47fe9a 100644 --- a/Doc/whatsnew/whatsnew23.tex +++ b/Doc/whatsnew/whatsnew23.tex @@ -342,6 +342,15 @@ strings \samp{True} and \samp{False} instead of \samp{1} and \samp{0}. %\end{itemize} +%\begin{PendingDeprecationWarning} +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:: on the command line +or warnings.filterwarnings(). +%\end{PendingDeprecationWarning} + + %====================================================================== \section{Specialized Object Allocator (pymalloc)\label{section-pymalloc}} |