mirror of
https://github.com/python/cpython.git
synced 2025-08-04 00:48:58 +00:00
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:
parent
e85ee8d815
commit
d68f5171eb
7 changed files with 48 additions and 16 deletions
|
@ -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}}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue