As discussed on python-dev, add a mechanism to indicate features

that are in the process of deprecation (PendingDeprecationWarning).
Docs could be improved.
This commit is contained in:
Neal Norwitz 2002-05-29 15:54:55 +00:00
parent e85ee8d815
commit d68f5171eb
7 changed files with 48 additions and 16 deletions

View file

@ -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}}