[Python-Dev] Removing PendingDeprecationWarning

Antoine Pitrou solipsis at pitrou.net
Mon Mar 25 08:51:05 EDT 2019


On Mon, 25 Mar 2019 21:53:07 +1000
Nick Coghlan <ncoghlan at gmail.com> wrote:

> On Mon, 25 Mar 2019 at 14:39, Inada Naoki <songofacandy at gmail.com> wrote:
> > We have many ways to deprecation:
> >
> > * Document only deprecation (no warning) -- no actual removal is planned.
> > * FutureWarning -- to warn end users.
> > * DeprecationWarning -- to warn Python developers.
> > * PendingDeprecationWarning -- to warn Python developers.  
> 
> The key difference between the last two:
> 
> * DeprecationWarning: the decision has already been made, you have
> little chance of getting the deprecation reversed
> * PendingDeprecationWarning: full deprecation is being considered, now
> is the time to get in touch if you'd like to avoid full deprecation

Are people actually aware of this difference?  Personally I am (was)
not.

Regards

Antoine.




More information about the Python-Dev mailing list